Bug 1226 - Parts or full albums missing.
: Parts or full albums missing.
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Database
: 6.0.0
: All All
: P2 major with 1 vote (vote)
: ---
Assigned To: Dan Sully
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-03-29 07:15 UTC by Steven Moore
Modified: 2008-08-18 10:54 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steven Moore 2005-03-29 07:15:27 UTC
I installed V6.0.0 of slimserver and did a wipe cache. The server performed a rescan. After the rescan I 
have found when looking at some albums in the Web interface the album appears with the statement 
eg: 1 album with 15 songs by 1 artist. In some cases all the tracks are displayed but in some cases 
none, one, or a few tracks are displayed. If you click on the album name the statement changes to 1 
album with 1 songs by 1 artist, for example if only one song is displayed.
Consulting the log with -info and -scan debug settings on. I found that the following message was 
appearing when I clicked the album name:

2005-03-29 12:12:10.0948 deleting file:///Volumes/media/itunes/Mrs%20Sidney%20Carter/
61%20Highway%20Mississippi/Didn't%20Leave%20Nobody%20but%20the%20Baby.mp3 from cache as it 
has changed

I checked the file and it had not been moved or changed.
I then tried disabling the use itunes option to see if that had any effect. I set the Music folder to the 
same music folder as itunes used. I did a rescan and checked various albums at random and found the 
same thing happening.
I don't know how this could be happening, the 5.4.0 server worked fine with the same music.
Imac 10.3.8, V6.0.0, music on external firewire hd, itunes xml in home directory.
Comment 1 Dan Sully 2005-03-29 17:21:26 UTC
Steven - I checked in a fix today which may help with this issue.

Could you try tonight's build? (about 9am your time).

Thanks
Comment 2 Vidur Apparao 2005-04-01 13:08:15 UTC
I've put in one more attempt at fixing this today (1/1). I'm still not able to
understand or recreate why the change condition is triggered, but we now do the
right thing when it is - re-read tags rather than delete it from the database.

Should appear in the 1/2/2005 nightly build of 6.1
(http://www.slimdevices.com/downloads/nightly/latest/6.1/).
Comment 3 James Craig 2005-04-02 10:39:02 UTC
Have had last night's build of SlimServer on random all day - has played fine!
Comment 4 Steven Moore 2005-04-03 11:20:18 UTC
Yes this seems to be much better. I've been browsing for a while and not found any songs being cleared 
from the db. Setting -info in debugging and watching the console.
I stumbled across a connection between the cleared files on my computer, some had .Mp3 or .MP3 as 
their extension, note the upper case. Maybe this was a problem too.
Although if you look at the description the file is a .mp3 file.
I have since changed all .mp3 extensions to .mp3.
On wipe/rescan it seems to be picking all my files up, fingers crossed.
I think we should let it run for a few days to make sure it's okay.
Comment 5 Dan Sully 2005-04-03 15:36:46 UTC
*** Bug 1256 has been marked as a duplicate of this bug. ***
Comment 6 James Craig 2005-04-03 23:53:37 UTC
I did have playback stop twice over the weekend.
Looked like 'getInfoForUrl'(or Object?) failed and playback stopped.
If I hit play again it worked and playback continued.
Comment 7 James Craig 2005-04-04 02:35:09 UTC
This is the --d_info log for it happening:
1) partyshuffle plugin adds the track. Looks like it's read correctly?
2) The web interface refreshes, objectForUrl fails, track disappears from Web UI
playlist
3) the current playing track ends ( this new track is next), readTags runs
successfully but playback is stopped. 
4) web UI/Squeezebox show 'current' track correctly but it is missing from playlist
5) press play to start again and track reappears in playlist!


2005-04-04 10:12:16.4110 PartyShuffle: open (9 of 9)
2005-04-04 10:12:16.4475 PartyShuffle: added E:\The BlueBoy\Remember Me\01
Remember Me [Sure is Pure 7_ edit.mp3 to Slim
::Player::SqueezeboxG=ARRAY(0x35bac90)
2005-04-04 10:12:16.4517 Converting
file:///E:/The%20BlueBoy/Remember%20Me/01%20Remember%20Me%20[Sure%20is%20Pure%207_%2
0edit.mp3 to E:\The BlueBoy\Remember Me\01 Remember Me [Sure is Pure 7_ edit.mp3
2005-04-04 10:12:16.4526 mp3 file type for
file:///E:/The%20BlueBoy/Remember%20Me/01%20Remember%20Me%20[Sure%20is%20Pure
%207_%20edit.mp3
2005-04-04 10:12:17.7169 DBI: Supressing periodic commit - no dirty items
2005-04-04 10:12:47.7177 DBI: Supressing periodic commit - no dirty items
2005-04-04 10:13:02.7812 Scanning with 0 import plugins
2005-04-04 10:13:05.2506 Scanning with 0 import plugins
2005-04-04 10:13:06.4228 CacheItem: Checking status of
file:///E:/Air/10,000%20Hz%20Legend/06%20Lucky%20And%20Unhappy.mp
3 (TTL: 0).
2005-04-04 10:13:06.5443 CacheItem: Checking status of
file:///E:/Boards%20Of%20Canada/Geogaddi/19%20Dawn%20Chorus.mp3 (
TTL: 0).
2005-04-04 10:13:06.6437 CacheItem: Checking status of
file:///E:/Air/10,000%20Hz%20Legend/10%20Don%27t%20Be%20Light.mp3
 (TTL: 0).
2005-04-04 10:13:06.7509 CacheItem: Checking status of
file:///E:/Annie/Anniemal/11%20Come%20Together.mp3 (TTL: 0).
2005-04-04 10:13:06.7957 CacheItem: Checking status of
file:///E:/Compilations/Crydamoure%20-%20Waves/12%20Spaced%20Out.
mp3 (TTL: 0).
2005-04-04 10:13:06.8358 CacheItem: Checking status of
file:///E:/Compilations/Crydamoure%20-%20Waves/10%20Wrath%20Of%20
Zeus.mp3 (TTL: 0).
2005-04-04 10:13:06.9396 Couldn't retrieve objectForUrl:
[file:///E:/The%20BlueBoy/Remember%20Me/01%20Remember%20Me%20[S
ure%20is%20Pure%207_%20edit.mp3] - skipping!
2005-04-04 10:13:17.7187 DBI: Supressing periodic commit - no dirty items
2005-04-04 10:13:47.7196 DBI: Supressing periodic commit - no dirty items
2005-04-04 10:13:49.5297 Scanning with 0 import plugins
2005-04-04 10:13:49.6378 Scanning with 0 import plugins
2005-04-04 10:14:17.7206 DBI: Supressing periodic commit - no dirty items
2005-04-04 10:14:47.7373 DBI: Supressing periodic commit - no dirty items
2005-04-04 10:15:22.5469 DBI: Supressing periodic commit - no dirty items
2005-04-04 10:15:52.4375 Scanning with 0 import plugins
2005-04-04 10:15:52.6209 DBI: Supressing periodic commit - no dirty items
2005-04-04 10:15:52.7482 Scanning with 0 import plugins
2005-04-04 10:16:13.9789 New track for
file:///E:/The%20BlueBoy/Remember%20Me/01%20Remember%20Me%20[Sure%20is%20Pure%207
_%20edit.mp3
2005-04-04 10:16:23.3125 readTag was set for
file:///E:/The%20BlueBoy/Remember%20Me/01%20Remember%20Me%20[Sure%20is%20Pu
re%207_%20edit.mp3
2005-04-04 10:16:23.3138 reading tags for:
file:///E:/The%20BlueBoy/Remember%20Me/01%20Remember%20Me%20[Sure%20is%20Pure
%207_%20edit.mp3
2005-04-04 10:16:23.3407 isFile(E:\The BlueBoy\Remember Me\01 Remember Me [Sure
is Pure 7_ edit.mp3) == 1
2005-04-04 10:16:23.3426 Adding
file:///E:/The%20BlueBoy/Remember%20Me/01%20Remember%20Me%20[Sure%20is%20Pure%207_%20edi
t.mp3 : TAG to 1
2005-04-04 10:16:23.3439 Adding
file:///E:/The%20BlueBoy/Remember%20Me/01%20Remember%20Me%20[Sure%20is%20Pure%207_%20edi
t.mp3 : BLOCKALIGN to 1
2005-04-04 10:16:23.3450 Adding
file:///E:/The%20BlueBoy/Remember%20Me/01%20Remember%20Me%20[Sure%20is%20Pure%207_%20edi
t.mp3 : TITLESORT to REMEMBER ME [SURE IS PURE 7 EDIT]
2005-04-04 10:16:23.3583 Adding
file:///E:/The%20BlueBoy/Remember%20Me/01%20Remember%20Me%20[Sure%20is%20Pure%207_%20edi
t.mp3 : TRACKNUM to 1
2005-04-04 10:16:23.3595 Adding
file:///E:/The%20BlueBoy/Remember%20Me/01%20Remember%20Me%20[Sure%20is%20Pure%207_%20edi
t.mp3 : TITLE to Remember Me [Sure is Pure 7" edit]
2005-04-04 10:16:23.3607 Adding
file:///E:/The%20BlueBoy/Remember%20Me/01%20Remember%20Me%20[Sure%20is%20Pure%207_%20edi
t.mp3 : VBR_SCALE to 58
2005-04-04 10:16:23.3619 Adding
file:///E:/The%20BlueBoy/Remember%20Me/01%20Remember%20Me%20[Sure%20is%20Pure%207_%20edi
t.mp3 : SIZE to 4489914
2005-04-04 10:16:23.3630 Adding
file:///E:/The%20BlueBoy/Remember%20Me/01%20Remember%20Me%20[Sure%20is%20Pure%207_%20edi
t.mp3 : FS to 4492507
2005-04-04 10:16:23.3641 Adding
file:///E:/The%20BlueBoy/Remember%20Me/01%20Remember%20Me%20[Sure%20is%20Pure%207_%20edi
t.mp3 : YEAR to 1997
2005-04-04 10:16:23.3652 Adding
file:///E:/The%20BlueBoy/Remember%20Me/01%20Remember%20Me%20[Sure%20is%20Pure%207_%20edi
t.mp3 : OFFSET to 2465
2005-04-04 10:16:23.3664 Adding
file:///E:/The%20BlueBoy/Remember%20Me/01%20Remember%20Me%20[Sure%20is%20Pure%207_%20edi
t.mp3 : SECS to 230.452244897959
2005-04-04 10:16:23.3743 Adding
file:///E:/The%20BlueBoy/Remember%20Me/01%20Remember%20Me%20[Sure%20is%20Pure%207_%20edi
t.mp3 : CT to mp3
2005-04-04 10:16:23.3756 Adding
file:///E:/The%20BlueBoy/Remember%20Me/01%20Remember%20Me%20[Sure%20is%20Pure%207_%20edi
t.mp3 : TAGVERSION to ID3v1.1 / ID3v2.3.0
2005-04-04 10:16:23.3768 Adding
file:///E:/The%20BlueBoy/Remember%20Me/01%20Remember%20Me%20[Sure%20is%20Pure%207_%20edi
t.mp3 : AGE to 1099767763
2005-04-04 10:16:23.3779 Adding
file:///E:/The%20BlueBoy/Remember%20Me/01%20Remember%20Me%20[Sure%20is%20Pure%207_%20edi
t.mp3 : BITRATE to 155000
2005-04-04 10:16:23.5070 DBI: Periodic commit - 3 dirty items
2005-04-04 10:16:23.5088 forceCommit: syncing to the database.
Comment 8 Dan Sully 2005-04-11 15:02:11 UTC
Vidur - any thoughts on why this might be happening?

James - is this with iTunes only, or with a Music Folder, or both?

Did my iTunes fix for accented characters the other day help at all?

Thanks.
Comment 9 Vidur Apparao 2005-04-11 15:36:35 UTC
Seems like the track didn't exist in the database prior to being added to the
playlist. Most plugins that add new tracks (specifically the radio plugins) add
them to the database (often by setting title or content type) prior to putting
them on the playlist. I'm not familiar enough with the PartyShuffle playlist to
know whether it can/should know about tracks that we haven't yet seen via a
prior scan.
Comment 10 James Craig 2005-04-12 02:06:43 UTC
I am hoping this will have been fixed by the fix for bug 1248 - Haven't checked yet.

The tracks I'm adding should be in the database already.
Comment 11 James Craig 2005-04-12 13:08:18 UTC
My problem is still occurring, I will create a new bug for it.
Think this one is fixed?
Comment 12 Dan Sully 2005-04-12 13:19:09 UTC
James - if you remove the party shuffle plugin - do you still have this issue?
Comment 13 Dan Sully 2005-04-12 16:34:41 UTC
I think so - but I'd like to get confirmation from Steven.
Comment 14 James Craig 2005-04-13 01:27:31 UTC
Since the fix, I have not observed the problem when not using the Party Shuffle
plugin.