fixed argument selection
This commit is contained in:
parent
11f4ac7b56
commit
2f840f879b
2
alarm.py
2
alarm.py
@ -59,7 +59,7 @@ if __name__ == '__main__':
|
|||||||
else:
|
else:
|
||||||
playlisturi = data['alarm']['uri']
|
playlisturi = data['alarm']['uri']
|
||||||
|
|
||||||
network.play(playlisturi, network.get_device_id(data['alarm']['device_name']))
|
network.play(uri=playlisturi, deviceid=network.get_device_id(data['alarm']['device_name']))
|
||||||
|
|
||||||
network.set_shuffle(True)
|
network.set_shuffle(True)
|
||||||
network.set_volume(data['alarm']['volume'])
|
network.set_volume(data['alarm']['volume'])
|
||||||
|
Loading…
Reference in New Issue
Block a user