Skip to content

add base_path support to sonarr_list plugin#2134

Merged
liiight merged 1 commit intoFlexget:developfrom
deansheather:patch-1
May 10, 2018
Merged

add base_path support to sonarr_list plugin#2134
liiight merged 1 commit intoFlexget:developfrom
deansheather:patch-1

Conversation

@deansheather
Copy link
Copy Markdown
Contributor

If Sonarr is behind a reverse proxy with a custom URL Base setting, the sonarr_list plugin wouldn't work because it doesn't support a custom base path. This should fix that.

Motivation for changes:

  • Can't use sonarr_list with my Sonarr setup (custom base path with reverse proxy)

Detailed changes:

  • Added base_path config schema option to sonarr_list with default value of '' (should be backwards compatible)

Config usage if relevant (new plugin or updated schema):

tasks:
  task-name:
    sonarr_list:
      base_url: https://server.example.com
      port: 8443
      base_path: /sonarr
      api_key: ...

This example config will use https://server.example.com:8443/sonarr/api/ as the base API path.

If Sonarr is behind a reverse proxy with a custom `URL Base` setting, the `sonarr_list` plugin wouldn't work because it doesn't support a custom base path. This should fix that.
@liiight liiight merged commit 57e495b into Flexget:develop May 10, 2018
@liiight
Copy link
Copy Markdown
Member

liiight commented May 10, 2018

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants