Closed Cookie-Monster-Coder closed 2 years ago
Do you find more than one episode in that season is corrupted?
imo an ideal solution would be to skip the episode and keep processing the season. There are already plenty of cases where intros can't be found for individual episodes but they can be found for the other episodes in the season.
Do you find more than one episode in that season is corrupted?
No, it was just one episode.
ideal solution would be to skip the episode and keep processing the season
Yeah, if that would be the easiest. Would it be possible to log the skip?
Yeah, if that would be the easiest. Would it be possible to log the skip?
Yeah I'll look intro this and it will be logged. I think I'll tweak the logging system one more time and add log prefixes that can be used to search the output with grep
. so for instance with a skipped episode it might be: Failed to process frames due to possible corruption for [filename] - ERROR - SKIPPED - CORRUPTED
.
Does that sound like it would be useful or overkill?
Yeah, that sound good! In my experience over logging is better than under logging.
Can you test the latest version against the problematic file(s) and see if you still have problems?
Can you test the latest version against the problematic file(s) and see if you still have problems?
I already replaced the bad file and I haven't found another yet. I'll reopen the issue if it errors out on a corrupt file again. Thank you for the fast fix!
Great. I saw you had issue with the docker images publishing in your fork because your username has uppercase letters. I just pushed a change to the workflow that should fix that by converting it to lowercase. Can you test it?
Yes, the docker images built and published perfectly, thank you!. https://github.com/Cookie-Monster-Coder/tv-intro-detection/actions/runs/2094462419
Since I have a large library, I am flipping the show's list and running a second scanner. Using a read only mergerfs mount to combine them for the skipper container. Seems to be running well.
Is your feature request related to a problem? Please describe. Having a corrupt file throws an error and restarts script.
Describe the solution you'd like Instead of auto restarting the script and having it reprocess the same corrupt file again (basically stuck in a loop), log the file that caused the issues in a new log file ex: error.log and either skip that season or series as a whole and move on to the next season/series.
User can the fix the files in error.log and the next time they launch the script it will reprocess that season.
This is going to be useful for people who have large library's.
Describe alternatives you've considered Creating a script using ffmpeg to find corrupt video file. This alone is waste full.
Additional context Add any other context or screenshots about the feature request here.