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 573219 - Unnecessary syncing with auto-sync
Unnecessary syncing with auto-sync
Status: RESOLVED DUPLICATE of bug 569379
Product: banshee
Classification: Other
Component: Device - USB Mass Storage
1.4.2
Other All
: Normal normal
: 1.x
Assigned To: Gabriel Burt
Gabriel Burt
Depends on:
Blocks:
 
 
Reported: 2009-02-26 03:56 UTC by Darin Ohashi
Modified: 2009-03-01 22:16 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Darin Ohashi 2009-02-26 03:56:03 UTC
Please describe the problem:
This may or may not be related to Bug 573217.

I have a Cowon D2.  When I plug it into banshee, it will delete about 200 files and then re-sync the files back.  These files have not changed in either banshee or the D2.

Steps to reproduce:
1. Plug the D2 into banshee with auto-sync
2. 
3. 


Actual results:
Some files are deleted from the D2, and then immediately re-synced back

Expected results:
There should be no need to delete and then add the same files.

Does this happen every time?
yes

Other information:

In relation to Bug 573217, it appears as though more files are deleted and added, then are re-encoding.  So I don't think it is just those files getting copied over again.
Comment 1 Darin Ohashi 2009-02-28 05:09:32 UTC
I've been experimenting with this.  It looks like the files that are being sync'ed are the same files that are re-encoded (Bug 573217).

I don't know how the banshee sync'ing mechanism works, my guess would be that banshee sees the files on the media player and in the library as having the same names, but are different files (due to the re-encoding).  Thus it looks as though the files in the library are different than the files on the player and banshee tries to sync them.  For some reason (Bug 573217) banshee thinks the files need to be re-encoded, thus the files that end up on the media player are once again different than the ones in the library.

It seems like banshee needs help determining if the files on the media player are simply a re-encoded version of the files the library.  How about adding a tag in the media player version of the file that stores a hash of the original file?  Banshee can compare the hash in the file on the media player to the actual hash of the file in the Library.  If the hashes match, then it is very likely that the media player file is simply a re-encoded version of the Library file.
Comment 2 Gabriel Burt 2009-03-01 22:16:34 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


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