export interface PlaylistResponse { ratingKey: string; key: string; guid: string; type: string; title: string; summary: string; smart: boolean; playlistType: string; composite: string; leafCount: number; addedAt: number; updatedAt: number; allowSync?: boolean; duration?: number; durationInSeconds?: number; } export interface PlaylistItemData { type: string; playlistItemID?: number; } export interface PlaylistContainerResponse { MediaContainer: { Metadata: PlaylistResponse[]; }; }