From 2f840f879b8d92f906500608e4605c84a05038d3 Mon Sep 17 00:00:00 2001 From: aj Date: Sun, 25 Aug 2019 16:30:46 +0100 Subject: [PATCH] fixed argument selection --- alarm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alarm.py b/alarm.py index a5c76fd..6425b6e 100644 --- a/alarm.py +++ b/alarm.py @@ -59,7 +59,7 @@ if __name__ == '__main__': else: 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_volume(data['alarm']['volume'])