Bug 3685 - Playlists interferes with last album scanned
: Playlists interferes with last album scanned
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Database
: 6.5b1
: PC Windows XP
: P2 normal (vote)
: ---
Assigned To: Dan Sully
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-07-02 09:48 UTC by sbjaerum
Modified: 2008-09-15 14:39 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments
Flac file 1 (11.58 KB, application/octet-stream)
2006-07-02 09:49 UTC, sbjaerum
Details
Flac file 2 (10.98 KB, application/octet-stream)
2006-07-02 09:49 UTC, sbjaerum
Details
Playlist (574 bytes, text/plain)
2006-07-02 09:50 UTC, sbjaerum
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sbjaerum 2006-07-02 09:48:21 UTC
I am using 6.5 r8244 on WinXP.
My library consists of FLACs with embedded cuesheets.

All the albums appear correct in slimserver, except the last album scanned. This album get entries from my playlists (such as radio stations) assigned as tracks.

If I view the database with MySQL Query Browser, the last album has only NULL entries.

This problem has been discussed in http://forums.slimdevices.com/showthread.php?t=25060

Steps to reproduce
1. Put the attached flac files (contains only metadata) in the music library directory.
2. Put the attached playlist in the playlist directory.
3. Delete the cache directory.
4. Browse to the albums. One of the albums (the one last scanned) will have the radio stations from the playlist included as tracks.

My guess is that the problem is related to the transition from scanning the music folder to scanning the playlist folder. May be the scanning of the music folder is not "finalized" correctly?

A possible workaround:
Delete the cache directory, and do the scanning manually with scanner.pl:
1. scanner.pl <music directory>
2. scanner.pl --playlists
Both the albums and playlist now appear correctly in slimserver.
Comment 1 sbjaerum 2006-07-02 09:49:12 UTC
Created attachment 1306 [details]
Flac file 1
Comment 2 sbjaerum 2006-07-02 09:49:55 UTC
Created attachment 1307 [details]
Flac file 2
Comment 3 sbjaerum 2006-07-02 09:50:21 UTC
Created attachment 1308 [details]
Playlist
Comment 4 Dan Sully 2006-07-05 16:59:44 UTC
Fixed in change 8291.

Thanks for the easy test-case.
Comment 5 Christopher Key 2006-07-06 10:17:17 UTC
*** Bug 3691 has been marked as a duplicate of this bug. ***