That would work too.
Results 11 to 12 of 12
-
2021-01-09, 06:38 #11piCorePlayer a small player for the Raspberry Pi in RAM.
Homepage: https://www.picoreplayer.org
Please donate if you like the piCorePlayer
-
2021-01-09, 06:48 #12
- Join Date
- Apr 2014
- Posts
- 286
Code:import requests r = requests.get("http://192.168.1.29:10002/api/mix?playlist=Mijn%20favorieten&size=75") print r.content f = open("/mnt/PLAYLIST/Lekkere Muziek Mix.m3u", "w") f.write(r.content) f.close() import urllib urllib.urlopen("http://192.168.1.29:9000/status.html?p0=playlist&p1=shuffle&p2=0") urllib.urlopen("http://192.168.1.29:9000/status.html?p0=playlist&p1=play&p2=Lekkere%20Muziek%20Mix&player=b8:27:eb:cc:de:bd") urllib.urlopen("http://192.168.1.29:9000/status.html?p0=mixer&p1=volume&p2=50&player=b8:27:eb:cc:de:bd")