Tracking changes in Plex Autoscan between versions.
- Fixed issue with connecting database in multiple threads when using in-memory queue db. #20
- Refactor smi2srt. #21 69e75aa
- more straightforward
plex.scan
logic #17 387ea82 - fix NoneType error for
parent_id
69a2e41 - improve logging format 613f9fd
- allow installation with pip in python 3.11 d429313
As of Plex Media Server v1.28.1,
(Scanner) Mark ‘scan’ and ‘refresh’ CLI actions as deprecated (#13700)
and start printing
The '--scan' operation is deprecated and will be removed in future versions of Plex Media Server.
whenever you perform a scan/refresh action.
In this version, we stop using CLI action for scan/refresh and use plexapi for everyone's convenience.
Table name is changed from queueitemmodel
to scan_item
, which is a 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.
scan
andrefresh
now use API instead of CLI. #4analyze
still depends on Scanner binary.
- New dependencies:
plexapi
tabulate[widechars]
#4 - Queue DB migration (backward-incompatible). #12
- Restrict
peewee>=3.8.0
4424a5a
- New option
loudness
toPLEX_ANALYZE_TYPE
inconfig.json
. #4 - Add *-arrs back. #5
- Colour formatter to console log. #13
- Automatically detects shell type and enables colour schemes. e4dcb9d
- New API command
clear_drive_cache
for clearing drive cache with vacuum. #14
- Drop features related to
PLEX_FIX_MISMATCHED
andPLEX_FIX_MISMATCHED_LANG
. #4 - Deprecated
SERVER_USE_SQLITE
. #12- The feature is always enabled. Explicitly set
--queuefile
arg in CLI to use a persistent queue. Otherwise, it will use an in-memory database.
- The feature is always enabled. Explicitly set
- Generate better default
config.json
when PAS is installed in Plex docker. #4 - Add support for fallback connection when obtaining plexapi instance. #4
- Add checks for connection to PMS via plexapi on
start_server()
. #4 - Add checks for existence of Plex DB file on
start_server()
. #4 - Add checks for availability of Scanner binary on
start_server()
. #4 - Fix/update
authorize
menu to work after OOB Oauth flow deprecation. #4 - Fix entrypoint when installing PIP. #4
- Improve shell-related operations with psutil and subprocess. #4
- Implement retry features for getting PlexServer instance. #6
- Recognize sdh/cc and forced keyword for subtitle naming convention while processing assets. 4b7a875
- Use proper ENV dirs when running scanner binary inside docker. #9
- Refactor PlexDB-accessing functions. #10
- A thread restoring queue on restart will not be initiated anymore if there's nothing to restore. #12
- Initialize queue DB from main module for administration purpose. #12
First release since l3uddz's last commit.
- Drop support for Python 2.7 (requires Python 3.8 or higher).
- Module implementation.
- Rewrite drive.py (formerly google.py) using google-api-python-client.
- Use 'client secrets file' for authorization.
- Support 'service account file'.
- Updated dependencies:
peewee>=3
,google-api-python-client
,google-auth-httplib2
,google-auth-oauthlib
- New
PLEX_ASSET_EXTENSIONS
andPLEX_EXTRA_DIRS
inconfig.json
for better handling of assets and extras. - Integrated SMI2SRT for Korean users.
- Add support for processing scan requests from Watcher.
- Respect
.plexignore
files whenstart_scan()
. - Add support for installation with PIP.
- Drop support for connection with *-arrs. (Added back in v0.2.0)
- Removed WebUI for manual scan.
- Deprecated
SERVER_ALLOW_MANUAL_SCAN
inconfig.json
. - Use POST requests which is always enabled.
- Deprecated
- Compact logging format.
- Reject changes from Google drives having common parent.
- Use
vfs/forget
to clear Rclone dir cache instead ofcahce/expire
. - Refactor db.py to support peewee v3.