From 82df4649c531d67b4c7db09c1dc0ae6a098624fa Mon Sep 17 00:00:00 2001 From: David Trattnig <david.trattnig@o94.at> Date: Thu, 21 Nov 2019 02:28:06 +0100 Subject: [PATCH] Fixed property name for start-timestamp. --- modules/communication/liquidsoap/initthread.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/communication/liquidsoap/initthread.py b/modules/communication/liquidsoap/initthread.py index f7bcd381..1079fd52 100644 --- a/modules/communication/liquidsoap/initthread.py +++ b/modules/communication/liquidsoap/initthread.py @@ -79,7 +79,7 @@ class LiquidSoapInitThread(threading.Thread): if channel == ScheduleEntryType.FILESYSTEM: # calc how many seconds were missed now_unix = time.mktime(datetime.datetime.now().timetuple()) - seconds_to_seek = now_unix - self.active_entry.entry_start_unix + seconds_to_seek = now_unix - self.active_entry.start_unix # and seek these seconds forward if seconds_to_seek > 0: @@ -112,4 +112,4 @@ class LiquidSoapInitThread(threading.Thread): install_dir = self.liquidsoapcommunicator.config.get("install_dir") self.liquidsoapcommunicator.playlist_push(install_dir + "/configuration/blank.flac") # .. or the radio fro stream (it is overwritten as soon as one http overtake is planned) - self.liquidsoapcommunicator.set_http_url("http://stream.fro.at/fro-128.ogg") + #self.liquidsoapcommunicator.set_http_url("http://stream.fro.at/fro-128.ogg") -- GitLab