Make Queue.current nullable, since MPD may be stopped

This commit is contained in:
Danielle McLean 2025-03-05 13:16:48 +11:00
parent b41339a8c5
commit 7dfd3f85e4
Signed by: 00dani
GPG key ID: 6854781A0488421C
3 changed files with 7 additions and 5 deletions

View file

@ -104,7 +104,7 @@
"Queue": {
"properties": {
"current": {
"description": "The zero-based index of the current song in MPD's queue.",
"description": "The zero-based index of the current song in MPD's queue. If MPD is currently stopped, then there is no current song in the queue, indicated by None.",
"title": "Current",
"type": "integer"
},