Plex '--scan' operation is deprecated but PMS is still using it

Server Version#: 1.41.0.8930
Player Version#: N/A

My under standing is that the --scan operation has been depricated and should no longer be used. I notice that Plex is still using the --scan operation when the scan my library periodically setting is checked under Settings > Server > Library.

Aug 29, 2024 14:31:57.631 [138511688674104] DEBUG - Checking if time for scheduled update
Aug 29, 2024 14:31:57.632 [138511688674104] INFO - It's been 1800 seconds, so we're starting scheduled library update for section 13 (Home Videos)
Aug 29, 2024 14:31:57.632 [138511688674104] DEBUG - Library Updater: Requested that section 13 be updated, force=0, subdir= iTunes=0
Aug 29, 2024 14:31:57.632 [138511688674104] DEBUG - Library Updater: Queueing section 13
Aug 29, 2024 14:31:57.632 [138511688674104] INFO - It's been 1800 seconds, so we're starting scheduled library update for section 2 (Movies)
Aug 29, 2024 14:31:57.632 [138511688674104] DEBUG - Library Updater: Requested that section 2 be updated, force=0, subdir= iTunes=0
Aug 29, 2024 14:31:57.632 [138511688674104] DEBUG - Library Updater: Queueing section 2
Aug 29, 2024 14:31:57.632 [138511688674104] INFO - It's been 1499 seconds, so we're starting scheduled library update for section 4 (Music)
Aug 29, 2024 14:31:57.632 [138511688674104] DEBUG - Library Updater: Requested that section 4 be updated, force=0, subdir= iTunes=0
Aug 29, 2024 14:31:57.632 [138511688674104] DEBUG - Library Updater: Queueing section 4
Aug 29, 2024 14:31:57.632 [138511688674104] INFO - It's been 1494 seconds, so we're starting scheduled library update for section 14 (Photos)
Aug 29, 2024 14:31:57.632 [138511688674104] DEBUG - Library Updater: Requested that section 14 be updated, force=0, subdir= iTunes=0
Aug 29, 2024 14:31:57.632 [138511688674104] DEBUG - Library Updater: Queueing section 14
Aug 29, 2024 14:31:57.632 [138511688674104] INFO - It's been 1492 seconds, so we're starting scheduled library update for section 9 (Recorded Movies)
Aug 29, 2024 14:31:57.632 [138511688674104] DEBUG - Library Updater: Requested that section 9 be updated, force=0, subdir= iTunes=0
Aug 29, 2024 14:31:57.632 [138511688674104] DEBUG - Library Updater: Queueing section 9
Aug 29, 2024 14:31:57.632 [138511688674104] INFO - It's been 1492 seconds, so we're starting scheduled library update for section 5 (Recorded TV)
Aug 29, 2024 14:31:57.632 [138511688674104] DEBUG - Library Updater: Requested that section 5 be updated, force=0, subdir= iTunes=0
Aug 29, 2024 14:31:57.632 [138511688674104] DEBUG - Library Updater: Queueing section 5
Aug 29, 2024 14:31:57.632 [138511688674104] INFO - It's been 1492 seconds, so we're starting scheduled library update for section 1 (TV Shows)
Aug 29, 2024 14:31:57.632 [138511688674104] DEBUG - Library Updater: Requested that section 1 be updated, force=0, subdir= iTunes=0
Aug 29, 2024 14:31:57.632 [138511688674104] DEBUG - Library Updater: Queueing section 1
Aug 29, 2024 14:31:57.633 [138511730617144] DEBUG - Activity: registered new activity 234b8776-f855-4ac2-8204-74b8dda9dced - "Scanning"
Aug 29, 2024 14:31:57.633 [138511730617144] DEBUG - Scanning section 13
Aug 29, 2024 14:31:57.633 [138511730617144] DEBUG - Activity: updated activity 234b8776-f855-4ac2-8204-74b8dda9dced - completed 0.0% - Scanning Home Videos
Aug 29, 2024 14:31:57.633 [138511730617144] DEBUG - Job was already killed, not killing again.
Aug 29, 2024 14:31:57.633 [138511730617144] DEBUG - [JobRunner] Job running: FFMPEG_EXTERNAL_LIBS='/config/Library/Application\ Support/Plex\ Media\ Server/Codecs/7592546-570471557d92948f58893deb-linux-x86_64/' X_PLEX_TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx "/usr/lib/plexmediaserver/Plex Media Scanner" --scan --refresh --section 13 --activity 234b8776-f855-4ac2-8204-74b8dda9dced

Given the operation is deprecated, the relevant PMS code that calls it should probably be cleaned up to refer to the new API functions instead.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.