TrimVis / butlarr

Telegram bot to interact with various arr services. Created with extensibility in mind.
MIT License
74 stars 3 forks source link

[WIP] Bazarr integration #15

Open Klubas opened 1 week ago

Klubas commented 1 week ago

Basic bazarr integration for radarr.

Config example:

apis:
  movie:
    api_host: "http://radarr.localhost"
    api_key: "***"
  subtitles:
    api_host: "http://bazarr.localhost"
    api_key: "***"

services:
  - type: "Radarr"
    commands: ["movie", "m", "filme", "f"]
    api: "movie"
    name: "radarr"
    addons:
      - type: "Bazarr"
        service_name: "bazarr"
  - type: "Bazarr"
    commands: ["subtitles", "sub", "legenda", "l"]
    api: "subtitles"
    name: "bazarr"

TODO:

Bazarr standalone:

TrimVis commented 1 week ago

First of all, thanks for the PR! Really looking forward to the result :)

Allow user to go back to previous menu when searching for subtitles (I couldn't find a straight forward way to share the radarr state with the bazarr service)

In general it feels like inheritance could solve your issues :) By inheriting from the Bazarr service, you can reuse its functionality and even call the corresponding super keyboard function etc directly from Radarr. (This should be similar, to how I'm doing it with the ExtArrService)