Releases: fondberg/spotcast
Fix error callback on bad install
Fixed an error that caused spotcast to enter an error state when the official Spotify Installation is not configured in home assistant. The fix does a check at the start of the script. If the spotify integration is missing, spotcast will send an error log explaining the missing component and exit.
Correction for:
Added search to service
@kylepotts added Search 🥇
It works by providing the data field "search" ie:
service: spotcast.start
data:
entity_id: media_player.cuisine
random_song: true
shuffle: true
search: between the buried and me
Currently the code will only do a search request if the Uri field is empty. The flow of the search is has followed:
Intercept if Uri is none or empty
Get the most relevant result from each searchType (artist, album, track, and playlist)
Sort the results according the most identical to the search query
Set the Uri to the one of the results in index zero of the list
Continue the usual flow of the component
...
In case multiple results are identical, the priority will be artist->album->track->playlist. Let's take the search exemple "Between the buried and me". We have a song called "between the buried and me" on an album of the same name from a band of the same name. The uri that is returned will be the one from the artist.
Fix playlist sensor
Fix playlist sensor
Make it work again
I have not been able to test this as it didn't work on my laptop but as it is broken anyways I release it to see if it solves it for your guys.
Add hacs version control
v3.6.14 Update manifest.json
Accounts fix
fixed None issue (#228) * fixed issue fixed the none issue and cleared up parameters * Update spotcast_controller.py
Fix indent issue
fixed an indentation issue (#225) * fix for error when no other accounts are provided * fixed indentation issue
Bug fix accounts
v3.6.11 fix for error when no other accounts are provided (#224)
Major refactor to simplify future.
This release contains a major refactor which means it could contain issues. Please help me fix these.
This release will make it possible to add sensors that have been requested as well as makes feature development easier
multi account spotify devices fix
v3.5.10 bump