What's new?
- Set default variables + better error handling to prevent excessive logging ( #26 )
- Updated docker image to support multiple platforms ( #28 )
- Updated GPT translation functions
- Added Sonarr webhook support - receive payloads from Sonarr to trigger subtitle and audio track preferences logic (partially available seasons/series) Enable by adding OS webhook URL to your Sonarr instance in Settings -> Connect -> Webhook -> URL and enable only 'On Import Complete', method should be POST
- Updated Overseerr Request Monitor function
New variables
Add these two variables to your docker-compose:
SONARR_EP_TRACKING: "false" #Enable to use Sonarr webhook; disables TV logic from being executed via Media Available
SONARR_TRACK_DELAY_SECONDS: 12 #Delay (in seconds) before triggering audio and subtitle track preferences to ensure that Plex metadata is refreshed
Overseerr Request Monitor
When enabled, OS will scan all requests made in Overseerr/Jellyseerr and handle the ones that are available and partially available, which will: add label, set preferred audio and subtitle tracks to those media items. This function will run only once in the beginning of the script unless rebooted or set to 'false'. I recommend running it once to process all your old media and then setting it to false.
Sonarr Webhook
Usage of this webhook will enable OS to set preferred audio and subtitle tracks for series that are labeled as "partially available" or "incomplete" due to missing episodes. When a new episode becomes available, OS will do its thing. Enabling this will disable the tv processing logic when media becomes available to avoid media reprocessing.