Bug 2556 - Browsing into new folder doesn't scan with readTags
: Browsing into new folder doesn't scan with readTags
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Database
: 6.2.1
: PC Windows XP
: P2 normal (vote)
: ---
Assigned To: Dan Sully
http://www.sonic.net/dcarwin/images/c...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-11-14 00:15 UTC by Dan Carwin
Modified: 2008-09-15 14:38 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Carwin 2005-11-14 00:15:03 UTC
reproducible. found in version 6.2.0, also tested 6.2.1 (11/13)

1. Rip a new cd (eac - flac.exe)
2. Navigate into folder using browse by folder (remote control)
3. Play song 3 (for example)
4. Press fwd to go to next song.
(Problem: Can't open file for)

It seems the db info for the folder of songs is only being partially written.  I see full tag info in the tracks table for some of the songs, and only the URL and ID for the rest.  These other songs can;t be played, and only a full db rescan seems to resolve the issue.

See url: http://www.sonic.net/dcarwin/images/corrupt-db.JPG

for example of half-written file information.  Any tracks not fully written in the table are not playable.

d_info log shows:

2005-11-13 22:39:49.7568 ERROR: Couldn't open song.
2005-11-13 22:39:49.8710 ERROR: Couldn't gotoNext, stopping
2005-11-13 22:40:41.4525 ERROR: Couldn't open song.
2005-11-13 22:40:41.5089 ERROR: Couldn't gotoNext, stopping
2005-11-13 22:40:41.5115 ERROR: Couldn't open song.
2005-11-13 22:40:41.5664 ERROR: Couldn't gotoNext, stopping

Thanks,
Dan
Comment 1 Dan Sully 2005-11-14 13:46:45 UTC
Dan - the database isn't corrupted - it's just that things are dynamically loaded.

The fix, unfortunately isn't quite easy - so I'm pushing it off of 6.2.1
Comment 2 Dan Carwin 2005-11-14 15:30:54 UTC
Thanks Dan,

Knowing what you do about the behavior of the dynamic load/scan, is there a way I can ensure a complete load before playing?  e.g. Pause longer before trying to play, scroll completely through the file list, etc?

Agreed "corrupt" isn't the right term, but the db for that folder does get "stuck" and fails to complete the load process.

Thanks,
Dan
Comment 3 Dan Sully 2005-11-14 15:42:40 UTC
Scrolling through the file list should do it.
Comment 4 Dan Sully 2005-11-21 12:10:46 UTC
Dan - this should be fixed in the 6.2.2 nightlies as of tonight's build - 11-22-2005