Skip to content

Commit

Permalink
[ 1.0.44 ] * Updated service player_set_shuffle_mode to correctly s…
Browse files Browse the repository at this point in the history
…et shuffle mode for Sonos devices.

  * Updated service `player_set_repeat_mode` to correctly set repeat mode for Sonos devices.
  * Updated service `player_set_volume_level` to correctly set volume level for Sonos devices.
  • Loading branch information
thlucas1 committed Jul 25, 2024
1 parent f75c83c commit 3658b86
Show file tree
Hide file tree
Showing 5 changed files with 275 additions and 19 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ Change are listed in reverse chronological order (newest to oldest).

<span class="changelog">

###### [ 1.0.44 ] - 2024/07/24

* Updated service `player_set_shuffle_mode` to correctly set shuffle mode for Sonos devices.
* Updated service `player_set_repeat_mode` to correctly set repeat mode for Sonos devices.
* Updated service `player_set_volume_level` to correctly set volume level for Sonos devices.

###### [ 1.0.43 ] - 2024/07/23

* Updated service `player_media_play_context` to correctly default the `position_ms` and `offset_position` argument values. This was causing the playlist to always start at the first track if the `offset_position` argument value was not supplied. This manifested itself when shuffle was enabled, as the playlist should have started at a random track and was not doing so.
Expand Down
6 changes: 6 additions & 0 deletions custom_components/spotifyplus/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,9 @@
'user-read-recently-played',
'user-top-read'
]

TRACE_MSG_DELAY_DEVICE_SONOS:str = "Delaying for %s seconds to allow Sonos Soco API to process the change"
"""
Delaying for %s seconds to allow Sonos Soco API to process the change
"""

2 changes: 1 addition & 1 deletion custom_components/spotifyplus/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
"urllib3>=1.21.1,<1.27",
"zeroconf>=0.132.2"
],
"version": "1.0.43",
"version": "1.0.44",
"zeroconf": [ "_spotify-connect._tcp.local." ]
}
Loading

0 comments on commit 3658b86

Please sign in to comment.