playlists created on devices have wrong path specification
Submitted by Brian J. Murrell
Link to original bug (#631829)
Description
I am in fact running fecd44fe (although I will do a git pull from master and see if any of this is resolved).
I have a media player that wants to find it's music in /Music and it's playlists in /Playlists, so in the .is_audio_player file, I added a:
audio_folders=Music playlist_path=Playlists
Before I added the playlist_path, the playlists were created in the toplevel directory and the format:
[playlist] X-GNOME-Title=newtest NumberOfEntries=725 File1=Music/Queen/A Day at the Races/06 - Somebody to Love.mp3 Title1=Somebody to Love File2=Music/Queen/A Day at the Races/01 - Tie Your Mother Down.mp3 Title2=Tie Your Mother Down File3=Music/Queen/A Day at the Races/04 - The Millionaire Waltz.mp3 Title3=The Millionaire Waltz File4=Music/Queen/A Day at the Races/05 - You and I.mp3 Title4=You and I
But when I added the "playlist_path=Playlists" the content of newly created playlists changed to:
[playlist] X-GNOME-Title=newertest NumberOfEntries=725 File1=file:///media/ARCHOS5/Music/Queen/A%20Day%20at%20the%20Races/06%20-%20Somebody%20to%20Love.mp3 Title1=Somebody to Love File2=file:///media/ARCHOS5/Music/Queen/A%20Day%20at%20the%20Races/01%20-%20Tie%20Your%20Mother%20Down.mp3 Title2=Tie Your Mother Down File3=file:///media/ARCHOS5/Music/Queen/A%20Day%20at%20the%20Races/04%20-%20The%20Millionaire%20Waltz.mp3 Title3=The Millionaire Waltz File4=file:///media/ARCHOS5/Music/Queen/A%20Day%20at%20the%20Races/05%20-%20You%20and%20I.mp3 Title4=You and I
Apart from now using a "URI" format (which is not what my device wants) the URIs are fully qualified, including the mount path of the device when connected to my Linux machine.
Additionally, the playlists in /Playlists on the device are not showing up under the expanded device node in RB, although newly created playlists (i.e. before I disconnect the device) will show there until I disconnect the device and won't show up again when I reconnect the device.
Version: 0.12.x