Skip to content

Instantly share code, notes, and snippets.

import requests
from plexapi.server import PlexServer
# Configuration (move library names to the top)
RADARR_INSTANCES = [
{"url": "http://address:7878/api/v3", "api_key": "nope"}
# Add more Radarr instances here if needed
]
SONARR_INSTANCES = [
@PierreDurrr
PierreDurrr / tag_sonarr_radarr_media_with_overseer_users.py
Created April 25, 2024 11:54 — forked from HStep20/tag_sonarr_radarr_media_with_overseer_users.py
This script will read your Overseer data and create/apply user tags to all of your sonarr/radarr instances
"""
This script will read your Overseer data and create/apply user tags to all of your sonarr/radarr instances, then create a filter in each connected -arr application for the users you specify.
It is forward compatible with the future User Tagging feature of overseer, and formats the tag in the same 'id - lowercase username' pattern Overseer will
It only uses built in python libraries, so you should be able to download and run without much hassle.
NOTE: YOU ARE REQUIRED TO USE IP:PORT CONNECTIONS FOR YOUR SONARR/RADARR INSTANCES INSIDE OF OVERSEERR
This will NOT utilize docker-compose style hostnames at the moment, and I don't use them personally, so I don't see myself adding them
Steps to use:
/* eslint-disable */
module.exports.dependencies = ['node-fetch@2'];
// tdarrSkipTest
const details = () => ({
id: "Tdarr_Plugin_henk_notify_radarr_or_sonarr_of_file_change",
Stage: "Post-processing",
Name: "Notify Radarr or Sonarr of file change",
Type: "Video",
Operation: "Transcode",