From 55b4101efc3be692e9547127def15dd462a687bb Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Sun, 25 Jul 2021 16:25:25 -0400 Subject: [PATCH] remove rows param from schedule api call --- tilderadio.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tilderadio.py b/tilderadio.py index edcd346..1d5e9e3 100644 --- a/tilderadio.py +++ b/tilderadio.py @@ -204,7 +204,7 @@ class Module(ModuleManager.BaseModule): @utils.kwarg("help", "show who's up next to stream") def upnext(self, event): js = utils.http.request( - AZURACAST_API_BASE + "/station/1/schedule?rows=1" + AZURACAST_API_BASE + "/station/1/schedule" ).json() if len(js) < 1: event["stdout"].write("nothing scheduled") @@ -226,7 +226,7 @@ class Module(ModuleManager.BaseModule): @utils.kwarg("help", "show who's up after the next to stream") def upnextnext(self, event): js = utils.http.request( - AZURACAST_API_BASE + "/station/1/schedule?rows=2" + AZURACAST_API_BASE + "/station/1/schedule" ).json() if len(js) < 1: event["stdout"].write("nothing scheduled")