vision.playout module¶
-
class
vision.playout.Playout(service, player_class=None)[source]¶ Bases:
object-
cue_next_program()[source]¶ Starts the next program
Set the next program with Playout.set_next_program
-
on_program_ended()[source]¶ - try:
- logging.debug(“Video ‘%s’ #%i ended with %.1fs left. ” % (
- self.playing_program.title, self.playing_program.media_id, self.player.seconds_until_end_of_playing_video()) )
pass
# TODO: Add proper exception/exceptionlogging except:
logging.warning(“Excepted while trying to log on_program_ended”)
-