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 337829 - [PATCH] Mass storage duplicate handling
[PATCH] Mass storage duplicate handling
Status: RESOLVED DUPLICATE of bug 343785
Product: banshee
Classification: Other
Component: general
git master
Other All
: Normal normal
: 2.x
Assigned To: Banshee Maintainers
Banshee Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-04-09 18:14 UTC by James Stembridge
Modified: 2006-06-03 20:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch (1.51 KB, patch)
2006-04-09 18:15 UTC, James Stembridge
none Details | Review

Description James Stembridge 2006-04-09 18:14:51 UTC
Please describe the problem:
Currently the mass storage dap plugin doesn't handle duplicates, i.e. handling
the addition of a track that is already stored on the dap.

The attached patch adds the following duplicate logic. If the track currently
held on the dap is older than that being added it is removed and the new track
is added. If the added track is not newer then the addition is skipped.

Steps to reproduce:
1. Add a track to a mass storage dap.
2. Add the same track to mass storage dap again.



Actual results:
Banshee crashes.

Expected results:


Does this happen every time?
Yes.

Other information:
Comment 1 James Stembridge 2006-04-09 18:15:28 UTC
Created attachment 63035 [details] [review]
Patch
Comment 2 James Stembridge 2006-06-03 20:34:04 UTC

*** This bug has been marked as a duplicate of 343785 ***