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 346759 - Library watch doesn't work since 0.95
Library watch doesn't work since 0.95
Status: RESOLVED FIXED
Product: rhythmbox
Classification: Other
Component: Importing
HEAD
Other Linux
: Normal normal
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-07-06 12:56 UTC by Adolfo González Blázquez
Modified: 2006-07-07 05:24 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description Adolfo González Blázquez 2006-07-06 12:56:43 UTC
Since 0.95 library watch doesn't work for me. My music is in a fat32 partition, and with 0.94 watching for new files worked. Right now it doesn't work, using cvs up-to-date.

Any idea why?
Comment 1 James "Doc" Livingston 2006-07-07 03:17:28 UTC
It appears to work for me.


Can you run "rhythmbox -D monitor &" from a terminal and do some tests:
1) when it starts, it should print out a lot of messages with "monitoring file:///path/to/folder" for all the folders you have tracks in.

2) with the above running, try doing "touch /path/to/a/file.mp3" from a terminal. It should print a message like "directory event 5 for file:///path/to/a/file.mp3" followed by one like "adding newly located file file:///path/to/a/file.mp3"
Comment 2 Adolfo González Blázquez 2006-07-07 03:37:38 UTC
The problem seems to happen only when adding folders (with music inside) to the main music folder.
In my case, this means:

- My Music folder is organized this way:
/Music/Genre/Artist/Album/Song.mp3
- My library path is set to /Music

- When adding a mp3 to a existing ALBUM folder, it gets recognized by the monitor, and added to the library.
- When adding a new folder (i.e. to a folder genre or any other but an album folder) rb doesn't notice this new folder, so it's not added to the library.

- This means that rb just monitors the last folder on the structure, so i can't create new folders and expect rb to add them to the library.


I don't know if this is the supposed behaviour for rb, but it will be great to monitor the whole /Music dir, not just the last dirs in structure.
Comment 3 James "Doc" Livingston 2006-07-07 04:02:58 UTC
It turns out there was an extraneous '!' in one of the if statements controlling that part of the monitoring, so it wasn't watching folders with no tracks in them. I've fixed it in cvs.
Comment 4 Adolfo González Blázquez 2006-07-07 05:24:34 UTC
Ok, now it seems to work, but i have to restart rb to get the new added folder loaded into library. I think rb should be capable of adding these new files without being closed, doesn't it?