Dear Erland,

This is a new request about TrackStat.
As I explained, I was using SBS755 and I had no issue with Trackstat.

First, I will do a little remark before explaining the issue :
"The new LMS uses another SQL instance (SQL Lite in place of MySQL), my
Music folder is no more available during a SCAN (because it use SQL Lite
and it doesn't authorize to browse the folder during a DB Rescan).
That's what I understand (maybe I'm wrong).
I don't understand this new choice, because now, the Logitech Process
take 99% of CPU resources and I can't hear my music (because my folder
is unavailable).
What's the advantage? I hope that this will be reconsidered"

Let explain the issue.
As I'm tagging my Music, I move songs from a folder to another.
I have programmed a FULL Rescan at 3h00 (and TrackStats will also do a
refresh as I have enabled the "Rescan refresh" in Trackstat setting).
That's fine, and there is no problem with this. 
But... if I go into the new folder before the FULL RESCAN (that happens
at 3h00), I will be stuck for +/- 40 minutes.
I notice that Trackstat launch a refresh because it detect a rescan of
the folder.

"[13-11-14 07:45:23.4245] Slim::Utils::Scanner::scanDirectory (318)
Found 26 files in /home/music/!a-trier-MB-KO
[13-11-14 07:46:52.0512] Slim::Utils::Scanner::Local::rescan (171)
Discovering audio files in /home/music
[13-11-14 07:46:54.8261] Slim::Utils::Scanner::Local::__ANON__ (254)
Removing deleted audio files (0)
[13-11-14 07:46:54.8271] Slim::Utils::Scanner::Local::__ANON__ (332)
Scanning new audio files (2)
[13-11-14 07:46:57.1164] Slim::Utils::Scanner::Local::__ANON__ (410)
Rescanning changed audio files (0)
[13-11-14 07:46:59.3917] Plugins::TrackStat::Storage::refreshTracks
(1237) TrackStat: Synchronizing TrackStat data, please wait..."

Trackstat take about 30-40 minutes to execute. 
I think it is stuck because I try to access the folder then TrackStat is
started and as it's SQL Lite, it blocks the system (as explained
above).
I don't remember to have this behavior when I was with SBS 7.5.5.

So, I decided to disable the "Rescan refresh" in Trackstat setting and
it doesn't hang the system as LMS finish the Folder scan in a few
seconds.

But, if I do this, then trackStats is no more updated unless I do a LMS
retstart (Not sure it will launch a TraskStats Scan).

Can you confirm this or say what I'm doing wrong?
An idea could be to add a schedule for the TraskStat Rescan (Programmed
at 5h00).
So, When I go into the folder, it will not hang the system and the
Trackstats will be refresh the day after.

Thanks for your help



ASUS S1 D525 ATOM with 1GB on Linux Gentoo
Version : 7.5.5 - r32671
Plate-forme : i686-linux
Version de Perl : 5.12.4 - i686-linux
Version de MySQL : 5.1.70-log
1 x Squeezebox Touch : 7.5.1-r9009
1 x Squeezebox Boom  + 1 x Squeezebox Receiver
SqueezeCommander (0.9.6.1) HTc WildFire
------------------------------------------------------------------------
esa's Profile: http://forums.slimdevices.com/member.php?userid=9362
View this thread: http://forums.slimdevices.com/showthread.php?t=49483

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

Reply via email to