Bug 17422 - Artist, Album and Genre Favorites with non-latin characters don't work from Player UI
: Artist, Album and Genre Favorites with non-latin characters don't work from P...
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Player UI
: 7.6.0
: PC Ubuntu Linux
: P2 normal (vote)
: 7.7.2
Assigned To: Andy Grundman
: patch_waiting
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-08-08 14:40 UTC by chrismuller@gmx.net
Modified: 2012-03-12 14:28 UTC (History)
3 users (show)

See Also:
Category: ---


Attachments
Some strange code seemingly fixing this issue... (1.17 KB, patch)
2012-02-07 14:03 UTC, Michael Herger
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description chrismuller@gmx.net 2011-08-08 14:40:47 UTC
Artist, Album and Genre Favorites with non-latin characters in the URL don't work if played from the player UI. They always give a playlist of "Nothing".

Example: 

<outline URL="db:album.title=Les%20beaux%20d%C3%A9g%C3%A2ts" icon="music/3f05681e/cover.png" text="Les beaux dégâts" type="audio" />

They play fine if played from the web interface.
Comment 1 Erland Isaksson 2011-08-20 03:07:57 UTC
I can confirm this in 7.6.1 r33110, I see the same thing with an artist name which contains the swedish character "Å" and "ö".

No errors in the log but the favorites.opml contains:
<outline URL="db:contributor.name=CajsaStina%20%C3%85kerstr%C3%B6m" icon="html/images/artists.png" text="CajsaStina Åkerström" type="audio" />
Comment 2 Michael Herger 2012-02-07 13:14:43 UTC
What kind of player are you seeing this with?

I see this only after a server restart. Before the restart they would work fine. Can you confirm?

7.7.2/r33816
Comment 3 Michael Herger 2012-02-07 14:03:35 UTC
Created attachment 7621 [details]
Some strange code seemingly fixing this issue...

Andy/Alan - I'd be happy to get your comment on this. Thanks!
Comment 4 SVN Bot 2012-03-12 14:26:59 UTC
 == Auto-comment from SVN commit #33892 to the slim repo by agrundman ==
 == http://svn.slimdevices.com/slim?view=revision&revision=33892 ==

Fixed bug 17422, fix utf8 chars in db favorites
Comment 5 Andy Grundman 2012-03-12 14:28:09 UTC
Patch was fine, I couldn't find any other way to do it either. I think it's probably related to the way the string is handled by URI::Escape.