Bug 363929

Summary: Unreadable cyrillic tags when playing online stream
Product: [Applications] amarok Reporter: Sergey Ostashenko <Sergey.Ostashenko>
Component: Playback/StreamsAssignee: Amarok Bugs <amarok-bugs-null>
Status: REPORTED ---    
Severity: wishlist    
Priority: NOR    
Version First Reported In: 2.8.0   
Target Milestone: 2.9   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Sergey Ostashenko 2016-06-04 07:51:24 UTC
There should be tag recode facility for online streams. Otherwise streams that encode tags as national 8-bit character sets display unreadable tags. In my case the tags come encoded as cp1251 Windows cyrillic while my system is Linux with koi8-r cyrillic.
Ideally there should be an option that allowed to specify the online stream tags encoding and recode tags according to the system locale settings.
Setting the tags encoding detection in preferences does not work. 

Reproducible: Always

Steps to Reproduce:
1. Open the following stream http://ic3.101.ru:8000/m1_5
2.
3.

Actual Results:  
The tags displayed both in playlist item and in running string are unreadable.

Expected Results:  
There should be a possibility to display correct tags.
Comment 1 Myriam Schweingruber 2016-06-04 10:06:17 UTC
The tag encoding in the preferences is not applied to stream, only to the collection for Synchronisation purposes, so this is not a bug, but a wish.
Comment 2 Sergey Ostashenko 2016-06-10 09:58:34 UTC
I also observe the following output when playing above mentioned online stream. I am not sure it is related to the bug, but just in case here it is.

(amarok:13808): GStreamer-WARNING **: Trying to set string on structure field 'icy-name', but string is not valid UTF-8. Please file a bug.
Comment 3 Myriam Schweingruber 2016-06-10 17:37:47 UTC
It is relevant insofar that it confirms the stream doesn't send UTF encoded tracks, but using  the old obsolete ISO encoding. You should report this problem to the stream owners and ask them to encode their streams correctly. ISO is obsolete since the 1990ies ...