mirror of
https://github.com/mudler/LocalAI.git
synced 2026-11-06 04:23:15 -05:00
Let chats and agents query a Jellyfin media server and, when the person allows it, remote control its players. Read tools: search, libraries, browse, item details, latest, continue watching, next up, playlists, sessions, user names and server info. Write tools: control-playback (play, pause, resume, stop, seek, volume), mark-played, set-favorite and add-to-playlist. There is no tool that deletes, scans or edits the library or manages users. One connection holds one API key (credential kind token) and one server. The server address is the single entry of the connection's resource list, so the host checks it before every call and several servers work through the connection selector. The add-on talks only to that address: http and https only, no user information or query, redirects refused, paths built from fixed segments, and the key sent in the Authorization header only. A self-signed certificate is accepted only when the address carries #sha256=<fingerprint>; the connection then accepts that one certificate and TLS checks are otherwise on. Results are bounded (50 items a page, cut overviews), marked as untrusted data, and hold no file path, stream or image address. The write mode off, propose or auto is the host's per-connection setting. A write is previewed from the server's own records and rejected as stale when the player or playlist changed before the person confirmed. The add-on ships a skill, a connection page with a Test button and approval cards, the package files, the library entry and the docs, and joins the package workflow and the case inventory. Assisted-by: Claude:claude-sonnet-5-5 go node