jpillora / media-sort

Automatically organise your movies and tv series
MIT License
121 stars 21 forks source link

Move all matching .srt files #33

Closed justcallmelarry closed 2 years ago

justcallmelarry commented 2 years ago

Since loads of applications (including Plex) allow for several .srt files with different languages/options (.en.srt, .forced.srt, etc) I thought it would be nice if those files could be included as subs when sorting.

RIght now the logic is that it checks the original directory of the result, and checks adjacent files for files that start with the name of the file, and end with .srt. Any files that match the above criteria is considered a subtitle file that belongs with the result in question, and is moved along with it.

jpillora commented 2 years ago

taking all srts works if you’re sorting one show/movie, but becomes very error prone if you have a directory full of media