GNOME Bugzilla – Bug 614171
[library watcher] Importing leads to duplicate and missing tracks if LibraryWatcher enabled
Last modified: 2020-03-17 08:58:38 UTC
Created attachment 157322 [details] Banshee log after import and re-scan. CD Import adds duplicate tracks to music browser, both play normally and only one track with that name is imported into the album folder. manually re-scanning Music Library fixes the issue.
System: Mint Linux 8 x64 Date bug noticed: March 29 - 2010
Do you have the LibraryWatcher extension enabled and turned on?
Yes
*** Bug 625390 has been marked as a duplicate of this bug. ***
@Iain, do you also have the Library Watcher turned on? And can someone seeing this problem confirm that it goes away when that extension is turned off?
Ah. Yes, that's probably it. I'll try with another CD tomorrow.
Yes. That's it. Are duplicates ever wanted in the library? AddTrack() could just do nothing in this case. I don't know if there's another robust way to fix this as it seems too racy to trap in Watch().
Iain, sorry but it's still not clear. Can you answer this question?: does the problem vanish when you turn off the LibraryWatcher?
yes
Thanks
I don't have the Library Watcher turned on, and I just ran into this when importing from a CD... strange?
This is still the case in 1.8.x Doesn't seem to depend on encoding format used.
*** Bug 632956 has been marked as a duplicate of this bug. ***
Confirmed for 1.8.0, also bumping severity slightly as incarnations of this problem as seen in #632956 can lead to missing files as well as duplicates.
Likely related: https://bugzilla.gnome.org//show_bug.cgi?id=638788
I am seeing duplicates using the library watcher and Copy on Import as well. Perhaps of interest as well?: https://bugzilla.gnome.org//show_bug.cgi?id=638889
(In reply to comment #16) > Perhaps of interest as well?: > https://bugzilla.gnome.org//show_bug.cgi?id=638889 Hey David, just to clarify, that bug is not related to LibraryWatcher. It consists of actually moving files to a different location when Banshee is not running, or having the LibraryWatcher disabled.
I know but I was hoping on the off chance that the fix was some what similar
I'm updating the title of this bug because it's not only limited to importing from CDs, and as David mentioned in comment 14, this can also lead to missing tracks, which is a bigger problem.
*** Bug 647780 has been marked as a duplicate of this bug. ***
Just bitten by duplicates on CD import, using 2.1.0 in Ubuntu 11.10. LibraryWatcher was enabled during the import.
*** Bug 657182 has been marked as a duplicate of this bug. ***
Reproduced in 2.2.0.
I'd be interested to see if anyone can reproduce this on git master as knocte fixed one more import bug. The patches do not appear to have been submitted for stable. 2.3.2 once it it released or the banshee daily ppa would be a good source for such testing. http://git.gnome.org/browse/banshee/commit/?id=92fdfa224fd2aac937535e63abd9475b0e79d377 http://git.gnome.org/browse/banshee/commit/?id=0403e1b8a1041ac9d4a95d74b12c89ece6efeeb8
*** Bug 666944 has been marked as a duplicate of this bug. ***
Banshee is not under active development anymore and had its last code changes more than three years ago. Its codebase has been archived. Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect reality. Please feel free to reopen this ticket (or rather transfer the project to GNOME Gitlab, as GNOME Bugzilla is being shut down) if anyone takes the responsibility for active development again. See https://gitlab.gnome.org/Infrastructure/Infrastructure/issues/264 for more info.