maubot-media/maubot.yaml
Maddox f8f89b794e v0.6.1: Jellyfin support via emby.type config flag
Issue #3.

Audit confirmed every Emby endpoint we use (/System/Info/Public,
/Sessions, /Users/{id}/Items[/Latest|/Resume], /Items/{id}/Images/Primary)
is API-compatible with Jellyfin, and the ?api_key= auth scheme works
on both. So 'add Jellyfin support' is really 'document it and fix
display labels' — no client branching needed.

Added a 'type: emby|jellyfin' field inside the emby config block
(defaults to emby for backward compat). New _media_label() helper
sources the label from config and is threaded through:
  - !media health server name
  - !media nowplaying header + empty-state
  - !media help section header + health command summary
  - daily digest 'not yet in <server>' line

README updated with a Jellyfin example block and notes that the URL
should NOT include the /emby suffix when pointing at Jellyfin.
2026-05-03 15:26:25 -04:00

12 lines
186 B
YAML

maubot: 0.3.1
id: com.3ddbrewery.media
version: 0.6.1
license: MIT
modules:
- media_bot
main_class: MediaBot
config: true
extra_files:
- base-config.yaml
database: true
webapp: true