feat: add intro-skipper
This commit is contained in:
10 files changed
+166
-45
No files matched your search
@@ -0,0 +1,10 @@
|
||||
type IntroMediaInfo = {
|
||||
EpisodeId: string;
|
||||
Valid: true;
|
||||
IntroStart: number;
|
||||
IntroEnd: number;
|
||||
ShowSkipPromptAt: number;
|
||||
HideSkipPromptAt: number;
|
||||
};
|
||||
|
||||
export default IntroMediaInfo
|
||||
@@ -2,10 +2,12 @@ import type {
|
||||
BaseItemDtoQueryResult,
|
||||
PlaybackInfoResponse,
|
||||
} from "@jellyfin/sdk/lib/generated-client";
|
||||
import type IntroMediaInfo from "./introMediaInfo";
|
||||
|
||||
interface PlayResult {
|
||||
item: BaseItemDtoQueryResult;
|
||||
mediaSource: PlaybackInfoResponse;
|
||||
introInfo: IntroMediaInfo | undefined;
|
||||
}
|
||||
|
||||
export default PlayResult;
|
||||
Reference in new issue
Block a user