Find subtitles in folders? #7
Replies: 2 comments 7 replies
-
I'm a bit unsure what you mean? Do you mean to add functionality that would skip subtitles that have been processed already when it runs through a library? If that's the request then what is needed is to add some sort of persistence to the script that alter its behaviour depending on previous runs. I'm currently considering adding persistence through a database. If I end up doing it it will enable a lot of nice features to the script. skipping processed subtitles would be one of those features. It's not super trivial though. How do I detect that a subtitle have been processed already? I can't just look at the file name since you could have downloaded a new subtitle since I looked at it last time. I would basically have to run a hash of the file and compare it to the hash the file had when I looked at it last time. I'll probably end up adding a database to the script in order to further enhance usability. But since I want to be careful about not breaking how it currently handles I can't say when this will happen. I'm not sure how you get your subtitles but there might be ways around the issue you are trying to solve though other means. i.e you could use I'm glad you like the script! |
Beta Was this translation helpful? Give feedback.
-
Just wanted to say THANK YOU for such an awesome godsend script! The command I used: |
Beta Was this translation helpful? Give feedback.
-
Hey, thanks for a excellent script!
I was wondering if it's possible to set this up so that it searches for new subtitles in folder and subfolders? I realize that I'd probably set up a log file for already processed files. But maybe that's out of the scope for this solution?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions