After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 333075 - Audio player playlist support for iAudio X5 devices.
Audio player playlist support for iAudio X5 devices.
Status: RESOLVED DUPLICATE of bug 333845
Product: rhythmbox
Classification: Other
Component: Removable Media
0.9.2
Other All
: Normal enhancement
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
: 333077 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-03-02 01:37 UTC by Chris Skalenda
Modified: 2006-04-02 05:25 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Output of hal-device when an iAudio X5 is plugged in. (115.59 KB, text/plain)
2006-03-02 03:00 UTC, Chris Skalenda
  Details
add portable_audio_player cap for iaudio x5 in hal (1.50 KB, patch)
2006-03-09 10:59 UTC, wrobell
none Details | Review
hal iaudio patch updated with video/mp4 as supported output format (1.57 KB, patch)
2006-03-09 11:44 UTC, wrobell
none Details | Review

Description Chris Skalenda 2006-03-02 01:37:12 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?
Comment 1 Alex Lancaster 2006-03-02 01:45:01 UTC
*** Bug 333077 has been marked as a duplicate of this bug. ***
Comment 2 James "Doc" Livingston 2006-03-02 01:59:47 UTC
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).
Comment 3 Chris Skalenda 2006-03-02 03:00:06 UTC
Created attachment 60456 [details]
Output of hal-device when an iAudio X5 is plugged in.
Comment 4 Chris Skalenda 2006-03-02 03:05:00 UTC
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.
Comment 5 Mathieu Pillard 2006-03-02 03:20:44 UTC
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.
Comment 6 Mathieu Pillard 2006-03-02 03:32:23 UTC
(you can ignore the second part of my comment: after restarting rb it showed up just fine)
Comment 7 Bastien Nocera 2006-03-02 08:23:42 UTC
Parsing those playlists will require a few changes in totem-pl-parser.
Comment 8 wrobell 2006-03-09 10:59:31 UTC
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 :/
Comment 9 Bastien Nocera 2006-03-09 11:07:56 UTC
Looks alright. audio/aac is the mime-type for MPEG-4 audio btw, in case you want to update it.
Comment 10 wrobell 2006-03-09 11:16:51 UTC
this is video mpeg4. video/mpeg or video/mpeg4?
Comment 11 Bastien Nocera 2006-03-09 11:26:28 UTC
Actually video/mp4 and audio/mp4
The mime-types used in HAL seem quite wrong to me...
Comment 12 wrobell 2006-03-09 11:44:59 UTC
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.
Comment 13 Peter Oliver 2006-03-09 19:50:35 UTC
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
Comment 14 Peter Oliver 2006-03-16 14:17:45 UTC
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.
Comment 15 James "Doc" Livingston 2006-04-02 05:25:07 UTC
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 ***