refactor: use MediaSegments api for intro/outro skipping
This commit is contained in:
4 files changed
+76
-56
No files matched your search
@@ -1,5 +1,6 @@
|
||||
import type {
|
||||
BaseItemDtoQueryResult,
|
||||
MediaSegmentDtoQueryResult,
|
||||
PlaybackInfoResponse,
|
||||
} from "@jellyfin/sdk/lib/generated-client";
|
||||
import type IntroMediaInfo from "./introMediaInfo";
|
||||
@@ -7,7 +8,7 @@ import type IntroMediaInfo from "./introMediaInfo";
|
||||
interface PlayResult {
|
||||
item: BaseItemDtoQueryResult | undefined;
|
||||
mediaSource: PlaybackInfoResponse | undefined;
|
||||
introInfo: IntroMediaInfo | undefined;
|
||||
introInfo: MediaSegmentDtoQueryResult | undefined;
|
||||
}
|
||||
|
||||
export default PlayResult;
|
||||
Reference in new issue
Block a user