ohmybahgosh / YT-DLP-SCRIPTS

...Just a place for me to share my various YT-DLP & related bash scripts.
GNU General Public License v3.0
114 stars 23 forks source link

Add Checks to Re-Download Corrupt/Incorrect Episode Files For P+ #13

Closed DreadMcLaren closed 1 year ago

DreadMcLaren commented 2 years ago

Add checks to detect corrupt/incorrect episode files that are downloaded and attempt a re-download. Because P+ is known for looping audio/freezing video, this feature would be nice.

ohmybahgosh commented 2 years ago

I'll add some checks tomorrow

DreadMcLaren commented 2 years ago

Thank you!

DreadMcLaren commented 2 years ago

Any progress on this?

tomck commented 2 years ago

Most likely editing the script to add --hls-prefer-native may resolve it.

ytdl-org/youtube-dl#27972

There is a chance that won't work but people are saying using ffprobe and using that to compare the json length will let you see if the file came out wrong. See yt-dlp/yt-dlp#898. There is also a script that has already fixed that problem so possibly pulling the method they used to fix it would resolve it here, see Grandfather-Paradox/paramount-dl.

ohmybahgosh commented 2 years ago

My apologies everyone, I just had a lil baby boy a couple months ago and I'm just now getting my brain enough sleep to dive back in to these!

jschwalbe commented 1 year ago

Also curious about something like this. :)