Skip to content

ChrisK91/sonos-playlist-card

Repository files navigation

Sonos Playlist Card by @ChrisK91

hacs_badge Build

screenshot

This is an experimental using the Spotcast add on, to play your spotify playlists on sonos speakers. It is heavily influenced by spotify-card, and relies on the spotcast connector to query the playlists.

When clicking a playlist, the "media_player.play" service will be called, with the id of the desired playlist.

UI-mode is not yet supported. I'm not a Typescript expert, so there will be some ugly code in here.

YAML-mode

type: sonos-playlist-card
name: optional string to display at the top
player: the entity to play the playlist on
playlist_type: (optional) the playlists to display (featured, discover-weekly)
account: (optional) the spotify account to query the playlists for, defaults to the default account
limit: (optional) how many playlists to show 
country_code: (optional) the country to show the featured playlists for
gridWidth: (optional) percentage width of single items. E.g. set to "30" to display three columns, set to "20" to display five items, etc. Due to the gap between items, you might need to set the number a little bit lower to achive the desired result

See info.md for changelog

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published