Bug 4027 - Duplicate tracks - every track being listed twice per album
: Duplicate tracks - every track being listed twice per album
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Database
: 6.5b1
: PC Windows XP
: P1 critical (vote)
: ---
Assigned To: Dan Sully
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-08-31 13:35 UTC by Dominic Evans
Modified: 2008-09-15 14:39 UTC (History)
5 users (show)

See Also:
Category: ---


Attachments
Requested log (1.10 MB, text/plain)
2006-09-01 15:06 UTC, Dominic Evans
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dominic Evans 2006-08-31 13:35:29 UTC
I am seeing every track in every album listed twice, even with a complete clear and rescan, and therefore also each track plays twice. I have disabled itunes, moodlogic, magic plugins. This bug appears right from the go; i have tried uninstalling slimserver completely, but after reinstalling it and the first initial scan and database build, i see see every track duplicated right away. This occures with almost every album (It does not happen with albums which consist of Image/CUE) and every format i use (OGG, MP3, FLAC, WMA). 

I am currently using August the 31's build, but i have had this with the last 4 builds.

I selected d_scan in debuging, restarted slimserver and done a scan. For some reason, no log.txt file is being generated, so i can't attach that.

Copied & Pasted from Slimserver;

All Songs
Play Add to playlist
1. Barefoot Acoustic from All My Favourite by A Man Called Adam
Play Add to playlist
1. Barefoot Acoustic from All My Favourite by A Man Called Adam
Play Add to playlist
2. Six More Days from All My Favourite by A Man Called Adam
Play Add to playlist
2. Six More Days from All My Favourite by A Man Called Adam
Play Add to playlist
3. Earth Sings from All My Favourite by A Man Called Adam
Play Add to playlist
3. Earth Sings from All My Favourite by A Man Called Adam
Play Add to playlist
4. Easter Song from All My Favourite by A Man Called Adam
Play Add to playlist
4. Easter Song from All My Favourite by A Man Called Adam
Play Add to playlist
5. Love Forgotten from All My Favourite by A Man Called Adam
Play Add to playlist
5. Love Forgotten from All My Favourite by A Man Called Adam
Play Add to playlist
6. Estelle from All My Favourite by A Man Called Adam
Play Add to playlist
6. Estelle from All My Favourite by A Man Called Adam
...

PS - I have selected Database as the component effected, change if that wrong (could be scanner?).
Comment 1 Dominic Evans 2006-08-31 13:41:16 UTC
Also, i don't know if this is of any use, but if i select an album before slimserver has finished scanning my library it shows each track once correctly. It's not right up until the moment that SS has finished scanning that each track is there twice. I'm not sure if that offer any clues, probably not!
Comment 2 Chris Owens 2006-09-01 11:15:04 UTC
I've filed a separate bug about scanning not showing up in the logs.

In the mean time, we can look at the scanner logs the old-fashioned way by running scanner.exe from the command line.

Open up a command prompt window, and type "cd \program files\slimserver\server" to get to the right directory.  Then type "scanner --wipe --d_import --d_scan > log.txt 2>&1" to save the output of the scanner process into a file called log.txt.  You can of course use a different filename if you wish.

The strange "2>&1" bit on the end is necessary to also grab the output that is sent to stderr, if you're familiar with programming.

Then, please attach the resulting file to the bug so we can see what's going on with your system!
Comment 3 Dominic Evans 2006-09-01 15:06:41 UTC
Created attachment 1492 [details]
Requested log

As requested, here is the log file.
Comment 4 Dan Sully 2006-09-02 16:48:27 UTC
Dominic - is your Music Folder & Playlist Folder set to the same path?

Thanks
Comment 5 Dan Sully 2006-09-06 11:49:10 UTC
ping
Comment 6 Matt Welsh 2006-09-09 07:21:04 UTC
I am also seeing this problem with the latest (release) version of SlimServer.
I have my playlists directory as a subdirectory of my music folder.
(This used to be NECESSARY for previous versions of SlimServer to see my 
playlists at all!) When I disable the playlist directory altogether, that is,
leave it blank, the problem goes away. I have not yet tried moving my playlist
directory elsewhere.

Comment 7 Dan Sully 2006-09-09 07:45:22 UTC
Subject: Re:  Duplicate tracks - every track being listed twice per album

Perhaps a very old version of SlimServer used to require that.

Could you try moving your playlist directory outside of the music directory?

Thanks

Comment 8 Dan Sully 2006-09-10 16:22:17 UTC
Ping
Comment 9 Dan Sully 2006-09-10 17:58:02 UTC
Fixed in change 9579