github fondberg/spotcast v3.6.19
Support additional playlist types in get_playlists

latest releases: v3.8.1, v3.8.0, v3.7.3...
2 years ago

@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

Don't miss a new spotcast release

NewReleases is sending notifications on new releases.