GNOME Bugzilla – Bug 550035
banshee doesn't respect the portable_audio_player.folder_depth key
Last modified: 2008-08-31 13:40:51 UTC
I have tried to create an FDI file for my generic audio player. The player expects the files to be in /AUDIOS/MUSIC folder, but not in nested hierarchy. The FDI snippet seems to work with rhythmbox, it will put it inside the folder with no further folder hierarchy. Banshee insists on creating /AUDIOS/MUSIC/$Artists/$Album/. Here's what my generic player FDI snippet looks like: <!-- generic chinese 'Aiptek, MP315 MP3 Player' (says Odin on the box) --> <match key="@storage.originating_device:usb.product_id" int="0x757a"> <merge key="portable_audio_player.access_method" type="string">storage</merge> <merge key="portable_audio_player.type" type="string">generic</merge> <merge key="portable_audio_player.folder_depth" type="int">1</merge> <addset key="portable_audio_player.access_method.protocols" type="strlist">storage</addset> <append key="portable_audio_player.output_formats" type="strlist">audio/mpeg</append> <append key="portable_audio_player.input_formats" type="strlist">audio/mpeg</append> <append key="portable_audio_player.audio_folders" type="strlist">AUDIOS/MUSIC/</append> </match>
Mmmh, the code that's supposed to handle the folder depth is commented out in MassStorageSource.GetTrackPath. Gabriel, any idea why ?
I already filed this a few month ago. Bertrand, please take a look at the other bug, I linked a third bug which may be related. *** This bug has been marked as a duplicate of 537367 ***