PotcFdk / youtube-sync

Script for maintaining an up-to-date offline mirror of a YouTube channel.
Apache License 2.0
44 stars 13 forks source link

Save the quality of a video and re-download if a better one is available #7

Open PotcFdk opened 8 years ago

PotcFdk commented 8 years ago

New YouTube videos might take some time to encode. Thus, we might have, for example, downloaded the 360p version whereas we can later fetch the 1080p version.

Currently, an existing video file is left untouched. If we save the video's quality at fetch time, we could later compare this with the live version and decide to throw away our copy in order to replace it with the better version.

PotcFdk commented 5 years ago

+ consider using --download-archive where possible (https://github.com/PotcFdk/youtube-sync/pull/13#issuecomment-485268353)