fixed argument selection

This commit is contained in:
aj 2019-08-25 16:30:46 +01:00
parent 11f4ac7b56
commit 2f840f879b

View File

@ -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'])