Declare nextsong index as part of MPD status response

This commit is contained in:
Danielle McLean 2024-07-26 09:49:45 +10:00
parent dbd507bccb
commit 085bca7974
Signed by: 00dani
GPG key ID: 6854781A0488421C

View file

@ -45,6 +45,10 @@ class StatusResponse(TypedDict):
# The total number of items in the play queue, which is called the "playlist" throughout the MPD protocol for legacy reasons.
playlistlength: str
# The zero-based index of the song that will play when the current song
# ends, taking into account repeat and random playback settings.
nextsong: str
# The format of decoded audio MPD is producing, expressed as a string in the form "samplerate:bits:channels".
audio: str