Erland, I'm having a problem with Custom Scan kicking off when I don't
want it to. See
http://forums.slimdevices.com/showthread.php?103441-Can-I-stop-all-automatic-rescans&p=814391&viewfull=1#post814391.
I essence I need to have Custom Scan run automatically after a normal
LMS rescan, which I trigger automatically overnight (since the scan
takes many hours).
However, I sometimes modify a file in a directory, in this case a video
(used by the LMS UPnP Media Server), and LMS may initiate a short folder
scan, such as:
Code:
--------------------
[15-04-01 15:04:26.8034] Slim::Utils::Scanner::Local::rescan (178)
Discovering audio files in /storage/movies/David
[15-04-01 15:04:26.8759] Slim::Utils::Scanner::Local::__ANON__ (189) Start
processing found tracks
[15-04-01 15:04:26.8767] Slim::Utils::Scanner::Local::__ANON__ (197) Connect
do DB
[15-04-01 15:04:26.8775] Slim::Utils::Scanner::Local::__ANON__ (200) Get
latest ID
[15-04-01 15:04:26.8787] Slim::Utils::Scanner::Local::__ANON__ (222) Delete
temporary table if exists
[15-04-01 15:04:26.8799] Slim::Utils::Scanner::Local::__ANON__ (225) Re-build
temporary table
[15-04-01 15:04:27.7712] Slim::Utils::Scanner::Local::__ANON__ (274) Get
deleted tracks count
[15-04-01 15:04:27.7720] Slim::Utils::Scanner::Local::__ANON__ (281) Get new
tracks count
[15-04-01 15:04:27.7732] Slim::Utils::Scanner::Local::__ANON__ (286) Get
changed tracks count
[15-04-01 15:04:28.4604] Slim::Utils::Scanner::Local::__ANON__ (292) Removing
deleted audio files (0)
[15-04-01 15:04:28.4615] Slim::Utils::Scanner::Local::__ANON__ (370) Scanning
new audio files (0)
[15-04-01 15:04:28.4622] Slim::Utils::Scanner::Local::__ANON__ (450)
Rescanning changed audio files (0)
--------------------
This set off a full Custom Scan, meaning I couldn't use LMS for many
hours (the scan makes playing very unpredictable and unstable).
mherger says that there's a difference between this sort of LMS scan and
a normal one, and that Custom Scan could tell the difference and not run
for these folder scans. He said:
-"It's a problem I've looked into before, as SmartMix was suffering from
the same issue. It's not exactly behaving the same as Erland's iirc, but
it would be possible to recognize anyway. Importers (like our two
plugins implement them) would always trigger an external scan, while the
BMF case would run in the server process. The plugin is able to
distinguish these two cases and could act appropriately."-
Is this feasible?
LMS 7.9 on VortexBox Midi, Xubuntu 14.04, FLACs 16->24 bit,
44.1->192kbps. LMS & Squeeze2upnp to MF M1 CLiC (to MF amp & ESLs) &
Marantz CR603 UPnP renderers. Minimserver (server) & upplay (control
point) to same renderers & to upmpdcli/mpd PC renderers. Squeezelite to
Meridian USB Explorer DAC to speakers/phones. Wireless Xubuntu 14.04
laptop with firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver. Have a Touch
with EDO, and a spare, but don't use.
------------------------------------------------------------------------
PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=49483
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins