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 614171 - [library watcher] Importing leads to duplicate and missing tracks if LibraryWatcher enabled
[library watcher] Importing leads to duplicate and missing tracks if LibraryW...
Status: RESOLVED WONTFIX
Product: banshee
Classification: Other
Component: Importing
1.8.0
Other Linux
: Normal major
: 1.x
Assigned To: Banshee Maintainers
Banshee Maintainers
gnome[unmaintained]
: 625390 632956 647780 657182 666944 (view as bug list)
Depends on:
Blocks: 638939
 
 
Reported: 2010-03-28 11:59 UTC by nicekiwi9
Modified: 2020-03-17 08:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Banshee log after import and re-scan. (7.07 KB, text/plain)
2010-03-28 11:59 UTC, nicekiwi9
Details

Description nicekiwi9 2010-03-28 11:59:57 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.
Comment 1 nicekiwi9 2010-03-28 12:03:41 UTC
System: Mint Linux 8 x64
Date bug noticed: March 29 - 2010
Comment 2 Gabriel Burt 2010-03-28 18:25:37 UTC
Do you have the LibraryWatcher extension enabled and turned on?
Comment 3 nicekiwi9 2010-03-28 18:45:35 UTC
Yes
Comment 4 Michael Martin-Smucker 2010-07-27 12:57:12 UTC
*** Bug 625390 has been marked as a duplicate of this bug. ***
Comment 5 Michael Martin-Smucker 2010-07-27 12:59:03 UTC
@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?
Comment 6 Iain Lane 2010-07-27 14:12:11 UTC
Ah. Yes, that's probably it. I'll try with another CD tomorrow.
Comment 7 Iain Lane 2010-07-27 21:25:06 UTC
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().
Comment 8 Andrés G. Aragoneses (IRC: knocte) 2010-07-28 15:53:19 UTC
Iain, sorry but it's still not clear. Can you answer this question?: does the problem vanish when you turn off the LibraryWatcher?
Comment 9 Iain Lane 2010-07-28 15:55:12 UTC
yes
Comment 10 Andrés G. Aragoneses (IRC: knocte) 2010-07-28 16:00:24 UTC
Thanks
Comment 11 Michael Martin-Smucker 2010-10-23 23:04:23 UTC
I don't have the Library Watcher turned on, and I just ran into this when importing from a CD... strange?
Comment 12 Stanislaw Pitucha 2010-11-14 20:08:48 UTC
This is still the case in 1.8.x
Doesn't seem to depend on encoding format used.
Comment 13 David Nielsen 2010-11-24 02:53:37 UTC
*** Bug 632956 has been marked as a duplicate of this bug. ***
Comment 14 David Nielsen 2010-11-24 02:57:13 UTC
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.
Comment 15 David Nielsen 2011-01-15 10:44:08 UTC
Likely related:
https://bugzilla.gnome.org//show_bug.cgi?id=638788
Comment 16 David Nielsen 2011-01-15 11:18:02 UTC
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
Comment 17 Andrés G. Aragoneses (IRC: knocte) 2011-01-15 13:08:07 UTC
(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.
Comment 18 David Nielsen 2011-01-15 13:21:14 UTC
I know but I was hoping on the off chance that the fix was some what similar
Comment 19 Michael Martin-Smucker 2011-04-14 17:11:33 UTC
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.
Comment 20 Michael Martin-Smucker 2011-04-14 17:16:27 UTC
*** Bug 647780 has been marked as a duplicate of this bug. ***
Comment 21 Matthew Gregg 2011-07-28 23:53:11 UTC
Just bitten by duplicates on CD import, using 2.1.0 in Ubuntu 11.10. LibraryWatcher was enabled during the import.
Comment 22 Bertrand Lorentz 2011-08-23 18:09:43 UTC
*** Bug 657182 has been marked as a duplicate of this bug. ***
Comment 23 Maciej (Matthew) Piechotka 2011-11-17 01:43:59 UTC
Reproduced in 2.2.0.
Comment 24 David Nielsen 2011-11-17 12:29:46 UTC
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
Comment 25 Martin Schaaf 2012-01-01 16:17:19 UTC
*** Bug 666944 has been marked as a duplicate of this bug. ***
Comment 26 André Klapper 2020-03-17 08:58:38 UTC
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.