Skip to content

Commit

Permalink
Use type from SDK for playMethod property
Browse files Browse the repository at this point in the history
  • Loading branch information
3flex committed Nov 26, 2024
1 parent 33a06d4 commit 634ce46
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/types/global.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { SystemVolumeData } from 'chromecast-caf-receiver/cast.framework.system'
import type {
BaseItemDto,
MediaSourceInfo,
PlayMethod,
RepeatMode
} from '@jellyfin/sdk/lib/generated-client';
import type {
Expand Down Expand Up @@ -118,7 +119,7 @@ interface JellyfinMediaInformationCustomData {
itemId: string | undefined;
liveStreamId: string | null;
mediaSourceId: string | null;
playMethod: 'DirectStream' | 'Transcode';
playMethod: PlayMethod;
playSessionId: string;
runtimeTicks: number | null;
startPositionTicks: number;
Expand Down

0 comments on commit 634ce46

Please sign in to comment.