Improve names and descriptions of media_player.xxx_set actions (#138773)

Co-authored-by: Andrew Sayre <6730289+andrewsayre@users.noreply.github.com>
This commit is contained in:
Norbert Rittel 2025-02-20 18:26:14 +01:00 committed by GitHub
parent ff4f4111d0
commit ec7ec993b0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -299,22 +299,22 @@
"description": "Removes all items from the playlist."
},
"shuffle_set": {
"name": "Shuffle",
"description": "Playback mode that selects the media in randomized order.",
"name": "Set shuffle",
"description": "Enables or disables the shuffle mode.",
"fields": {
"shuffle": {
"name": "Shuffle",
"description": "Whether or not shuffle mode is enabled."
"name": "Shuffle mode",
"description": "Whether the media should be played in randomized order or not."
}
}
},
"repeat_set": {
"name": "Repeat",
"description": "Playback mode that plays the media in a loop.",
"name": "Set repeat",
"description": "Sets the repeat mode.",
"fields": {
"repeat": {
"name": "Repeat mode",
"description": "Repeat mode to set."
"description": "Whether the media (one or all) should be played in a loop or not."
}
}
},