I've only run a quick test yet on my Linux setup but so far I seem to get the right number of tracks, albums and artists.
However, it had a big negative impact on the performance in my 50 000 track test library when doing an initial scan with empty Cache directory:
r33019: Scanning new files phase: 12 minutes
r33020: Scanning new files phase: 22 minutes
I'll run more tests tomorrow and later in the week to make sure this is repeatable and wasn't just caused by something temporary in my virtual test environment.
Of course, even at 22 minutes it's still faster than MySQL which took about 34 minutes when I tried it earlier today, so if it does the right thing it might be acceptable to loose a bit of performance of full rescans.
Results 11 to 20 of 199
-
2011-08-08, 16:06 #11Erland Isaksson (My homepage)
(Developer of many plugins/applets (both free and commercial).
If you like to encourage future presence on this forum and/or third party plugin/applet development, consider purchasing some plugins)
You may also want to try my Android apps Squeeze Display and RSS Photo Show
Interested in the future of music streaming ? ickStream - A world of music at your fingertips.
-
2011-08-08, 21:58 #12Senior Member
- Join Date
- Jul 2007
- Posts
- 630
works, but is slightly slower
On an old and slow ARM Linux NAS box, I have 7,898 tracks which were first-time scanned in 27 minutes instead of the previous 24 minutes.Code:Operating system: Linux - EN - utf8 Platform Architecture: armv5tel-linux Perl Version: 5.10.0 - armv5tel-linux-thread-multi Database Version: DBD::SQLite 1.34_01 (sqlite 3.7.7.1) Total Players Recognized: 1
Look for new and changed music ran much as before, and I was able to browse the music library as usual.
I verified the presence of squeezebox-persistent.db-wal, squeezebox.db-wal and ArtworkCache.db-wal in my Cache directory.----------------------
"Dreamer, easy in the chair that really fits you..."
-
2011-08-09, 00:00 #13Erland Isaksson (My homepage)
(Developer of many plugins/applets (both free and commercial).
If you like to encourage future presence on this forum and/or third party plugin/applet development, consider purchasing some plugins)
You may also want to try my Android apps Squeeze Display and RSS Photo Show
Interested in the future of music streaming ? ickStream - A world of music at your fingertips.
-
2011-08-09, 04:00 #14Member
- Join Date
- Dec 2007
- Posts
- 215
SQLite WAL in 7.6.1 - please test
On 8 August 2011 23:04, JJZolx
<JJZolx.4y693z1312841161 (AT) no-mx (DOT) forums.slimdevices.com> wrote:
>
> Is it working for anyone on Windows?
I cant get it working on windows either..
The initially produced 71k squeezebox.db loads fine into SQlite
Manager and does indeed have the WAL set as the journal mode.
But... A few seconds later, when it starts getting written to, SQlite
Manager reckons the db file's corrupt and no matter what I do I cant
open it.
The ArtworkCache.db and squeezebox-persistent.db are all fine..
After stopping, clearing, starting, scanning and waiting:
Directory of C:\ProgramData\Squeezebox\Cache
09/08/2011 11:29 986,112 ArtworkCache.db
09/08/2011 11:29 1,166 extrastrings.json
09/08/2011 11:29 26,858 plugin-data.yaml
09/08/2011 11:29 290,816 squeezebox-persistent.db
09/08/2011 11:29 91,136 squeezebox.db
09/08/2011 11:33 32,768 squeezebox.db-shm
09/08/2011 11:29 0 squeezebox.db-wal
09/08/2011 11:29 32,768 SQUEEZ~1.DB-shm
09/08/2011 11:29 353,208 SQUEEZ~1.DB-wal
09/08/2011 11:29 96,694 strings.586.bin
Hope that helps,
--
- Dr Lovegrove
http://www.rusticrhino.com/drlovegrove
http://groups.google.com/group/moosenews
-
2011-08-09, 04:09 #15Senior Member
- Join Date
- May 2009
- Location
- Denmark (Struer)
- Posts
- 798
Slower here as well, 0:45 now 1:16
And it appears that I lost half my library
New Library Statistics
Total Tracks: 4,518
Total Albums: 514
Total Artists: 265
Total Genres: 50
Total Playing Time: 347:45:14
It used to be (33011):
Total Tracks: 9,018
Total Albums: 814
Total Artists: 397
Total Genres: 59
Total Playing Time: 679:04:10
and scanning reports the right numbers
Discovering files: E:\music (10542 of 10542) Complete 00:00:09
Scanning new files: E:\music (9018 of 9018) Complete 00:00:57
Discovering playlists: C:\Users\jfm\Music\Playlists (1 of 1) Complete 00:00:00
Pre-caching Artwork (453 of 453) Complete 00:00:10
The server has finished scanning your music collection.
Total Time: 00:01:16 (Tuesday, August 9, 2011 / 12:56 PM)
Nothing in the logfiles
Edit: using windowsLast edited by slate; 2011-08-09 at 07:44.
Main: Receiver (Audiocom) -> Beresford Caiman+ (Gatorized) -> Carver A-500x -> B&W 704
Office: Receiver -> Luxman L-210 -> Stax SR84 Pro
-> Beresford Caiman (Gatorized) -> Superlux HD668B
Server: A8-5500, 4 GB, SSD+ 2*1 TB, Win8 w. SBS 7.8 (SQLite w. High Mem)
Tied together by D-Link DIR-655 + DGS-1008D
-
2011-08-09, 06:41 #16Senior Member
- Join Date
- May 2007
- Posts
- 132
Unfortunately, the scanner (7.6.1 v.33022 for readyNas Pro) sometimes scanned twice the same song. I have 25 451 songs in my musical library (iTunes), but with this scan, 32 632 is appearing on my Squeezebox server...
-
2011-08-09, 08:25 #17
nice work, Andy!
r33022+perl 5.12+FreeBSD 8.2 is running fine for me. I zapped the old db files before starting a full scan, and I can browse and play stuff even though it's scanned less than 10% of my collection so far.
No point in posting a timing comparison; I'm scanning an old backup drive.
I'm still not seeing any "the server is still scanning your collection" notification. Should I put in a bug report for that?Don't push your love too far
Your wounds won't leave a scar
Right now is where you are
In a broken dream.
-
2011-08-09, 08:31 #18
It's OK if performance is a bit less than before, I'm not so worried about that as long as it scans correctly. Turning off exclusive locking is probably the main reason for this, I may see if it can be re-enabled later.
Some people are reporting missing around half their files. This was a bug I also ran into while developing but I thought I had fixed it. If you have this problem, can you try moving your existing squeezebox-persistent.* files out of the way and see if the problem goes away with a full scan?
I don't think it matters on Windows if the files show up as 8.3 filenames or not. SQLite has internal Win32 code that should take care of this sort of thing.
Note that if you're using a SQLite viewer app that it will need to be new enough to support WAL mode, make sure you have the latest version.
-
2011-08-09, 09:23 #19Senior Member
- Join Date
- May 2008
- Location
- Netherlands
- Posts
- 586
Well, after I deleted the squeezebox-persistent.* files, it doesn't rebuild the database at all... 0 tracks 0 albums 0 artists. The scanner detects all files and then quits...
Please vote:
bug 1330 New music should work on creation date
bug 2140 Allow specification of SlimServer address by DNS Name
bug 9152 SqueezeNetwork keep track of SqueezeCenter IP addresses
bug 17542 Albums not credited to Album Artist
bug 17799 Use a separator such as 'Also appears on' when viewing the albums by an artist
1x Boom, 1x Classic, 4x Controller, 1x Radio, 4x Receiver, 2x Touch (Hoping for a Boom II & Receiver II, which will unfortunately never happen!)
-
2011-08-09, 09:28 #20Member
- Join Date
- Dec 2007
- Posts
- 215
SQLite WAL in 7.6.1 - please test
On 9 August 2011 16:31, andyg
<andyg.4y7ljb1312903921 (AT) no-mx (DOT) forums.slimdevices.com> wrote:
>
> I don't think it matters on Windows if the files show up as 8.3
> filenames or not. SQLite has internal Win32 code that should take care
> of this sort of thing.
>
> Note that if you're using a SQLite viewer app that it will need to be
> new enough to support WAL mode, make sure you have the latest version.
There is something up on windows though and it consistently creates a
duff .db file on my safe-mode setup with just 1 album..
The server reckons no library's been set once it's done it too.
I use this guy in Firefox for browsing db's:
http://code.google.com/p/sqlite-manager/
It's based on 3.7.5, so should be fine with WAL.
The artwork and persistent db's show up with WAL mode ticked, as does
squeezebox.db for the 1st couple of seconds.. After that it corrupts..
I've gone back to yesterday's nightly and all is well again - the
journal mode's back at 'delete' etc, so it's definitely this new stuff
causing the problem..
Be great if you could get WAL mode working.. Moose's new SQLite
scanner should (in theory) already support it too. :-)
--
- Dr Lovegrove
http://www.rusticrhino.com/drlovegrove
http://groups.google.com/group/moosenews

Reply With Quote


