"gapless_enabled" : "Enable gapless support",
"crossfade_duration" : "Crossfade duration (in seconds, 0 to disable)",
"power_control" : "Attach Power Control to player.",
- "volume_control" : "Attach Volume Control to player."
+ "volume_control" : "Attach Volume Control to player.",
+ "security" : "Security",
+ "security_username" : "Username",
+ "security_password" : "Password"
},
"players" : "Players",
"play" : "Play",
},
updated () {
alert('New content is available; please refresh.')
- window.location.reload(true)
},
offline () {
alert('No internet connection found. App is running in offline mode.')
PASSWORD = "password"
INT = "integer"
FLOAT = "float"
- PLAYER_ID = "player_id"
+ LABEL = "label"
+ HEADER = "header"
+
@dataclass
:param player_id: player_id of the player to handle the command.
:param media_item: media item(s) that should be played (single item or list of items)
:param queue_opt:
- QueueOption.Play -> Insert new items in queue and start playing at the inserted position
- QueueOption.Replace -> Replace queue contents with these items
- QueueOption.Next -> Play item(s) after current playing item
- QueueOption.Add -> Append new items at end of the queue
+ QueueOption.Play -> Insert new items in queue and start playing at inserted position
+ QueueOption.Replace -> Replace queue contents with these items
+ QueueOption.Next -> Play item(s) after current playing item
+ QueueOption.Add -> Append new items at end of the queue
"""
player = self._players[player_id]
if not player: