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

Update yputube-dl when download is running #18104

Closed
hollysheep opened this issue Nov 7, 2018 · 1 comment
Closed

Update yputube-dl when download is running #18104

hollysheep opened this issue Nov 7, 2018 · 1 comment

Comments

@hollysheep
Copy link

@hollysheep hollysheep commented Nov 7, 2018

Hi,

i have a raspberry pi that starts some script via cron to check youtube channels for new videos. some of them are running once a day, some once a week and some check every 30min. today i had the problems, that some videos could not be downloaded because of a to old version of youtube-dl. normally the 'update script' is running 2 o'clock, maybe the todays update was released later. so i want to change the intervall for the update to hourly. but lets say youtube-dl starts downloading videos at 8:45 and the downloads takes 1 hour. at 9:00 an other script starts the update check and now there is a new version available. will there be a problem when the update was installed while the app downloaded a video? will the update failure or the download abort or both?

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Nov 7, 2018

If you haven't run new instance of youtube-dl after update then you're running the old version with all the consequences.

@dstftw dstftw closed this Nov 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.