Files
claude 9e33a343ab
Some checks failed
release / build-release (push) Has been cancelled
Floatplane channel plugin for Jellyfin 10.10.x: browse, HLS proxy, cookie session, CI release
- IChannel: creators -> sub-channels -> video posts (public listing API, search mapped)
- IRequiresMediaInfoCallback -> signed proxy URLs; stream controller rewrites HLS so the
  AES-128 key is fetched server-side with the session cookie, segments stay on the CDN
- delivery/info cached per token lifetime and throttled (~2/min)
- config page: paste sails.sid + validate, extra creators, quality, search test
- scripts/package.sh -> plugin folder + zip + md5 + manifest.json; Gitea release workflow
- research docs, HAR analysis (HAR itself gitignored), install-pi5.sh

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-25 09:42:27 +01:00

18 lines
630 B
TypeScript

import { Core } from "./Core.js";
import { ApiPaths, components } from "./lib/apiSchema.js";
export type UserSubscription = components["schemas"]["UserSubscriptionModel"];
export type Self = components["schemas"]["UserSelfV3Response"];
export class User extends Core {
/**
* Fetch subscriptions for the logged in user.
*/
subscriptions = (): Promise<UserSubscription[]> => this.got(this.baseUrl + ApiPaths.listUserSubscriptionsV3).json<UserSubscription[]>();
/**
* Fetch information about the logged in user.
*/
self = (): Promise<Self> => this.got(this.baseUrl + ApiPaths.getSelf).json<Self>();
}