toddrob99 / searcharr

Sonarr & Radarr & Readarr Telegram Bot
MIT License
247 stars 61 forks source link

Support language profile selection for Sonarr #46

Closed LucaVignati closed 1 year ago

LucaVignati commented 2 years ago

Please consider letting the user choose the language for the series. Radarr includes the language in the quality profile but Sonarr has a different parameter called "Language profile" which from my understanding is not currently selectable via Searcharr. Thank you for your work, this is an amazing tool!

toddrob99 commented 2 years ago

I didn't even know language profiles existed in sonarr... I will look into adding support for them.

LucaVignati commented 2 years ago

Thanks!

toddrob99 commented 1 year ago

@LucaVignati, it appears Sonarr is deprecating language profiles and adding language support to custom formats instead. After upgrading to Sonarr v4 in my test instance, the response to the languageprofile API endpoint has changed to this (I had multiple languages enabled in the language profile before, and it was not named "Deprecated"):

[
  {
    "name": "Deprecated",
    "upgradeAllowed": true,
    "cutoff": {
      "id": 1,
      "name": "English"
    },
    "languages": [
      {
        "language": {
          "id": 1,
          "name": "English"
        },
        "allowed": true
      }
    ],
    "id": 1
  }
]

As a result, I am going to remove language profile support from Searcharr v3.