@gmcmicken added additionnal playlist types in get_playlists
User playlists selected by "user" "default", or "". Featured selected by "featured", and everything else to be sent to Spotify API to match a users personalized playlists.
// Retrieve playlists
const res = await this.props.hass.callWS({
type: 'spotcast/playlists',
playlist_type: 'featured', // 'user' for saved playlists, 'featured' for spotify featured, or personalized view id
country_code: 'SV', // Optional country code used by featured playlists
limit: 20, // Optional limit, default is 10
account: 'ming' // optional account name
});
Bug fix
- regression found in #255, potential race condition. Reverted the change, but kept the error log