Spotcast - custom component to start playback on an idle chromecast device

I uninstalled the component, restarted the home assistant and reinstalled. But now the error 400 when I call the service.

Yes, like everyone else. Read the comments above in this thread :slight_smile:

2 Likes

Hello all,

nothing new?

thanks

@fondberg can you fix the custom? in 0.110 donā€™ run. have a error. thankyou

Read the posts above or on the readme (bot for hacs and github).
Until there is a fix for the token it will not work.

Yeah ! great it work againā€¦ thanks !! really nice job ! :slight_smile:

Hi, Iā€™m very happy to see spotcast is back again.
@fondberg I was able to get sp_dc and sp_key in a much more simple way than using ā€œdeveloper toolsā€:
If using chrome browser you only need to open url
chrome://settings/cookies/detail?site=spotify.com
and copy content from sp_dc and sp_key cookies
If you have no cookies you have to login at
https://open.spotify.com/
and then go back to previous url
Thank you for your work

1 Like

Thanks for the tip!

So happy to have SpotCast back on my Miniā€™s!

Thanks @fondberg! One of the best integrations! :slight_smile:

@fondberg Great that you found a way to fix, thanks for your effort! Do you consider this a more future proof solution than the previous ways to obtain a proper token?

What am i doing wrong?

I set up the new spotcast like this

Configuration.yaml:

spotcast:
  sp_dc: !secret sp_dc
  sp_key: !secret sp_key

secrets.yaml

sp_dc: AQAacJF1--**--AcuoI-d3pVbXE0*****cawXyiEgj****QqJJ7xYiX6A****8T21MzS22-ivVquTRCAQIOSsA
sp_key: 85***6e-6d***-4**a-87**-fb15*******

But the validation gives me this error:
Invalid config for [spotcast]: [sp_dc] is an invalid option for [spotcast]. Check: spotcast->spotcast->sp_dc. (See /config/configuration.yaml, line 50).

I have updated to the latest version of the spotcast card from Hacs, running Home assistant 109.6

Any ideas?

Is there also a possibility to only show certain chromecast devices from the sensor? Like a filter or something?

Restart HA?

yeah Several times, even the Rpi3

Oh my end when I add spotcast to the configuration yaml I get the following error:

Configuration invalid
Component error: spotcast - Requirements for spotcast not found: [ā€˜spotify_token==1.0.0ā€™].

Only god and Spotify knows Iā€™m afraidā€¦

Pretty sure you have the wrong version of spotcast installed

V3.0.0 according to hacs

I would uninstall it and restart. Then install it and restart.

@fondberg I hope you can help me out/answer here. Iā€™d love to select only several devices instead of the big scrollist im having now when using your spotify card.