ThePornDatabase / namer

Renames adult video files so that the plex/jellyfin plugins and stash script will match without user input. Runs server or command mode.
https://theporndb.net
171 stars 26 forks source link

Optional file validation to check for download corruption #165

Closed Darklyter closed 5 months ago

Darklyter commented 1 year ago

Would be very handy to have Namer perform a ffmpeg file validation and toss any failing items into something like a "/badmedia" folder for later re-download.

FFMPEG can do a quick recod to null to check for errors, a sample command line is 'ffmpeg -v error -i file.avi -f null - 2>error.log'. For more explanation please refer to https://superuser.com/questions/100288/how-can-i-check-the-integrity-of-a-video-file-avi-mpeg-mp4 (as an example)