Plex-scripts icon indicating copy to clipboard operation
Plex-scripts copied to clipboard

sonarr_refresh_tba.py: Doesn't actually refresh

Open lamepennies opened this issue 2 years ago • 4 comments

In which file is the bug? sonarr_refresh_tba.py

Describe the setup (arguments and their values, how it was run, etc.): My sonarr is connected via the API and listing fine in terminal

Describe what the bug is: Sonarr isn't refreshing the series listed in terminal

Describe what should be happening: I'm noticing that in terminal it does list the shows that need a refresh but sonarr isn't actually refreshing those series. I did a test where Man vs Bee was all TBA and ran the script. It listed fine but Sonarr wasn't refreshed. When I manually refreshed, it updated to say Chapter 1... Same thing with Money Heist: Korea - Joint Economic Area, the script just listed it in terminal but no refresh.

lamepennies avatar Jun 24 '22 17:06 lamepennies

To add to this ticket, with the updated script, plex just lists and doesn't trigger an actual refresh metadata. At least on mine.

lamepennies avatar Aug 25 '22 16:08 lamepennies

Seeing that the problem shows at both Plex and sonarr, it's probably something with the general web requesting instead of specific requests.

  1. Do you connect to sonarr and Plex using https?
  2. Do you access sonarr and Plex using a hostname or even domain name?
  3. Do you need to access the web-ui via an url-prefix? (e.g. 192.168.2.15/sonarr)

Basically, anything special with your setup?

Casvt avatar Aug 25 '22 16:08 Casvt

Another question: do you have your python dependencies fully updated? Try and then re-run the script:

python3 -m pip install --upgrade requests

Casvt avatar Aug 25 '22 16:08 Casvt

Hey Cast, I'm accessing via a domain. There are no errors in terminal when I execute, it just lists the series that need updating. That's why I think it's not triggering it. And yes, requests is installed and up to date

lamepennies avatar Aug 25 '22 17:08 lamepennies