Add playback subscriber abstraction

This commit is contained in:
Bill Thornton
2024-10-01 13:41:40 -04:00
parent 2442dc6b52
commit 26f7f281cd
7 changed files with 209 additions and 1 deletions
+3
View File
@@ -1,3 +1,4 @@
import type { MediaType } from '@jellyfin/sdk/lib/generated-client/models/media-type';
import type { UserDto } from '@jellyfin/sdk/lib/generated-client/models/user-dto';
export interface PlayTarget {
@@ -7,5 +8,7 @@ export interface PlayTarget {
playerName?: string
deviceType?: string
isLocalPlayer?: boolean
playableMediaTypes: MediaType[]
supportedCommands?: string[]
user?: UserDto
}