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

style: docs

parent 70ea0dbe
No related branches found
No related tags found
1 merge request!20Preparations for ORM-less scheduling
......@@ -63,7 +63,8 @@ class TimeslotFilter:
@staticmethod
def filter_24h(timeslots):
"""Filter timeslot of the last 24 hours.
"""
Filter timeslot of the last 24 hours.
Remove entries 24h in the future and 12 hours in the past.
Note: This might influence resuming (in case of a crash)
......@@ -86,7 +87,8 @@ class TimeslotFilter:
@staticmethod
def filter_past(timeslots):
"""Filter old timeslots.
"""
Filter old timeslots.
Remove all timeslot dictionaries from the past, except the one which is
currently playing.
......@@ -111,7 +113,7 @@ class TimeslotFilter:
class M3UPlaylistProcessor:
"""
Renders a M3U Playlist as a engine compatible playlist dictionary.
Render a M3U Playlist as a engine compatible playlist dictionary.
"""
config = None
......@@ -176,7 +178,7 @@ class M3UPlaylistProcessor:
class TimeslotRenderer:
"""
Displays current and next timeslots in ASCII for maintenance and debugging.
Display current and next timeslots in ASCII for maintenance and debugging.
"""
logger = None
......@@ -340,7 +342,7 @@ class TimeslotRenderer:
def preprocess_entries(self, entries, cut_oos):
"""
Analyse and marks entries which are going to be cut or excluded.
Analyse and mark entries which are going to be cut or excluded.
Args:
entries ([PlaylistEntry]): The playlist entries to be scheduled for playout
......
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