diff options
author | David Zeuthen <david@fubar.dk> | 2006-04-26 15:00:38 +0000 |
---|---|---|
committer | David Zeuthen <david@fubar.dk> | 2006-04-26 15:00:38 +0000 |
commit | 7ba1b1f7fcfd5f9f795ce4809bf397d6793ed06b (patch) | |
tree | 62ee512d1fa8412d71642ff26ed523db465930e2 /fdi/information | |
parent | d4c171e318c04f8ce89b48f57fa947a42ff067c2 (diff) |
Patch from Gabriel Burt <gabriel.burt@gmail.com>.
After some further consideration, I think the
portable_audio_player.filepath_format property should be removed and a
new property, folder_depth, should be created. The main point of the
filepath_format property was to convey whether the device only
supported a limited file hierarchy, but it ended up conveying much more
than that - specifying exactly what directory structure the music files
should go in, when that's really not appropriate (since the hardware
doesn't care except in the hierarchy depth case). The folder to write
files out to can be taken from the first entry in the audio_folders
property. This change will allow the application to choose the
appropriate directory structure (/podcasts/NPR/****, /Artist/Album/00 -
Title, etc). I've attached a patch that make this change in the
hal-spec.xml.in as well as another patch that adds some of these new
properties for a few audio devices.
Update spec
Update to reflect new spec
Diffstat (limited to 'fdi/information')
-rw-r--r-- | fdi/information/10freedesktop/10-usb-music-players.fdi | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/fdi/information/10freedesktop/10-usb-music-players.fdi b/fdi/information/10freedesktop/10-usb-music-players.fdi index 2d37fab7..e9731cdf 100644 --- a/fdi/information/10freedesktop/10-usb-music-players.fdi +++ b/fdi/information/10freedesktop/10-usb-music-players.fdi @@ -422,6 +422,8 @@ <append key="portable_audio_player.output_formats" type="strlist">audio/x-ms-wma</append> <append key="portable_audio_player.output_formats" type="strlist">audio/x-wav</append> <append key="portable_audio_player.input_formats" type="strlist">audio/mpeg</append> + <append key="portable_audio_player.playlist_formats" type="strlist">audio/x-mpegurl</append> + <append key="portable_audio_player.playlist_path" type="string">PLAYLIST/%File</append> </match> <!-- iAudio 5 --> <match key="@storage.physical_device:usb.product_id" int="0x602"> @@ -466,6 +468,15 @@ <append key="portable_audio_player.output_formats" type="strlist">audio/flac</append> <append key="portable_audio_player.output_formats" type="strlist">audio/x-wav</append> <append key="portable_audio_player.input_formats" type="strlist">audio/mpeg</append> + <append key="portable_audio_player.audio_folders" type="strlist">MUSIC</append> + <append key="portable_audio_player.audio_folders" type="strlist">VOICE</append> + <append key="portable_audio_player.audio_folders" type="strlist">RECORD</append> + <append key="portable_audio_player.playlist_formats" type="strlist">audio/x-mpegurl</append> + <append key="portable_audio_player.playlist_path" type="string">PLAYLIST/%File</append> + <append key="portable_audio_player.audio_folders" type="strlist">MUSIC</append> + <append key="portable_audio_player.audio_folders" type="strlist">RECORDS/FM</append> + <append key="portable_audio_player.audio_folders" type="strlist">RECORDS/LINEIN</append> + <append key="portable_audio_player.audio_folders" type="strlist">RECORDS/VOICE</append> </match> </match> |