Page 1 of 1

Lazy Subsonic scan behavior

PostPosted: Wed Nov 22, 2017 7:37 am
by svg
I noticed a regular lazy behavior of Subsonic scanning. Running a simple script containing

curl -k --data "u=admin&p=${PASSWORD}&v=1.16&c=myapp" ${SCHEME}://${HOST}:${PORT}/rest/startScan

(on a very powerful NUC6i7KYK)

I get (count is invariably 1 on the first scan!)

Code: Select all
(z-venv) ubuntu@ag:~/PycharmProjects/atm-subsonic-docker$ ./sng-scan.sh
<?xml version="1.0" encoding="UTF-8"?>
<subsonic-response xmlns="http://subsonic.org/restapi" status="ok" version="1.16.0">
   <scanStatus scanning="true" count="1"/>
</subsonic-response>
(z-venv) ubuntu@ag:~/PycharmProjects/atm-subsonic-docker$ ./sng-scan.sh
<?xml version="1.0" encoding="UTF-8"?>
<subsonic-response xmlns="http://subsonic.org/restapi" status="ok" version="1.16.0">
   <scanStatus scanning="true" count="3"/>
</subsonic-response>
(z-venv) ubuntu@ag:~/PycharmProjects/atm-subsonic-docker$ ./sng-scan.sh
<?xml version="1.0" encoding="UTF-8"?>
<subsonic-response xmlns="http://subsonic.org/restapi" status="ok" version="1.16.0">
   <scanStatus scanning="true" count="213"/>
</subsonic-response>
(z-venv) ubuntu@ag:~/PycharmProjects/atm-subsonic-docker$ ./sng-scan.sh
<?xml version="1.0" encoding="UTF-8"?>
<subsonic-response xmlns="http://subsonic.org/restapi" status="ok" version="1.16.0">
   <scanStatus scanning="true" count="283"/>
</subsonic-response>

Re: Lazy Subsonic scan behavior

PostPosted: Wed Nov 22, 2017 5:17 pm
by Tak-MK
Don't fully understand, you mean is scanning too slow?

Re: Lazy Subsonic scan behavior

PostPosted: Fri Nov 24, 2017 8:22 pm
by toolman
My logfile shows:
[2017-11-21 03:10:35,251] INFO MediaScannerService - Starting to scan media library.
[2017-11-21 03:24:51,377] INFO MediaScannerService - Completed media library scan

That means that it takes Subsonic about 15 minutes to scan : 6.476 artists, 17.726 albums, 176.411 songs, 1374,24 GB.
Doesn't seem that lazy to me.

Re: Lazy Subsonic scan behavior

PostPosted: Mon Nov 27, 2017 2:17 pm
by Tak-MK
toolman wrote:My logfile shows:
[2017-11-21 03:10:35,251] INFO MediaScannerService - Starting to scan media library.
[2017-11-21 03:24:51,377] INFO MediaScannerService - Completed media library scan

That means that it takes Subsonic about 15 minutes to scan : 6.476 artists, 17.726 albums, 176.411 songs, 1374,24 GB.
Doesn't seem that lazy to me.

I scan 1.4TB in a minute...