Thanks for looking at this so quickly - confirm the volume controls now showing. Still no shuffle button in the media controls area though
@jaustin
An odd question, but is the shuffle button enabled in the Spotify Mobile (or Desktop) client when you are playing the same track?
Sometimes the shuffle and / or repeat icons are disabled in the Spotify Mobile client for me when I start a DJ playlist.
Can you confirm?
@jaustin
And the obvious ⌠did you leave the shuffle configuration option disabled maybe?
@SeppelM83
You would need a separate Spotify account setup for her, either under a family plan or her own account. The SpotifyPlus Card controls access based on the Spotify user account.
It is enabled and functional
Tried playing playlists, artist or album to see if any different result and there isnât.
The shuffle attribute on the spotifyplus media player toggles as I change on desktop client.
And to your other question, hereâs the yaml for the card (ie, not hiding the shuffle button):-
- type: custom:spotifyplus-card
entity: media_player.spotifyplus_hass
sections:
- player
- albumfavorites
- artistfavorites
- devices
- playlistfavorites
- recents
- searchmedia
width: fill
playerHeaderArtistTrack: '{player.media_artist} - {player.media_title}'
playerHeaderAlbum: '{player.media_album_name}'
@jaustin
Thatâs an odd one!
The only other logic that could disable the shuffle feature would be what the Spotify Web API playback state reports, specifically the toggling_shuffle
setting.
Can you access the Spotify Web API GetPlayback site? click on âTry Itâ icon while playing that same track, and see what the actions: "disallows": "toggling_shuffle"
value is set at? Also check the value of the toggling_repeat_track
value.
For a playlist:-
"currently_playing_type": "track",
"actions": {
"disallows": {
"skipping_prev": true,
"toggling_repeat_track": true
}
},
"smart_shuffle": false
For an album:-
"currently_playing_type": "track",
"actions": {
"disallows": {
"toggling_repeat_track": true
}
},
"smart_shuffle": false
I think I found the issue - coding bug on my part.
It appears that I have the toggling_repeat_track
and toggling_shuffle
actions parsing switched! Basically, the âdisallowsâ operations for the repeat track and shuffle are reversed.
self._TogglingRepeatTrack = root.get('toggling_repeat_track', None)
self._TogglingShuffle = root.get('toggling_shuffle', None)
Itâs hard to believe this condition hasnât manifested itself sooner, as that code has not changed since it was put in (2024/01).
Let me get it corrected, and I will push out another release.
Thanks for your patience!
Thank you for your reply, Lucas. I have a separate account for her. I guess you misunderstood my point.
On the picture you can see an overview of some albums. I would like to have just one layer above it, for example an icon for Ninjago and when she clicks on the icon she sees all the albums you see here. Another icon for i.e. Lion KingâŚ
@jaustin
Update SpotifyPlus integration to latest v1.0.74, and try again please.
Thanks!
Perfect! Thanks for sorting this so quickly.
@SeppelM83
Ahhhh, I see.
Unfortunately, there is currently no way to do that.
However, I might be able to create a new user preset type that could open the playlist section and filter the list by specified criteria (e.g. "Folge "). So she would use the user preset section as a starting point, clicking on the âNinjago Favoritesâ preset item; it would then open up the playlist favorites, and filter the list by âFolgeâ (or whatever criteria you specify).
The only limitation is that she has to name her Playlists with a common naming structure so that the filter works correctly. For example, playlist names:
âFolge 01 Playlist (Ninjago)â
âFolge 02 Playlist (Ninjago)â
âFolge 03 Playlist (Ninjago)â
âFolge 04 Playlistâ
âFolge 05 Playlist (Ninjago)â
User preset item:
âNinjago Favoritesâ, with filter criteria of â(Ninjago)â.
The above would yield âFolge 01-03 and 05â being presented in the Playlist section; Folge 04 would be omitted since it did not contain â(Ninjago)â.
Would something like that be acceptable?
Thanks a lot! I will try it. One more question: is it possible to disable the longpress function to get more details of i.e. a title or playlist?
@SeppelM83
Sorry, disabling long-press is not possible as itâs core functionality of the card.
How do you hide devices on this card please? The SpotifyPlus Integration Iâve managed to hide my devices within Spotify Media sources, but this card still shows all the devices possible despite hiding them within your integration.
Thank you!
The hidden devices will be corrected in the next release of the card.
Thanks for bringing them to my attention.
FYI - just released a new version of the SpotifyPlus Card Dashboard
[ 1.0.27 ] - 2024/12/28
- This release requires the SpotifyPlus Integration v1.0.76+ release; please make sure you update the SpotifyPlus integration prior to updating this SpotifyPlus Card release.
- Updated logic to correctly account for idle state; the SpotifyPlus integration will go into idle state (instead of staying in paused state) after it detects that the Spotify Web API has dropped the current play state (e.g. the device disconnects from Spotify Connect).
- Updated Devices section to remove device entries that wish to be hidden as specified by SpotifyPlus integration configuration âhide devicesâ option.
- Added ability to play recently played tracks starting from selected track, which will now automatically add the following tracks (up to 50) to the player queue. Prior to this, only the selected track would play and then play would stop. Note that the 50 track limitation is a Spotify Web API limit.
- Added ability to play player queue tracks starting from selected track, which will now automatically add the following tracks (up to 50) to the player queue. Prior to this, only the selected track would play and then play would stop. Note that the 50 track limitation is a Spotify Web API limit.
Hello Lucas,
first of all I am very impressed by your integration, top work!
I have now noticed that if I listen to âliving roomâ with the playback device and then select âbathroomâ the next time, the playback starts again in the âliving roomâ until I press âbathroomâ a second time. Is this a known problem, or is there a workaround?
Best regards
Stefan
@Richi
Do you have a default device set in your SpotifyPlus integration configuration options? If so, it will default to that device when turned on.
Hi, no i have not selected a default device. it doesnât matter which player i switch to, it always plays on the last played device first. however, this only occurs when i restart the player.