Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
JunioCalu opened this issue Aug 18, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@JunioCalu
Copy link

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?

@glubsy
Copy link
Owner

glubsy commented Aug 19, 2023

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.

@JunioCalu
Copy link
Author

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.

@glubsy glubsy added the enhancement New feature or request label Aug 28, 2023
@glubsy
Copy link
Owner

glubsy commented Aug 28, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants