GNOME Bugzilla – Bug 333075
Audio player playlist support for iAudio X5 devices.
Last modified: 2006-04-02 05:25:07 UTC
HAL information: info.product = iAUDIO X5 Nothing else that I can see from hal-device-manager seemt to be very specific. Playlist type: m3u. A playlist generated from XMMS works just peachily. Location on device: /playlist Is there any other information about the player needed?
*** Bug 333077 has been marked as a duplicate of this bug. ***
The "info.product = iAUDIO X5", is that on the the 'parent' of the mountable volume? (if you're not sure, run "hal-device > hd_out" in a terminal and attach the file "hd_out"). Can you give an example path/uri from one of the m3u playlists? I need to know whether they are relative to the mount-point, or absolute (and with what prefix).
Created attachment 60456 [details] Output of hal-device when an iAudio X5 is plugged in.
Example path from a playlist: #EXTINF:197,Universal Hall Pass - Tutelary Genius /music/Universal Hall Pass/Mercury/Universal Hall Pass - Tutelary Genius.ogg File paths are relative to the player's root directory.
I have a iAudio M3, which should work the same. My playlists are in /mountpoint/PLAYLIST (note the case). FWIW, HAL doesn't seem to notice it's an audio player so it's not shown as a generic audio player in rb. Using the ".is_audio_player" doesn't seem to work either, but that bug probably belongs somewhere else and might be an ubuntu dapper specific bug, I'll file it elsewhere.
(you can ignore the second part of my comment: after restarting rb it showed up just fine)
Parsing those playlists will require a few changes in totem-pl-parser.
Created attachment 60958 [details] [review] add portable_audio_player cap for iaudio x5 in hal i have attached a patch to add portable_audio_player cap for iaudio x5. this patch is against hal 0.5.7. i am putting this patch here, so people can test it. if it is ok, then i can send it to hal guys. i have tested it with iaudio X5 60GB. please test it with others. probably it will not work. then i can improve the patch, but i need to know usb.product_id of specific iaudio device. bastien, is this patch more or less correct? i am new to fdi files :/
Looks alright. audio/aac is the mime-type for MPEG-4 audio btw, in case you want to update it.
this is video mpeg4. video/mpeg or video/mpeg4?
Actually video/mp4 and audio/mp4 The mime-types used in HAL seem quite wrong to me...
Created attachment 60961 [details] [review] hal iaudio patch updated with video/mp4 as supported output format i have attached new version of hal iaudio patch with video/mp4 as supported output format.
A HAL patch for the iAudio X5 has already been committed. It lacks the video types, however. See https://bugs.freedesktop.org/show_bug.cgi?id=6102
Here's a more surprising example of a working playlist: /home/mavit/audio/Belle and Sebastian/If You're Feeling Sinister/01 - The Stars of Track and Field.ogg /home/mavit/audio/Belle and Sebastian/If You're Feeling Sinister/02 - Seeing Other People.ogg /home/mavit/audio/Belle and Sebastian/If You're Feeling Sinister/03 - Me and the Major.ogg Note that /home/mavit/audio only exists on my computer. On the X5, these files sit under /MUSIC, yet the playlist still works. I guess this could simplify writing playlists to the X5 but will complicate reading them off again.
HAL in cvs recognises the device, and I've filed freedesktop bug 6462 which contain information about reading the playlists. All we need to do on the Rhythmbox side is make use of the playlist info that HAL reports, which is bug 333845. *** This bug has been marked as a duplicate of 333845 ***