Skip to content
Snippets Groups Projects
Commit 82df4649 authored by David Trattnig's avatar David Trattnig
Browse files

Fixed property name for start-timestamp.

parent d81d3db8
No related branches found
No related tags found
No related merge requests found
...@@ -79,7 +79,7 @@ class LiquidSoapInitThread(threading.Thread): ...@@ -79,7 +79,7 @@ class LiquidSoapInitThread(threading.Thread):
if channel == ScheduleEntryType.FILESYSTEM: if channel == ScheduleEntryType.FILESYSTEM:
# calc how many seconds were missed # calc how many seconds were missed
now_unix = time.mktime(datetime.datetime.now().timetuple()) 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 # and seek these seconds forward
if seconds_to_seek > 0: if seconds_to_seek > 0:
...@@ -112,4 +112,4 @@ class LiquidSoapInitThread(threading.Thread): ...@@ -112,4 +112,4 @@ class LiquidSoapInitThread(threading.Thread):
install_dir = self.liquidsoapcommunicator.config.get("install_dir") install_dir = self.liquidsoapcommunicator.config.get("install_dir")
self.liquidsoapcommunicator.playlist_push(install_dir + "/configuration/blank.flac") 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) # .. 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")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment