[codex] Fix Jellyfin setup and discovery toggle (#59)

This commit is contained in:
2026-05-02 19:56:10 -07:00
committed by GitHub
parent 27f5b2bb58
commit db30c61327
38 changed files with 1372 additions and 107 deletions
@@ -5,7 +5,7 @@ type JellyfinRemoteSession = {
};
export function createHandleJellyfinRemoteAnnounceCommand(deps: {
startJellyfinRemoteSession: () => Promise<void>;
startJellyfinRemoteSession: (options?: { explicit?: boolean }) => Promise<void>;
getRemoteSession: () => JellyfinRemoteSession | null;
logInfo: (message: string) => void;
logWarn: (message: string) => void;
@@ -15,7 +15,7 @@ export function createHandleJellyfinRemoteAnnounceCommand(deps: {
return false;
}
await deps.startJellyfinRemoteSession();
await deps.startJellyfinRemoteSession({ explicit: true });
const remoteSession = deps.getRemoteSession();
if (!remoteSession) {
deps.logWarn('Jellyfin remote session is not available.');