Live subtitles

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Post Reply
SergioBigRed
Posts: 25
Joined: Fri Jun 08, 2012 9:40 am

Live subtitles

Post by SergioBigRed »

Hi,

I am very excited about this new feature but I wonder if I can have some more details on it.

I am Italian and I watch movie in english with english subtitles, therefore I activated it and I set as in attachment
Subtitles priority: en,it
audio-sub priority: *,eng;*,und;

However the folder is always empty...

Does this mean it can't find subtitles? I had a look at ums.conf but there are no info about engines or addresses...

Is there anything more I can find about it?

Thanks!

Sergio
Attachments
Untitled.jpg
Untitled.jpg (27.16 KiB) Viewed 6867 times
User avatar
SharkHunter
Developer
Posts: 648
Joined: Fri Jun 01, 2012 9:36 pm

Re: Live subtitles

Post by SharkHunter »

Yes most likely it doesn't find any matching subs.
I 'm not 100% sure but I think that OpenSubtiltes (which the subs are fetched from) uses the ISO639-2 standard for language codes. In plain English this means 3 letter codes instead of 2. So en should be eng and it should be ita etc.

Note to self make UMS translate between 2 and 3 codes like I do in Channels.

Otherwise upload the logs...

viewtopic.php?f=9&t=556
We reject: kings, presidents and voting.
We believe in: rough consensus and running code.
SergioBigRed
Posts: 25
Joined: Fri Jun 08, 2012 9:40 am

Re: Live subtitles

Post by SergioBigRed »

Changed the language code as you suggested and now it works perfectly! I had en,it from a previous install of PMS.

This is a major step forward, finding and downloading and renaming subtitles is a pain in the ass sometimes but with this is almost close to perfection! :D

Thanks again!
User avatar
SharkHunter
Developer
Posts: 648
Joined: Fri Jun 01, 2012 9:36 pm

Re: Live subtitles

Post by SharkHunter »

From the next release UMS will convert the lang codes to ISO639-2 internally no matter of what you entered. But as a workaround use the 3 letter version.
If you don't know what code to use look here:
http://www.loc.gov/standards/iso639-2/php/code_list.php
We reject: kings, presidents and voting.
We believe in: rough consensus and running code.
Post Reply