PDA

View Full Version : Duplicate albums issue



Robin Bowes
2005-08-26, 07:45
Hi,

I've been seeing all sorts of "strange" (wrong!) behviour when scanning
my music library so I decided to go back to basics and debug what's
happening.

I changed the location of my music directory and put just one album in
their with the following structure:

..
`-- Lossless
|-- Classical
`-- Non-Classical
|-- Artists
| `-- Fleetwood Mac
| `-- (1977) Rumours - Deluxe Edition
| |-- Artwork_600dpi
| |-- Disc 1
| `-- Disc 2
`-- Various


The folders Disc 1 and Disc 2 contain the following files:

Disc 1
|-- 01 - Second Hand News.flac
|-- 02 - Dreams.flac
|-- 03 - Never Going Back Again.flac
|-- 04 - Don't Stop.flac
|-- 05 - Go Your Own Way.flac
|-- 06 - Songbird.flac
|-- 07 - Silver Springs.flac
|-- 08 - The Chain.flac
|-- 09 - You Make Loving Fun.flac
|-- 10 - I Don't Want To Know.flac
|-- 11 - Oh Daddy.flac
|-- 12 - Gold Dust Woman.flac
|-- Fleetwood Mac - Rumours (Expanded & Remastered) - Disc 1 of 2_flac.m3u
|-- Fleetwood Mac - Rumours (Expanded & Remastered) - Disc 1 of 2_wav.m3u
|-- Rumours (Expanded & Remastered) - Disc 1 of 2.log
|-- Rumours (Expanded & Remastered) - Disc 1 of 2_correctedGaps.cue
|-- Rumours (Expanded & Remastered) - Disc 1 of 2_currentGaps.cue
|-- Rumours (Expanded & Remastered) - Disc 1 of 2_leftoutGaps.cue
|-- Rumours (Expanded & Remastered) - Disc 1 of 2_noncompliant.cue
|-- fingerprint.txt
|-- flac_encode.jpg
|-- md5flac.txt
`-- md5wav.txt

Disc 2
|-- 01 - Second Hand News [Previously Unissued Outtake].flac
|-- 02 - Dreams [Previously Unissued Outtake].flac
|-- 03 - Brushes (Never Going Back Again) [Previously Unissued Outtake].flac
|-- 04 - Don't Stop [Previously Unissued Outtake].flac
|-- 05 - Go Your Own Way [Previously Unissued Outtake].flac
|-- 06 - Songbird [Previously Unissued Outtake].flac
|-- 07 - Silver Springs [Previously Unissued Outtake].flac
|-- 08 - You Make Loving Fun [Previously Unissued Outtake].flac
|-- 09 - Gold Dust Woman #1 [Previously Unissued Outtake].flac
|-- 10 - Oh Daddy [Previously Unissued Outtake].flac
|-- 11 - Think About It [Previously Unissued Outtake].flac
|-- 12 - Never Going Back Again [Previously Unissued Early Demo].flac
|-- 13 - Planets Of The Universe [Previously Unissued Early Demo].flac
|-- 14 - Butter Cookie (Keep Me There) [Previously Unissued Early Demo].flac
|-- 15 - Gold Dust Woman [Previously Unissued Early Demo].flac
|-- 16 - Doesn't Anything Last [Previously Unissued Early Demo].flac
|-- 17 - Mic The Screecher [Previously Unissued Jam Session].flac
|-- 18 - For Duster (The Blues) [Previously Unissued Jam Session].flac
|-- Fleetwood Mac - Rumours (Expanded & Remastered) - Disc 2 of 2_flac.m3u
|-- Fleetwood Mac - Rumours (Expanded & Remastered) - Disc 2 of 2_wav.m3u
|-- Rumours (Expanded & Remastered) - Disc 2 of 2.log
|-- Rumours (Expanded & Remastered) - Disc 2 of 2_correctedGaps.cue
|-- Rumours (Expanded & Remastered) - Disc 2 of 2_currentGaps.cue
|-- Rumours (Expanded & Remastered) - Disc 2 of 2_leftoutGaps.cue
|-- Rumours (Expanded & Remastered) - Disc 2 of 2_noncompliant.cue
|-- fingerprint.txt
|-- md5flac.txt
|-- md5wav.txt
`-- no_flac_encode.jpg_too_long_titles_screen_messed-up.txt


As you can see, there are various playlist files in each directory (.cue
and .m3u).

All .flac files are tagged "correctly", e.g.:

[robin@dude Disc 1]$ metaflac --list --block-type=VORBIS_COMMENT 01\ -\
Second\ Hand\ News.flac
METADATA block #2
type: 4 (VORBIS_COMMENT)
is last: false
length: 333
vendor string: reference libFLAC 1.1.1 20041001
comments: 11
comment[0]: Title=Second Hand News
comment[1]: Replaygain_track_peak=0.98846436
comment[2]: Replaygain_track_gain=-9.01 Db
comment[3]: TRACKNUMBER=01
comment[4]: Album=Rumours - Deluxe Edition
comment[5]: Artist=Fleetwood Mac
comment[6]: Discnumber=1
comment[7]: Genre=Classic Rock
comment[8]: Replaygain_album_gain=-7.71 Db
comment[9]: Replaygain_album_peak=0.98852539
comment[10]: DATE=1977

Now, what I would expect to happen is that after scanning I would have
one artist "Fleetwood Mac" and one album "Rumours - Deluxe Edition" with
two discs, e.g. "Rumours - Deluxe Edition (Disc 1)" and "Rumours -
Deluxe Edition (Disc 2)".

What I actually see is two artists:

(1977) Rumours - Deluxe Edition
Fleetwood Mac

If I click into the "artist" (1977) Rumours - Deluxe Edition I see two
albums: Disc 1 & Disc 2. Neither of these contain any files.

If I click into Fleetwood Mac I see four albums:

Rumours - Deluxe Edition (Disc 1)
Rumours - Deluxe Edition (Disc 2)
Rumours (Expanded & Remastered) - Disc 1 of 2
Rumours (Expanded & Remastered) - Disc 2 of 2

The first two entries I would expect to see, and they contain the
correct files (e.g. Second Hand News from Rumours - Deluxe Edition
(Disc 1) by Fleetwood Mac)

The 3rd and 4th entries are generated from the .cue files and contain
just one song - in each case, the last track on the disc.

If I browse albums, I see six albums:

Disc 1
Disc 2
Rumours - Deluxe Edition (Disc 1)
Rumours - Deluxe Edition (Disc 2)
Rumours (Expanded & Remastered) - Disc 1 of 2
Rumours (Expanded & Remastered) - Disc 2 of 2

1, 2, 5, & 6 are from the .cue files; 3 & 4 are correct.

One other thing I'm seeing - I have some old playlists in the playlist
directory. I'm also seeing "phantom" albums created from these playlists.

To sum up, I think all this mess would go away if slimserver completely
ignored playlist files when re-scanning the music library. Playlists
should only be checked when the are played and, even then, I don't think
the contents should be added to the music library.

Any thoughts?

R.

Robin Bowes
2005-08-26, 08:24
Robin Bowes said the following on 26/08/2005 15:45:
>
> To sum up, I think all this mess would go away if slimserver completely
> ignored playlist files when re-scanning the music library. Playlists
> should only be checked when the are played and, even then, I don't think
> the contents should be added to the music library.

I decided to confirm this by commenting out .cue and .m3u in types.conf
and restarting slimserver then re-scanning.

Sure enough, with these types removed, I get one artist "Fleetwood Mac"
and two albums "Rumours - Deluxe Edition (Disc 1)" and "Rumours - Deluxe
Edition (Disc 2)".

R.

--
http://robinbowes.com

If a man speaks in a forest,
and his wife's not there,
is he still wrong?

stevek1006
2005-08-30, 12:00
Hi,

To sum up, I think all this mess would go away if slimserver completely
ignored playlist files when re-scanning the music library. Playlists
should only be checked when the are played and, even then, I don't think
the contents should be added to the music library.

Any thoughts?

R.

I have the same problem of dublicate library entries being created from playlists. As I have noted elsewhere, I do not understand why playlist items get added to the library. The way I view it, the library is a database of all possible files. The playlist is simply a subset of those files in a particular order. Perhaps there is a good reason for this behavior that I just do not see, but if there is, the software must be able to identify identical files and not create duplicate entries.

-Steve

Robin Bowes
2005-08-31, 17:27
stevek1006 said the following on 30/08/2005 20:00:
> Robin Bowes Wrote:
>
>>Hi,
>>
>>To sum up, I think all this mess would go away if slimserver completely
>>
>>ignored playlist files when re-scanning the music library. Playlists
>>should only be checked when the are played and, even then, I don't
>>think
>>the contents should be added to the music library.
>>
>>Any thoughts?
>>
>>R.
>
>
> I have the same problem of dublicate library entries being created from
> playlists. As I have noted elsewhere, I do not understand why playlist
> items get added to the library. The way I view it, the library is a
> database of all possible files. The playlist is simply a subset of
> those files in a particular order. Perhaps there is a good reason for
> this behavior that I just do not see, but if there is, the software
> must be able to identify identical files and not create duplicate
> entries.

http://bugs.slimdevices.com/show_bug.cgi?id=2048

--
http://robinbowes.com

If a man speaks in a forest,
and his wife's not there,
is he still wrong?