diff --git a/src/mpd_now_playable/mpd/types.py b/src/mpd_now_playable/mpd/types.py index 800fc7b..4183e5d 100644 --- a/src/mpd_now_playable/mpd/types.py +++ b/src/mpd_now_playable/mpd/types.py @@ -16,7 +16,7 @@ OneshotFlag = Literal[BooleanFlag, "oneshot"] # This is not the complete status response from MPD, just the parts of it mpd-now-playable uses. -class StatusResponse(TypedDict, MusicBrainzTags): +class StatusResponse(TypedDict): state: Literal["play", "stop", "pause"] # The total duration and elapsed playback of the current song, measured in seconds. Fractional seconds are allowed. @@ -49,7 +49,7 @@ class StatusResponse(TypedDict, MusicBrainzTags): # optional. mpd-now-playable will work better if your music is properly # tagged, since then it can pass more information on to Now Playing, but it # should work fine with completely untagged music too. -class CurrentSongTags(TypedDict, MusicBrainzTags, total=False): +class CurrentSongTags(MusicBrainzTags, total=False): artist: MaybePlural[str] albumartist: MaybePlural[str] artistsort: MaybePlural[str]