ps3mediaserver/ps3mediaserver — pull request #113 by gui17aume (2013-06-23 19:04:06+00:00)
Title: Fix generation of music subfolders in iTunes Library 

Hello,

I'm a french user of PSM and I noticed the iTunes Library wasn't generated correctly: the Artists/Albums/Genres subfolders were missing in the Music folder.

So I looked at the source code and discovered the detection of the Music playlist was made from the value of the field "Name". But this value is localized, so in my french iTunes Library the value is "Musique", not "Music".
I changed a little bit the code to base the detection on the special key Music.

By the way I made a few improvements:
- add artist name to album name in the albums folder, except for compilations
- in artists folder, display only artists of tracks not from a compilation
- normalize all strings coming from the XML to prevent things like e` instead of è to be displayed
- arrange artist tracks into artist albums and add a "all tracks" folder
- add a [protected] tag on DRM-protected files

I also localized the hardcoded labels, and added some french missing translations.

Finally I made a configuration file for my TV, one of the last Sony Bravia models.

Regards.