From bf2b1a08de53a8080cf77c8e446a19274b2a631b Mon Sep 17 00:00:00 2001
From: David Trattnig <david@subsquare.at>
Date: Fri, 13 Oct 2023 09:57:25 +0200
Subject: [PATCH] refactor: remove obsolete playlist resolving

---
 src/aura_engine/scheduling/scheduler.py | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/src/aura_engine/scheduling/scheduler.py b/src/aura_engine/scheduling/scheduler.py
index 68731452..82b7ac2a 100644
--- a/src/aura_engine/scheduling/scheduler.py
+++ b/src/aura_engine/scheduling/scheduler.py
@@ -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.
-- 
GitLab