Tdarr_Plugins icon indicating copy to clipboard operation
Tdarr_Plugins copied to clipboard

[Tdarr_Plugin_rr01_drpeppershaker_extract_subs_to_SRT] Multiple English Subs

Open JSchloegel opened this issue 3 years ago • 2 comments

I don't know if it should be considered a 'Bug' or 'Feature request', but some movies and tv episodes have both regular subtitles and SDH, sometimes even for commentary. Would it be possible (as an option) for the plugin to check the Title field of the subtitle, scan for SDH, and extract that srt (and name it .lang.sdh.srt)? I tested on a file with both regular and SDH subtitles and it pulled the regular regardless of the Default flag or order of tracks.

Since I have no idea about complexity of the coding and such, I suppose ideal in my mind would be if it were to scan the Title field and ignore Languages (unless the assigned language is Undeterminied), if SDH is listed apply the proper SDH tag, if Commentary were listed perhaps put video.lang.Commentary.mkv (or whatever). Thanks for all the work that's gone into everything so far!

JSchloegel avatar Feb 24 '22 19:02 JSchloegel

Can I double this issue? I'm facing the same problem with multiple subtitles track with one language in a media file. This plugin will extract only one of them.

cookiestheone avatar Jun 13 '23 16:06 cookiestheone

Also running into the same issue. I did find someone who modified the script in this reddit thread.

Zeager0 avatar Aug 19 '23 04:08 Zeager0