feat: Media stream info in now playing modal (#233)

* feat: add base codec info to player

* fix: redundant console.log

* chore: translation

* fix: only overflow direct play
This commit is contained in:
Lei Nelissen
2024-07-25 17:16:30 +02:00
committed by GitHub
parent 189491b90a
commit 0d09c6f0b8
14 changed files with 148 additions and 13 deletions

View File

@@ -8,6 +8,29 @@ export interface UserData {
Key: string;
}
export interface MediaStream {
Codec: string
TimeBase: string
VideoRange: string
VideoRangeType: string
AudioSpatialFormat: string
DisplayTitle: string
IsInterlaced: boolean
ChannelLayout: string
BitRate: number
Channels: number
SampleRate: number
IsDefault: boolean
IsForced: boolean
IsHearingImpaired: boolean
Type: string
Index: number
IsExternal: boolean
IsTextSubtitleStream: boolean
SupportsExternalStream: boolean
Level: number
}
export interface ArtistItem {
Name: string;
Id: string;
@@ -71,6 +94,7 @@ export interface AlbumTrack {
MediaType: string;
HasLyrics: boolean;
Lyrics: Lyrics | null;
MediaStreams: MediaStream[];
}
export interface State {