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 339931 - Rhythmbox loses automounted entries in playlist
Rhythmbox loses automounted entries in playlist
Status: RESOLVED OBSOLETE
Product: rhythmbox
Classification: Other
Component: general
0.9.5
Other All
: Normal normal
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-04-27 15:22 UTC by Mark Lee
Modified: 2018-05-24 11:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
untested patch (2.94 KB, patch)
2006-10-10 10:38 UTC, Jonathan Matthew
committed Details | Review

Description Mark Lee 2006-04-27 15:22:05 UTC
Please describe the problem:
My music is on a nfs network drive, automounted by autofs.  This has never
caused any problems on playback.  However, if a playlist is loaded containing
files from the automounted drive - and the drive is not accessed for a period
(e.g: playing musics from a local drive) such that the automounter unmounts the
network drive - then those entries on the playlist from that drive disappear.

Steps to reproduce:
1. Creat playlist containing files on automounted drive 
2. Leave for automount to umount.  
3. Playlist entries disappear.


Actual results:


Expected results:
Since rhythmbox is capable of playing these files if clicked on directly (before
the drive is automounted) - then it should also be able to check the existance
of playlist entries on automounted drives - i.e. These files exist.  They are
accessible (once the automounter mounts the drive) - they should not disappear
from the playlist as if they no longer exist.  

Does this happen every time?
Happens every time.

Other information:
Comment 1 James "Doc" Livingston 2006-06-07 09:05:24 UTC
This should be fixed in newer versions, unless the files haven't been seen in a long time (I think the default is 45 days).
Comment 2 Jonathan Matthew 2006-06-07 22:25:25 UTC
I think the point of this bug was not that the files are removed from the library, but that they are hidden when they shouldn't be.  When autofs unmounts a volume, files on that volume aren't really missing.  Attempting to access a file on the volume will cause autofs to mount it again, so it makes sense that the songs would stay visible.

To fix this, we'd just ignore volume unmount events underneath autofs mounts.  This would probably bring up a few error cases, such as when the automount fails.  I'm not really sure how we'd handle this.
Comment 3 Victor Osadci (Vic) 2006-06-25 08:05:51 UTC
I see something similar with my USB disk which holds the music library.
If the drive is mot mounted when rb starts, the tracks are not in the library or playlists - ok. When the drive is available, rb finds the files again, but the playlists remain empty. This only happens for manual playlists.
Comment 4 Sebastien Bacher 2006-09-18 13:52:56 UTC
Ubuntu bug about that: https://launchpad.net/distros/ubuntu/+source/rhythmbox/+bug/59966

"im on fully updated edgy

to reproduce...

make a playlist containing songs on a removable harddrive.

unmount the external medium and the playlist empties since the songs are not available.

now - mount the device again...the library will fill up but the playlist wont...

basically - playlists dont "keep" songs..."
Comment 5 Jonathan Matthew 2006-10-10 10:38:36 UTC
Created attachment 74394 [details] [review]
untested patch

This adds support for tracking hidden entries in query models with no query (which is how static playlists work).  I haven't actually tested that this helps in any way, I just wrote it to make an unrelated test case work.
Comment 6 Alex Lancaster 2006-10-11 11:29:22 UTC
I have noticed this too, even with tracks on a local partition, they can disappear from manual playlists.  Don't know how to reproduce in the local partition case.
Comment 7 Jonathan Matthew 2006-12-13 11:36:20 UTC
The patch actually had nothing to do with this bug, but I've committed it anyway.
Comment 8 Josef Davies-Coates 2010-10-15 19:07:08 UTC
If I open rhythm box without my external hard drive plugged in (where all my music is) then it looses all the songs that were there and then takes ages re-importing them again once I plug the external hard drive in again.

It also completely and utterly loses all my playlists. Luckily I mostly just use shuffle, because otherwise loosely the playlists would be really REALLY f*!king annoying, not just mildly f*!king annoying!
Comment 9 GNOME Infrastructure Team 2018-05-24 11:33:30 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/rhythmbox/issues/182.