GNOME Bugzilla – Bug 656176
Banshee does not read last value in .is_audio_player when it does not end with '\n'
Last modified: 2011-08-17 20:31:07 UTC
Test Case: 1.) Plug in and mount mass storage device (I used a thumb drive) 2.) Create .is_audio_player file on device with the following contents: audio_folders=MUSIC/ output_formats=application/ogg,audio/x-ms-wma,audio/flac,audio/x-wav,audio/mpeg playlist_format=audio/x-mpegurl 3) Start Banshee 4) See that the device is listed 5) View properties (advanced) 6) Note that playlists are not supported My understanding is that setting the playlist_format should be sufficient to trigger playlist support. Noted that in Banshee.Dap.MassStorage/MassStorageDevice.cs (line 129)it merges "playlist_formats" instead of "playlist_format", but changing either the merge or the .is_audio_player file did not solve the problem.
See Novell bug 599830 for background. https://bugzilla.novell.com/show_bug.cgi?id=595830
Setting the argument: playlist_formats=audio/x-scpls, audio/mpegurl, audio/x-mpegurl enables playlist support, but only for .pls playlists
setting: playlist_formats=audio/mpegurl, audio/x-mpegurl, audio/m3u allows banshee to save .m3u play lists, but all three must be present.
Updated title to better capture the issue.
Except for me, even with them all listed, it still doesn't work.
(In reply to comment #5) > Except for me, even with them all listed, it still doesn't work. I'd like to ensure that you did notice the change from "playlist_format" to "playlist_formats". This worked for me both on a thumb drive and my wife's Saza Fuze+.
Whoops, sorry - then I now confirm all that William has reported! (Nokia X6 here)
Discovered that banshee drops the last config property if there is no carriage return at the end of the file. The following works if there if there is a blank line at the end: <file> audio_folders=MUSIC/ output_formats=application/ogg,audio/x-ms-wma,audio/flac,audio/x-wav,audio/mpeg playlist_formats=audio/x-mpegurl </file>
Created attachment 193610 [details] [review] force collection of final value
Comment on attachment 193610 [details] [review] force collection of final value Thanks for the patch, committed with minor changes : string instead of String, and rewording of the commit message
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.