Re: [Rhythmbox-devel] RFC: removable media


I am too busy with exams right now to take a look at it. Thanks for
making an effort on this front. It seems like a good start. The HAL guys
are working on getting a unique identifier in, when this is done it
should be easy to adapt your patch to handle the physical-device-id.


On Thu, 2004-04-08 at 17:31, Christophe Fergeau wrote:
> Hi,
> I did a bit of work to improve support for directories (mount points)
> which sometimes are there and sometimes aren't (for example usb/fw hard
> drives, or nfs/smb mounts on a laptop). This is much simpler than what
> you describe, but was easier to implement too :) I agree that it doesn't
> handle the case where you have several removable devices that you mount
> in the same dir. 
> I added a <mountpoint> attribute to each file in the RhythmDB, and when
> refreshing the library, Rhythmbox now checks if the mount point the
> entry was in is still available. If the mount point is not mounted, it
> hides the entry (doesn't display it in the library) instead of removing
> it from rhythmdb.xml. This should solve most problems with removable
> medias I think. The show/hidden state for entries is only determined at
> startup so you need to restart rhythmbox when you mount a mount point
> with files known to rhythmbox. Doing it while rhythmbox is running is
> planned and shouldn't be too hard.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]