Sonarr version (exact version): 3.0.10.1567, release-657f4ee by hotio
Mono version (if Sonarr is not running on Windows): 6.12.0.182
OS: Docker Container on a Synology NAS setup using Trash Guides
Debug logs:
Description of issue: I am trying to mark an episode unmonitored on download (grab). I found someone that provided this python script that is supposed to do this (please don’t ask me why I want to do this, I just want to do it, thank you). I am attempting to learn Python but my knowledge is not very good right now. I used this script here:
I added all of my variables, sonarr_ip, sonarr_port and sonarr_api_token and tested it.
It did not work. Looking at the logs, the first error I see is an error on line 40 to “import requests”. Whatever this is, it isn’t working.
Next, I am getting unauthorized errors in trying to pass the URL that will unmonitor the show.
2023-03-25 11:39:44.5|Error|unmonitor_downloaded_episodes.py|Traceback (most recent call last):
2023-03-25 11:39:44.5|Error|unmonitor_downloaded_episodes.py| File “/config/Scripts/unmonitor_downloaded_episodes.py”, line 40, in
2023-03-25 11:39:44.5|Error|unmonitor_downloaded_episodes.py| import requests
2023-03-25 11:39:44.5|Error|unmonitor_downloaded_episodes.py|ModuleNotFoundError: No module named ‘requests’
2023-03-25 11:41:48.2|Info|DiskScanService|Scanning Shrinking
2023-03-25 11:41:48.2|Info|DiskScanService|Completed scanning disk for Shrinking
2023-03-25 11:41:48.2|Info|ExistingMetadataImporter|Found 0 existing metadata files
2023-03-25 11:41:48.2|Info|ExistingSubtitleImporter|Found 1 existing subtitle files
2023-03-25 11:41:48.4|Info|ExistingOtherExtraImporter|Found 0 existing other extra files
2023-03-25 11:41:48.4|Info|ExistingExtraFileService|Found 8 possible extra files, imported 8 files.
2023-03-25 11:44:04.9|Info|Auth|Auth-Unauthorized ip 172.20.0.1 url ‘http://192.168.86.34:8989/api/v3/episode/monitor,411364,'monitored’: False’
2023-03-25 11:44:08.3|Info|Auth|Auth-Unauthorized ip 172.20.0.1 url 'http://192.168.86.34:8989/series/shrinking’
2023-03-25 11:44:10.0|Info|Auth|Auth-Unauthorized ip 172.20.0.1 url 'http://192.168.86.34:8989/initialize.js’
2023-03-25 11:44:16.6|Info|Auth|Auth-Unauthorized ip 172.20.0.1 url 'http://192.168.86.34:8989/api/v3/episode/monitor’
2023-03-25 11:44:20.9|Info|Auth|Auth-Unauthorized ip 172.20.0.1 url 'http://192.168.86.34:8989/series/shrinking’
2023-03-25 11:44:22.7|Info|Auth|Auth-Unauthorized ip 172.20.0.1 url 'http://192.168.86.34:8989/initialize.js’
2023-03-25 11:44:30.3|Info|Auth|Auth-Unauthorized ip 172.20.0.1 url 'http://192.168.86.34:8989/api/v3/episode’
Pasted here as well for better readability: 0bin - encrypted pastebin
I have a password on my Sonarr setup. Thinking it might be that, I disabled it and I still had issues.
Any suggestions on what may be happening here?