A table name is change from queueitemmodel to scan_item, which is peewee's new standard. Fields are changes as follows:
legacy
v1
scan_path
path
scan_for
request_from
scan_section
section_id
scan_type
event_type
created_at
new field
Variables across functions and threads are also renamed to match with above fields.
2. Deprecated SERVER_USE_SQLITE
You are force to use Autoscan database whatever you have in your config.json. Instead, no default values will be supplied for --queuefile arguments in CLI anymore. And thus, you can choose either of an in-memory, handy but no persistent, database or a file-based one with --queuefile argument.
Fixed/Improved
A thread restoring queue on Autuscan restart will not be initiated anymore if there's nothing to restore
Initialize DB from main module for administration purpose
Important Changes
1. Autoscan database migration from legacy to v1
A table name is change from
queueitemmodel
toscan_item
, which is peewee's new standard. Fields are changes as follows:Variables across functions and threads are also renamed to match with above fields.
2. Deprecated
SERVER_USE_SQLITE
You are force to use Autoscan database whatever you have in your
config.json
. Instead, no default values will be supplied for--queuefile
arguments in CLI anymore. And thus, you can choose either of an in-memory, handy but no persistent, database or a file-based one with--queuefile
argument.Fixed/Improved