- LidarrClient (api/v1) with lookup, profile/folder discovery, and add_artist - !media music <query> — MusicBrainz lookup via Lidarr, numbered list cached per (room, sender) - !media music add <query|N> — POST /api/v1/artist with profile/folder defaults (auto-picks first if not set in config). Carries through images/genres/links from the lookup result and kicks off a search for missing albums by default. - New config block 'lidarr' with optional quality_profile_id / metadata_profile_id / root_folder_path overrides.
88 lines
2.7 KiB
YAML
88 lines
2.7 KiB
YAML
# Media bot configuration
|
|
|
|
http_timeout: 15
|
|
default_results: 5
|
|
|
|
# Inline poster art on `!media request` confirmations and `!media random` picks.
|
|
posters_enabled: true
|
|
|
|
# Matrix users allowed to approve/decline Seerr requests via 👍/👎 reactions.
|
|
admin_users:
|
|
- "@maddox:fails.me"
|
|
|
|
# Where to post Seerr webhook notifications (request created/approved/available/etc).
|
|
# Must be a room the bot has joined. Leave empty to disable.
|
|
notifications_room: ""
|
|
|
|
# Shared secret Seerr must send as `Authorization: Bearer <secret>` header.
|
|
# Generate with `openssl rand -hex 32`. Empty = no auth check (NOT recommended).
|
|
seerr_webhook_secret: ""
|
|
|
|
# Sonarr → Matrix subscription notifications.
|
|
# Configure Sonarr → Settings → Connect → Webhook with URL
|
|
# https://matrix.fails.me/_matrix/maubot/plugin/media/sonarr-webhook
|
|
# and Headers: `Authorization: Bearer <secret>`. Triggers on Download events.
|
|
sonarr_webhook_secret: ""
|
|
|
|
# Daily digest — fires once a day in `notifications_room`.
|
|
digest_enabled: true
|
|
digest_hour: 8 # local hour (Indianapolis), 0-23
|
|
|
|
# Sunday digest also pulls the emby-cleaner recap from ntfy.
|
|
# The cleaner runs Sunday 4:20 AM (cron on control); digest fires after.
|
|
ntfy_url: "https://ntfy.3ddbrewery.com"
|
|
emby_cleaner_topic: "emby-cleaner"
|
|
|
|
# --- Service endpoints ---
|
|
|
|
seerr:
|
|
url: http://192.168.1.80:5056
|
|
api_key: CHANGEME
|
|
|
|
sonarr:
|
|
url: http://192.168.1.80:8989
|
|
api_key: CHANGEME
|
|
|
|
radarr:
|
|
url: http://192.168.1.80:7878
|
|
api_key: CHANGEME
|
|
|
|
# Lidarr — music. API v1 (different from Sonarr/Radarr v3).
|
|
# Profile/folder defaults: leave null to auto-pick the first one Lidarr returns.
|
|
lidarr:
|
|
url: http://192.168.1.80:8686
|
|
api_key: CHANGEME
|
|
quality_profile_id: null # e.g. 3 for "Standard"
|
|
metadata_profile_id: null # e.g. 1 for "Standard"
|
|
root_folder_path: null # e.g. "/media/Music"
|
|
monitor: "all" # all|future|missing|existing|first|latest|none
|
|
search_on_add: true # kick off a search for missing albums right after add
|
|
|
|
emby:
|
|
url: http://192.168.1.120:8096/emby
|
|
api_key: CHANGEME
|
|
|
|
nzbget:
|
|
url: http://192.168.1.122:6789
|
|
username: nzbget
|
|
password: CHANGEME
|
|
|
|
qbittorrent:
|
|
url: http://192.168.1.122:8082
|
|
username: admin
|
|
password: CHANGEME
|
|
|
|
# Map Matrix user IDs to per-service user identifiers.
|
|
# Senders not in this map get an "unauthorized" reply.
|
|
#
|
|
# Optional per-user defaults:
|
|
# default_media_type: "movie" | "tv" — used by `!media request <q>` when no
|
|
# --tv/--movie flag is given
|
|
# result_count: int — overrides default_results above
|
|
user_map:
|
|
"@maddox:fails.me":
|
|
seerr_user_id: 1
|
|
emby_user_id: "052e6796e9d94270858e05fb582ba5a6"
|
|
"@jess:fails.me":
|
|
seerr_user_id: 2
|
|
emby_user_id: "TBD"
|