[ubuntu-mono] [Bug 71784] correct folder depth property not being read from HAL

Alex Sutcliffe sutcliffe.alex at gmail.com
Tue Nov 14 15:55:11 GMT 2006


Public bug reported:

Binary package hint: banshee

y mass storage device - lsusb shows:

Bus 001 Device 007: ID 10d6:1100 Actions Semiconductor Co., Ltd MPMan MP-Ki 128
MP3 Player/Recorder

only supports playback from directories to a depth of 1 on the filesystem so I
added the line:

<append key="portable_audio_player.folder_depth" type="int">0</append>

to the appropriate section in 10-usb-music-players.fdi

When dragging a song to the device eg AM 180 fro mthe album Under the Western
Freeway by Grandaddy - the file gets created in the following path:

G/Gr/Gra/Gran/Grand/Granda/Grandad/Grandaddy/Under\ the\ Western\
Freeway/

This would suggest that the folder depth has been set to 10. Sure enough,
checking the value returned by:

player_device.GetPropertyInteger("portable_audio_player.folder_depth");

shows that it returns 10. This happens regardless of the value in the fdi file
ie if folder depth is set to 3, it will still return 10 

Steps to reproduce:
1. Unplug mass storage device
2. Add section <append key="portable_audio_player.folder_depth"
type="int">0</append> to the section of 10-usb-music-players.fdi for your
player
3. Plug the device in and start banshee
4. Attempt to copy a song from your library to the mass storage player
5. Check where the file has actually been created on the filesystem for your
mas storage player


Actual results:
Song will be created in a folder such as:

G/Gr/Gra/Gran/Grand/Granda/Grandad/Grandaddy/Under\ the\ Western\
Freeway/

Expected results:
Since the folder depth property has been set to 0, the file should be in the
root directory of the mass storage players filesystem.

Does this happen every time?
Yes

** Affects: banshee (upstream)
     Importance: Unknown
         Status: Unknown
** Affects: banshee (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

** Bug watch added: GNOME Bug Tracker #375140
   http://bugzilla.gnome.org/show_bug.cgi?id=375140

** Also affects: banshee (upstream) via
   http://bugzilla.gnome.org/show_bug.cgi?id=375140
   Importance: Unknown
       Status: Unknown

-- 
correct folder depth property not being read from HAL
https://launchpad.net/bugs/71784



More information about the Ubuntu-mono mailing list