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.
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.