11-10-2018, 07:03 PM
(11-10-2018, 02:12 PM)Tim Curtis Wrote: When you say "sending html requests to the player" do you mean sending commands to it via its web API?
http://moode/command?cmd=stop
http://moode/command?cmd=play
Yes. I'm using Python requests to do a setvol command in this case.
url = 'http://192.168.0.85/command/'
payload = {'cmd': 'setvol 15'}
response = requests.get(url, params=payload)