diff --git a/modules/core/engine.py b/modules/core/engine.py index 44245a59f86771d1b96a351da955438caca62cd3..4f9e9f67b2f3b889035c36162df107b37ad8ad68 100644 --- a/modules/core/engine.py +++ b/modules/core/engine.py @@ -658,63 +658,6 @@ class SoundSystem(): # Channel Type - Filesystem # - # FIXME - # def playlist_activate(self, playlist, cue_in=0.0): - # """ - # Activates a new Playlist. - - # Args: - # new_entry (Playlist): The playlist to be played - # cue_in (Float): Start/cue-time of track (For some reason Liquidsoap doesn't acknowledge this yet) - - # Raises: - # (LQConnectionError): In case connecting to LiquidSoap isn't possible - # """ - - # # Grab the actual active entry - # # active_entry = self.scheduler.get_active_entry() - - # # Set default channel, if no previous track is available - # current_channel = self.active_channel[ChannelType.FILESYSTEM] - - # # if active_entry: - # # current_channel = active_entry.channel - - # try: - # # FIXME clearing creates some serious timing issues - # # To activate this feature we'd need some more sophisticated - # # Liquidsoap logic, such as >= 2 filesystem channels and - # # possiblities to pause pre-queued channels or cleaning them - # # after each completed schedule. - - # # self.enable_transaction() - # # #if active_entry: - # # #self.fade_out(active_entry) - # # res = self.playlist_clear(current_channel) - # # self.logger.info("Clear Queue Response: "+res) - # # self.disable_transaction() - - - # self.enable_transaction() - # self.mixer_channels_reload() - # # self.fade_in(playlist.entries[0]) - # # FIXME rework - # for new_entry in playlist.entries: - # if current_channel == new_entry.channel: - # self.activate_same_channel(new_entry, cue_in) - # else: - # self.activate_different_channel(new_entry, cue_in, current_channel) - # current_channel = new_entry.channel - - # self.disable_transaction() - - # # self.logger.critical("FIXME: Implement TrackService") - # #self.scheduler.update_track_service(new_entry) - # except LQConnectionError: - # # we already caught and handled this error in __send_lqc_command__, - # # but we do not want to execute this function further and pass the exception - # pass - def playlist_push(self, channel, uri):