[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnupod] Duplicate Song Added
From: |
H. Langos |
Subject: |
Re: [Bug-gnupod] Duplicate Song Added |
Date: |
Mon, 27 Jul 2009 10:01:37 +0200 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
Hi Dave,
On Sun, Jul 26, 2009 at 08:50:06PM -0400, Dave Jarvis wrote:
> 6. gnupod_INIT.pl -m "/media/ipod"
> 7. gnupod_search.pl -m "/media/ipod" -a "Belvedere"
>
> Results:
> ID |ARTIST |ALBUM |TITLE
> ========================================================================================================
...
> 3048|The Belvedere Broadcasters |Authentic Arrangements
> |Tain't No Sin
...
> Then:
> 1. sudo gnupod_addsong.pl -m "$IPOD_MOUNTPOINT" Taint_No_Sin.mp3
>
> *Expected Results*
> The song should have been detected as a duplicate.
>
> *Actual Results*
> The song was added.
Thanks for the bug report. I'm in the middle of moving house so here's just a
quick
idea.
The detection of duplicates (for non-converted and non-podcast items) is based
soly
on the attributes "title", "bitrate", "time", and "filesize".
Are you absolutely sure that you are adding the same file again? Not a
differently
encoded version of it. Or one from a single where the sound engineer left a
couple more
seconds of silence at the endi than at the album version?
Even changing id3 tags can often lead to a change in filesize and thus make it
look like a different song.
Try this to find the actual difference:
$ grep "No Sin" $IPOD_MOUNTPOINT/iPod_Control/.gnupod/GNUtunesDB.xml | less -S
Cheers
-henrik