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

refactor: remove obsolete playlist resolving

parent 89aa56d5
No related branches found
No related tags found
1 merge request!35ORM-less scheduling
......@@ -424,21 +424,6 @@ class AuraScheduler(threading.Thread):
self.logger.critical(f"Unknown content type for item {active_item}")
return
def resolve_playlist(self, timeslot: Timeslot):
"""
Retrieve the planned or default playlist for the given timeslot.
Args:
timeslot (Timeslot)
Returns:
(Dict, Playlist): A dictionary holding the playlist type and the resolved playlist
TODO refactor
"""
playlist_type, playlist = self.timetable.get_current_playlist(timeslot)
return (playlist_type, playlist)
def queue_programme(self):
"""
Queue the current programme.
......
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