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

Fixe for method call. #43 #44

parent 4390fe07
Branches
No related tags found
No related merge requests found
......@@ -119,7 +119,7 @@ class TrackServiceHandler():
data["track_duration"] = 0
entry = self.playlog.resolve_entry(meta["filename"])
if entry:
# This is a playlog according to the scheduled playlist (normal or fallback)
data["track_num"] = entry.entry_num
......@@ -241,7 +241,7 @@ class Playlog:
"""
"""
if timeslot and self.previous_timeslot:
if self.previous_timeslot.get("schedule_start") == timeslot.get("schedule_start"):
if self.previous_timeslot.get("schedule_start") == timeslot.schedule_start:
return # Avoid overwrite by multiple calls in a row
data = {}
......@@ -296,8 +296,6 @@ class Playlog:
self.current_timeslot = data
def assign_fallback_playlist(self, data, timeslot):
"""
"""
......@@ -318,9 +316,6 @@ class Playlog:
data["fallback_type"] = FallbackType.STATION.id
def get_timeslots(self):
"""
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment