Closed Progeny42 closed 1 year ago
Ok, seems like you found the issue, but I'll make sure to fix the issue so the exception gets handled. Thank you 🙂
Always the weird edge cases! Thanks for the effort!
OK, this was actually an issue with how I parsed the file. if the last block was empty it failed to parse it correctly.
this should be fixed now. thank you for letting me know :)
Yes, that's all working now. Now I get Errors that many of the files are empty. Will have to do some manual tidy up to resolve that, but the crash is resolved. Thanks!
When performing a dry run on Scrubs (2001)
python3 config/subcleaner/subcleaner.py -r "tv/Scrubs (2001)"/ -n
episodetv/Scrubs (2001)/Season 04/Scrubs (2001) - S04E16 - My Quarantine [SDTV][AC3 2.0][MPEG2].en.srt
causes a crash, with the resulting Traceback:Subtitles are attached Scrubs (2001) - S04E16 - My Quarantine [SDTV][AC3 2.0][MPEG2].en.srt.txt
After checking the file, it appears that all the blocks are at
00:00:00,000 --> 00:00:00,000
, and it's actually empty of any content. Obviously a bad file.