Philip Meyer;634153 Wrote: 
> >I'll fetch latest and try again, and pay attention to the music library
> whilst it's reporting scan progress+finished.
> >
> Okay, manually deleted all .db files, fetched latest SBS from
> onebrowser branch, and started SBS.  It reported blank library (no
> totals displayed), and auto started scanning.
> 
> Library was reported as empty.
> 
> At some random point whilst scanning new files, the scanner process
> crashes, reports that it has finished scanning (doesn't say
> successfully or an error), and total scan time continues to increment. 
> It says it's scanned 5033 files (reports a different number of files
> each time I try a fresh scan).
> 
> The library is still empty, however the totals are now displayed as "0
> albums with 0 songs by 0 artists".
> 
> Phil
> 
I think there are some file moving happening with SQLite at the end of
the full rescan, so if it crashes it probably never renames/moves the
file. As I've understood the principle is that a full rescan is
performed towards a separate SQLite database file and at the end of the
scanning process it overwrites the normal SQLite database file
(squeezebox.db) with the one produced by the scanner process.

I haven't looked at this recently, so things might have changed, but at
least earlier this was the process.

Incremental rescans doesn't run as a separate process and modifies the
normal SQLite database file directly.


-- 
erland

Erland Isaksson ('My homepage' (http://erland.isaksson.info))
(Developer of 'many plugins/applets'
(http://wiki.slimdevices.com/index.php/User:Erland). If my answer
helped you and you like to encourage future presence on this forum
and/or third party plugin/applet development, 'donations are always
appreciated' (http://erland.isaksson.info/donate))
------------------------------------------------------------------------
erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=88052

_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/beta

Reply via email to