🏷️ add better types to track

This commit is contained in:
oskvr37
2024-07-27 00:43:17 +02:00
parent ca0fc8401c
commit 1ba24a5c9a
+5 -3
View File
@@ -117,13 +117,15 @@ class PlaylistResponse(TypedDict):
class TrackResponse(TypedDict):
trackId: int
assetPresentation: str
audioMode: str
assetPresentation: Literal["FULL"]
audioMode: Literal["STEREO"]
audioQuality: TrackQuality
manifestMimeType: str
manifestMimeType: Literal["application/dash+xml", "application/vnd.tidal.bts"]
manifestHash: str
manifest: str
albumReplayGain: float
albumPeakAmplitude: float
trackReplayGain: float
trackPeakAmplitude: float
bitDepth: int
sampleRate: int