FAQ  •  Register  •  Login

Automatic transliteration for some clients

<<

kot

User avatar

DLNA master

Posts: 104

Joined: Sat Jan 08, 2011 5:36 pm

Post Thu Jan 27, 2011 2:59 pm

Automatic transliteration for some clients

A good half of my media collection is labeled/named/described in Cyrillics (Ukrainian and Russian). I'm sure, a lot of other users use non-ISO-8859-1 characters too.

Unfortunately, some devices -- like my Integra receiver -- turn all such characters into question-marks :(

Could Serviio automatically transliterate text for such clients -- although I'd prefer to see the Cyrillics, seeing Latin-transliteration is better than trying to distinguish one string of question marks from another? I know, iconv library has the functionality. There's got to be something in Java as well...

Thanks!
FreeBSD port of Serviio is now in the tree. Please, try using it and share your experience.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Jan 27, 2011 3:30 pm

Re: Automatic transliteration for some clients

Can you give an example?
<<

kot

User avatar

DLNA master

Posts: 104

Joined: Sat Jan 08, 2011 5:36 pm

Post Mon Feb 07, 2011 3:33 pm

Re: Automatic transliteration for some clients

zip wrote:Can you give an example?

The title of a Ukrainian band is "Воплі Відоплясова" (in Ukrainian Cyrillic). My two TVs (a Sony and an LG) show the Cyrillics just fine, but the receiver (by Integra) renders all Cyrillic characters as question marks: "????? ???????????".

For such devices there could be a special profiles.xml flag, that would cause Serviio to transliterate that string into "Vopli Vidoplyasova". Something like this, perhaps:
  Code:
<MenuCharsets>
    <!-- List charsets, the device can display -->
    <MenuCharset>ISO-8859-15</MenuCharset>
</MenuCharsets>
Then, when a string is found, that can not be converted from UTF-8 to any of the charsets supported by the device, Serviio could transliterate into the US-ASCII (or into the first of the charsets-listed)...

ICU4J should be able to handle the actual transliteration for just about anything...

Does this make sense?
FreeBSD port of Serviio is now in the tree. Please, try using it and share your experience.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Feb 07, 2011 4:37 pm

Re: Automatic transliteration for some clients

yes it does, I would have thought that the setting would be in the console, not per profile
<<

kot

User avatar

DLNA master

Posts: 104

Joined: Sat Jan 08, 2011 5:36 pm

Post Mon Feb 07, 2011 4:55 pm

Re: Automatic transliteration for some clients

zip wrote:yes it does, I would have thought that the setting would be in the console, not per profile

My two TVs can render Cyrillics just fine... If the setting is not per profile, I'll be forced to choose between (ugly) translit on all and question marks on some devices.

I'd prefer it per device...
FreeBSD port of Serviio is now in the tree. Please, try using it and share your experience.

Return to Feature requests

Who is online

Users browsing this forum: No registered users and 23 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.