livestream_saver icon indicating copy to clipboard operation
livestream_saver copied to clipboard

Function to always download the most recent live from the channel if it is not detected by livestream_saver for some reason

Open JunioCalu opened this issue 1 year ago • 3 comments

I manage a channel and would like to always archive the most recent video posted in case they are not detected by livestream_saver for some reason, such as an internet connection drop. These videos can be either live type videos or non-upcoming type videos. Does livestreamsaver_saver already have this function implemented? Or would you have a code suggestion on how to do it?

JunioCalu avatar Aug 18 '23 00:08 JunioCalu

Not sure if I understand what you mean by

in case they are not detected by livestream_saver for some reason, such as an internet connection drop

I assume you mean you want to download the latest VOD displayed on the channel. If that's what you mean, that would be out of scope for this project, and you'd be better off using yt-dlp.

glubsy avatar Aug 19 '23 22:08 glubsy

Not sure if I understand what you mean by

in case they are not detected by livestream_saver for some reason, such as an internet connection drop

Maybe some way to keep a state file or a persistent database containing a list of videos from the channels already scanned by "livestream_saver" and another list containing the videos already downloaded, in case it is necessary to restart the livestream_saver process, with the purpose of resume a download, or a youtube channel scan.

JunioCalu avatar Aug 28 '23 13:08 JunioCalu

It should already resume downloading a live stream. But I agree some lightweight database might be something worth looking into for various reasons.

glubsy avatar Aug 28 '23 22:08 glubsy