Lazy Subsonic scan behavior

General discussions.

Moderator: moderators

Lazy Subsonic scan behavior

Postby svg » Wed Nov 22, 2017 7:37 am

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>
svg
 
Posts: 4
Joined: Sun Nov 12, 2017 7:46 pm

Re: Lazy Subsonic scan behavior

Postby Tak-MK » Wed Nov 22, 2017 5:17 pm

Don't fully understand, you mean is scanning too slow?
User avatar
Tak-MK
 
Posts: 107
Joined: Thu Dec 22, 2016 3:27 pm

Re: Lazy Subsonic scan behavior

Postby toolman » Fri Nov 24, 2017 8:22 pm

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.
toolman
 
Posts: 536
Joined: Fri Dec 11, 2009 4:18 pm
Location: Netherlands

Re: Lazy Subsonic scan behavior

Postby Tak-MK » Mon Nov 27, 2017 2:17 pm

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...
User avatar
Tak-MK
 
Posts: 107
Joined: Thu Dec 22, 2016 3:27 pm


Return to General

Who is online

Users browsing this forum: No registered users and 3 guests