Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sonarr V3 #2

Open
xfouloux opened this issue Jun 13, 2019 · 0 comments
Open

Sonarr V3 #2

xfouloux opened this issue Jun 13, 2019 · 0 comments

Comments

@xfouloux
Copy link

Hey, thanks for this awesome script !

I use both instance with sonarrV3 and it works but returns an error still and I think it is because of the lang profile

on instance 1 I have multiple lang profile, example : "languageProfileId": 2"
But on second instance only one profile

so as you can see in the json return it has pushed "languageProfileId": 2," but it doesn't exist

I think my second sonarr instance still add it because I only have one

Is it possible to add this field on the config ? May be of use for others.

Thanks !

2019-06-13 18:22:35,001 [MainThread  ] [DEBUG]  title: Immortality
2019-06-13 18:22:35,001 [MainThread  ] [DEBUG]  qualityProfileId: 1
2019-06-13 18:22:35,001 [MainThread  ] [DEBUG]  titleSlug: immortality
2019-06-13 18:22:35,001 [MainThread  ] [DEBUG]  http://plex.lagoon.nc:8989/MediaCover/794/poster.jpg?lastWrite=636960055532272270
2019-06-13 18:22:35,001 [MainThread  ] [DEBUG]  tvdbId: 365443
2019-06-13 18:22:35,001 [MainThread  ] [DEBUG]  path: /NFS/ovrld1/TV_MULTI/Immortality
2019-06-13 18:22:35,001 [MainThread  ] [DEBUG]  monitored: True
2019-06-13 18:22:35,001 [MainThread  ] [DEBUG]  payload: {'title': 'Immortality', 'qualityProfileId': '1', 'titleSlug': 'immortality', 'tvdbId': 365443, 'path': '/NFS/ovrld1/TV_MULTI/Immortality', 'monitored': True, 'images': [{'coverType': 'poster', 'url': 'http://plex.lagoon.nc:8989/MediaCover/794/poster.jpg?lastWrite=636960055532272270'}], 'profileId': '1', 'seasons': [{'seasonNumber': 1, 'monitored': True, 'statistics': {'previousAiring': '2018-03-26T04:00:00Z', 'episodeFileCount': 0, 'episodeCount': 0, 'totalEpisodeCount': 8, 'sizeOnDisk': 0, 'percentOfEpisodes': 0.0}}], 'seasonFolder': True, 'seriesType': 'standard'}
2019-06-13 18:22:35,001 [MainThread  ] [DEBUG]  Sleeping for: 5 seconds.
2019-06-13 18:22:42,315 [MainThread  ] [DEBUG]  http://plex.lagoon.nc:8990 "POST /api/series?apikey=5cf281987bf54421a41359c6c7e50922 HTTP/1.1" 201 None
2019-06-13 18:22:42,316 [MainThread  ] [ERROR]  adding Immortality to Sonarr 4k server failed. Response {
  "title": "Immortality",
  "alternateTitles": [],
  "sortTitle": "immortality",
  "seasonCount": 1,
  "totalEpisodeCount": 0,
  "episodeCount": 0,
  "episodeFileCount": 0,
  "sizeOnDisk": 0,
  "status": "continuing",
  "network": "Blackpills",
  "images": [
    {
      "coverType": "poster",
      "url": "/MediaCover/1473/poster.jpg"
    }
  ],
  "seasons": [
    {
      "seasonNumber": 1,
      "monitored": true
    }
  ],
  "year": 2018,
  "path": "/NFS/ovrld1/TV_MULTI/Immortality",
  "profileId": 1,
  "languageProfileId": 2,
  "seasonFolder": true,
  "monitored": true,
  "useSceneNumbering": false,
  "runtime": 10,
  "tvdbId": 365443,
  "tvRageId": 0,
  "tvMazeId": 0,
  "firstAired": "2018-03-25T13:00:00Z",
  "seriesType": "standard",
  "cleanTitle": "immortality",
  "imdbId": "tt8297266",
  "titleSlug": "immortality",
  "certification": "TV-MA",
  "genres": [
    "Drama",
    "Science-Fiction"
  ],
  "tags": [],
  "added": "2019-06-13T07:22:41.381044Z",
  "ratings": {
    "votes": 0,
    "value": 0.0
  },
  "qualityProfileId": 1,
  "id": 1473
}

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

No branches or pull requests

1 participant