Re: [SlimDevices: Touch] Artist name & song title played by radio stations are not in Cyrillic

2017-08-04 Thread squeezebox_Fan

Hello Sergey,

What kind of NAS (CPU) do you use?

And is it possible, that you provide us the compiled version of the
patch?

I listen to Greek radio streams sometimes, so it might be helpful.

Thanks in advance.



*Controllers Hardware:* 1XTouch,2XRadio,1XBoom,1XSB3,ARCHOS
35HC,piCorePlayer
*Controllers Software:* squeezelite LINUX, Squeeze Player android
*Steuerung:* Squeeze Comander
*Plugins:* 'Dynamic Mix'
(http://www.hergest.demon.co.uk/Music/slim/DynamicMixPlugin.htm);
'Custom Browse' (http://wiki.slimdevices.com/index.php/Custom_Browse),
TrackStat; Custom Scan; 'MusicInfoSCR'
(http://www.herger.net/slim-plugins/detail.php@nr=446=slim-plugins);
SmartMIX; 'LazySearch' (http://www.hickinbottom.com/lazysearch) and many
more

LMS 7.9 (UBUNTU 10.04) und MusicIP Server nach folgender Anleitung:
http://powerforen.info/showthread.php?4902-Musikstreaming-mit-Avantgarde-Squezeeslave-ein-L%C3%B6sungsvorschlag=49347=1#post49347

squeezebox_Fan's Profile: http://forums.slimdevices.com/member.php?userid=63027
View this thread: http://forums.slimdevices.com/showthread.php?t=105686

___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


Re: [SlimDevices: Touch] Artist name & song title played by radio stations are not in Cyrillic

2016-06-03 Thread tals

Hi Michael!

Yesterday I updated 'Encode :: Detect' to 1.01 and performed a smoke
test playing different radio stations available from the list.
Here are the results:
1) Very seldom Cyrillic text displayed as mentioned in my first comment.
However, as soon as a new song appears the text is displayed correctly.
[See attachment]

20557

2) German/Czech/Slovakian/French etc. - OK
3) Greek - OK
4) Turkish - some characters displayed as **
5) Chinese / Arabic and similar - displayed as *[]*

Hope it helps.

---
Sergey


+---+
|Filename: seldom.jpg   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=20557|
+---+


tals's Profile: http://forums.slimdevices.com/member.php?userid=58935
View this thread: http://forums.slimdevices.com/showthread.php?t=105686

___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


Re: [SlimDevices: Touch] Artist name & song title played by radio stations are not in Cyrillic

2016-06-02 Thread tals

mherger wrote: 
> > Now it works as expected!)
> 
> Cool! Please let me know if you see any negative side-effect. I'm not 
> sure yet whether I want to include this by default or not, as I'd rather
> 
> not want to break things for non-Cyrillic users...
> 
> -- 
> 
> Michael

Sure.
Hope no side-effects will occur. However, I'll make a screenshot if
any.

--
Sergey



tals's Profile: http://forums.slimdevices.com/member.php?userid=58935
View this thread: http://forums.slimdevices.com/showthread.php?t=105686

___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


Re: [SlimDevices: Touch] Artist name & song title played by radio stations are not in Cyrillic

2016-06-02 Thread Michael Herger

Now it works as expected!)


Cool! Please let me know if you see any negative side-effect. I'm not 
sure yet whether I want to include this by default or not, as I'd rather 
not want to break things for non-Cyrillic users...


--

Michael
___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


Re: [SlimDevices: Touch] Artist name & song title played by radio stations are not in Cyrillic

2016-06-02 Thread tals

Now it works as expected!)
Thanks a lot!

---
Sergey



tals's Profile: http://forums.slimdevices.com/member.php?userid=58935
View this thread: http://forums.slimdevices.com/showthread.php?t=105686

___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


Re: [SlimDevices: Touch] Artist name & song title played by radio stations are not in Cyrillic

2016-06-01 Thread tals

mherger wrote: 
> Hmm... I guess you compiled that Perl yourself? It's using non-standard
> (for LMS) module versions eg. for SQLite. Would you have
> Encode::Detect::Detector? Or could you compile it?
> 
> > 
Code:

  >   > perl -MEncode::Detect::Detector -e'print 
$Encode::Detect::Detector::VERSION'

> > 
> 
> You could then apply the following patch to Slim::Utils::Unicode:
> https://gist.github.com/mherger/0a966eb0222b7802d4b3b50b749e0a32
> 
> You can try that patch anyway. It would silently fail if
> aforementioned module was missing.

Well, yes. My platform is not a standard one where an out-of-the-box
installation of LMS is possible, so I compiled the packages from tarball
).

Code:

perl -MEncode::Detect::Detector -e'print $Encode::Detect::Detector::VERSION'



Code:

  


Thanks for the patch! Already applied.
Let me test it and come back with a feedback.

---
Sergey



tals's Profile: http://forums.slimdevices.com/member.php?userid=58935
View this thread: http://forums.slimdevices.com/showthread.php?t=105686

___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


Re: [SlimDevices: Touch] Artist name & song title played by radio stations are not in Cyrillic

2016-06-01 Thread mherger

tals wrote: 
> LMS is installed on a NAS ).
> Operating System: Linux -EN - UTF8 (see the very first attachment)

Hmm... I guess you compiled that Perl yourself? It's using non-standard
(for LMS) module versions eg. for SQLite. Would you have
Encode::Detect::Detector? Or could you compile it?


Code:

perl -MEncode::Detect::Detector -e'print $Encode::Detect::Detector::VERSION'



You could then apply the following patch to Slim::Utils::Unicode:
https://gist.github.com/mherger/0a966eb0222b7802d4b3b50b749e0a32

You can try that patch anyway. It would silently fail if aforementioned
module was missing.



Michael

http://www.herger.net/slim-plugins - MusicArtistInfo, MusicInfoSCR,
Smart Mix

mherger's Profile: http://forums.slimdevices.com/member.php?userid=50
View this thread: http://forums.slimdevices.com/showthread.php?t=105686

___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


Re: [SlimDevices: Touch] Artist name & song title played by radio stations are not in Cyrillic

2016-06-01 Thread Michael Herger

Perhaps including a call to Mozilla Universal Character Set Detector
would bring back info about which charset is being used.
http://search.cpan.org/~jgmyers/Encode-Detect-1.01/Detector.pm


It does indeed. What makes me hesitate is the fact that we already use 
it, but only _after_ some of our own tests. And I would assume there was 
some good reason why we don't rely on EDD alone.


--

Michael
___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


Re: [SlimDevices: Touch] Artist name & song title played by radio stations are not in Cyrillic

2016-06-01 Thread tals

mherger wrote: 
> > Now I found the root cause:
> > Source encoding = CP1251 (WINDOWS-1251)
> > Displayed in ISO-8859-15
> 
> BTW: what's your Windows' language setting (see Settings/Information in 
> LMS)?
> 
> -- 
> 
> Michael

LMS is installed on a NAS ).
Operating System: Linux -EN - UTF8 (see the very first attachment)



tals's Profile: http://forums.slimdevices.com/member.php?userid=58935
View this thread: http://forums.slimdevices.com/showthread.php?t=105686

___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


Re: [SlimDevices: Touch] Artist name & song title played by radio stations are not in Cyrillic

2016-06-01 Thread Paul Webster

Perhaps including a call to Mozilla Universal Character Set Detector
would bring back info about which charset is being used.
http://search.cpan.org/~jgmyers/Encode-Detect-1.01/Detector.pm



Paul Webster
http://dabdig.blogspot.com

Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=105686

___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


Re: [SlimDevices: Touch] Artist name & song title played by radio stations are not in Cyrillic

2016-06-01 Thread Michael Herger

Now I found the root cause:
Source encoding = CP1251 (WINDOWS-1251)
Displayed in ISO-8859-15

What kind of a solution is possible here?


I can confirm that by forcing decoding from cp1251 the characters would 
display correctly. As to what possible solution - I don't know yet...


--

Michael
___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


Re: [SlimDevices: Touch] Artist name & song title played by radio stations are not in Cyrillic

2016-06-01 Thread tals

Now I found the root cause:
Source encoding = CP1251 (WINDOWS-1251)
Displayed in ISO-8859-15

What kind of a solution is possible here?

---
Sergey


+---+
|Filename: root.png |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=20550|
+---+


tals's Profile: http://forums.slimdevices.com/member.php?userid=58935
View this thread: http://forums.slimdevices.com/showthread.php?t=105686

___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


Re: [SlimDevices: Touch] Artist name & song title played by radio stations are not in Cyrillic

2016-06-01 Thread tals

mherger wrote: 
> > ...But then you say that information from 
> your flacs does display correctly? Is this true for Cyrillic titles,
> too?
> 

Yes, Michael, that's correct.
All my FLAC metadata in utf-8.

Which means, that the issue is in non-UTF-8 metadata from radio
streaming (basically mp3).
Is there any chance to set up Squeezebox Touch to identify streaming
metadata encoding (might be in koi8-r or cp1251) and display it
correctly?

---
Sergey
P.S. Noch einen schoenen Tag!



tals's Profile: http://forums.slimdevices.com/member.php?userid=58935
View this thread: http://forums.slimdevices.com/showthread.php?t=105686

___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


Re: [SlimDevices: Touch] Artist name & song title played by radio stations are not in Cyrillic

2016-06-01 Thread tals

So is this just encoding problem or missing fonts?



tals's Profile: http://forums.slimdevices.com/member.php?userid=58935
View this thread: http://forums.slimdevices.com/showthread.php?t=105686

___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


Re: [SlimDevices: Touch] Artist name & song title played by radio stations are not in Cyrillic

2016-05-31 Thread tals

mherger wrote: 
> >
> Could you please give us an example URL of one such station?
> -- 
> Michael

Hi Michael,

Thank you for the prompt reply!
Sure. Those are radio station available from tunein:
Radio>Local>Stations...
Here is the copy of my favorites:

http://opml.radiotime.com/Tune.ashx?id=s55109formats=aac,ogg,mp3,wmpro,wma,wmvoicepartnerId=16serial=9ebb344ca348400ddfb4c017a91aefea;
icon="plugins/cache/icons/radiolocal.png" text="Unistar Radio 99.5 (Hot
AC)" type="audio" />
http://opml.radiotime.com/Tune.ashx?id=s9570formats=aac,ogg,mp3,wmpro,wma,wmvoicepartnerId=16serial=9ebb344ca348400ddfb4c017a91aefea;
icon="plugins/cache/icons/radiolocal.png" text="Radio Alpha 107.9 (Adult
Contemporary)" type="audio" />
http://opml.radiotime.com/Tune.ashx?id=s104514formats=aac,ogg,mp3,wmpro,wma,wmvoicepartnerId=16serial=9ebb344ca348400ddfb4c017a91aefea;
icon="plugins/cache/icons/radiolocal.png" text="Novoe Radio 98.4 (Top
40/Pop)" type="audio" />

Sergey



tals's Profile: http://forums.slimdevices.com/member.php?userid=58935
View this thread: http://forums.slimdevices.com/showthread.php?t=105686

___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


Re: [SlimDevices: Touch] Artist name & song title played by radio stations are not in Cyrillic

2016-05-30 Thread Michael Herger

Unable to see Cyrillic artist name & song titles played by radio
stations.


Could you please give us an example URL of one such station?

--

Michael
___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


[SlimDevices: Touch] Artist name & song title played by radio stations are not in Cyrillic

2016-05-30 Thread tals

Firmware: 7.7.3 r16676
LMS: 7.7.5

Unable to see Cyrillic artist name & song titles played by radio
stations. Changing interface language to Russian doesn’t resolve the
issue. On the other hand, songs metadata from my storage (flac etc.) are
displayed correctly.
Did I miss anything? (see attachments)

Thanks,
Sergey


+---+
|Filename: screen.jpg   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=20547|
+---+


tals's Profile: http://forums.slimdevices.com/member.php?userid=58935
View this thread: http://forums.slimdevices.com/showthread.php?t=105686

___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch