Floatplane channel plugin for Jellyfin 10.10.x: browse, HLS proxy, cookie session, CI release
Some checks failed
release / build-release (push) Has been cancelled
Some checks failed
release / build-release (push) Has been cancelled
- 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>
This commit is contained in:
19
doc/research/reference-sources/fpts_sanity.ts
Normal file
19
doc/research/reference-sources/fpts_sanity.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
import { Floatplane, version } from "./index.js";
|
||||
|
||||
const fApi = new Floatplane({
|
||||
authConfig: {
|
||||
serverUrl: "https://auth.floatplane.com/realms/floatplane-pp",
|
||||
clientId: "floatplane-downloader",
|
||||
onDeviceCode: ({ verification_uri_complete }) => console.log(`Go to ${verification_uri_complete} to complete login...`),
|
||||
},
|
||||
baseUrl: "https://pp.floatplane.com",
|
||||
}); // Create a new API instance.
|
||||
|
||||
// console.log("Logged in!", await fApi.refreshAuthToken());
|
||||
// console.log("Refreshed", await fApi.refreshAuthToken());
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore Yes, package.json isnt under src, this is fine
|
||||
import pkg from "../package.json" with { type: "json" };
|
||||
|
||||
if (pkg.version !== version) throw new Error(`Version mismatch! package.json says ${pkg.version} but index says ${version}`);
|
||||
Reference in New Issue
Block a user