GNOME Bugzilla – Bug 346759
Library watch doesn't work since 0.95
Last modified: 2006-07-07 05:24:34 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?
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"
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.
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.
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?