[PATCH] Make playlists work on the Sansa Fuze
Submitted by ale..@..oo.com
The attached patch (with a corresponding patch to hal-info) should enable rhythmbox to write playlists on the Sansa Fuze in MSC mode, and possibly other Sansa mp3 players.
The Fuze uses the m3u playlist format but with two quirks:
- playlists must use dos format (i.e
<cr>``<lf>line endings and \ pathname separators)
- The entries in the playlist must be relative paths starting at the playlist file. Absolute paths are not currently supported.
The patch defines two new hal quirks: portable_audio_player.quirk.playlist_dos_encoded and portable_audio_player.quirk.use_relative_paths
both default to false. They can be turned on from either the hal fdi file or from the .is_audio_player file on the device.