Godzil / Crunchy

Crunchy is capable of downloading anime episodes from the popular CrunchyRoll streaming service.
MIT License
95 stars 19 forks source link

Subtitles display as "Unknown" language #40

Closed Californ1a closed 6 years ago

Californ1a commented 7 years ago

I use Plex, and in order to get the subtitles to show the correct language in the dropdown list, I have to disable merge and manually edit the filenames to include ".en" at the end. The main issue with it displaying "Unknown" is that Plex won't automatically select that subtitle when it detects a foreign language audio track, so I have to either leave the subs merged and manually select the subtitle on every episode when I first watch it, or disable merge and manually rename all the subtitle files to include the language code. It would be much nicer if I could keep merge enabled and still have the language name displayed so Plex automatically selects it.

https://support.plex.tv/hc/en-us/articles/200471133-Adding-Local-Subtitles-to-Your-Media

Godzil commented 7 years ago

You can, easily, by using mkvpropedit set the subtitle languages:

mkvpropedit -q file.mkv --edit track:s1 --set language=eng

to set the subtitles to "English"

You can also set the audio track using

mkvpropedit -q file.mkv --edit track:a1 --set language=jpn

and can do both at the same time:

mkvpropedit -q file.mkv --edit track:a1 --set language=jpn --edit track:s1 --set language=eng

Godzil commented 7 years ago

Crunchy currently don't set these properties because I don't currently known the language of the subtitles, I have to explore a bit more how CR are providing subtitles to see if knowing the current language and/or select another one is possible.