[ ] at the moment, inside of handle_play, we are setting values in current_video_dict before the video even is downloaded/starts playing (see below). this should be done in download_and_play_video, right before we start the ffmpeg strea.
[ ] we also should stop the interlude in download_and_play_video, instead of where it is done now (below). the current logic means the tv is idle, no interlude playing while the video downloads.
handle_play
, we are setting values incurrent_video_dict
before the video even is downloaded/starts playing (see below). this should be done indownload_and_play_video
, right before we start the ffmpeg strea.https://github.com/SCE-Development/sce-tv/blob/b52e838e8cd4e3efcb7db7cb663a921e36b0e48e/server.py#L91
download_and_play_video
, instead of where it is done now (below). the current logic means the tv is idle, no interlude playing while the video downloads.https://github.com/SCE-Development/sce-tv/blob/b52e838e8cd4e3efcb7db7cb663a921e36b0e48e/server.py#L94