Cloudbox / autoscan

Autoscan replaces the default Plex and Emby behaviour for picking up changes on the file system.
MIT License
594 stars 49 forks source link

Query Plex API to wait until nothing is being scanned before sending a new entry #207

Open Drapersniper opened 1 year ago

Drapersniper commented 1 year ago

Query the Plex API to see what tasks are active; if there's a scan already in progress, wait for it to complete before sending the next one.

For reference: https://www.plexopedia.com/plex-media-server/api/server/activities/