Spotify Lovelace Card

Hi.
I have a problem since update 0.113.
“Spotcast integration has to be installed for this component to work”
I don’t see a spotcast on HACS, and if I try to add the repository, HACS tells me it already exists. Could someone help me? Thank you.

Hi @Remi_Kiragossian, it’s not in hacs but in settings -> integrations

Spotify integration is ok. But I don’t find Spotcast integration in HACS or Settings / Integration.

Sorry for misinformation. It is in hacs -> integrations but it is not named spotcast.
Click the ‘+’ icon in the bottom right and do a search.
It says ‘start spotify on chromecast’ so look for keyword ‘spotify’ or ‘chromecast’ maybe?

Thanks. I only have “Spotify Lovelace Card”

It’s this one. But you can find it in HACS. Maybe you already installed it. Try adding your data in your configuration.yaml

I am on version 2.0 and have the spotcast addon installed, but still shows an error that Spotify integration needs to be installed, which it is
Thanks

I have the same issue…
2020-07-28_16h18_06

                - type: 'custom:spotify-card'
                  device: Sonos Alrum
                  default_device: media_player.alrum
                  custom_fields:
                    icon: *icon_sonos
                  style:
                    top: 50%
                    left: 50%
                    width: 100%
                  template: media

Hi

Could you share your general config of the card and the .js file, if you did something there?

Your spotify media player needs either to be named something starting in spotify or you need to configure the entity id of the media_player.spotify this is easistest done using the gui configurator for the card under advanced

Same issue here
I installed Spotcast but it didn’t work.
Spotify integration works properly.

Did you add the spotcast lines in your configuration.yaml:

spotcast:
  sp_dc: "xxxx"
  sp_key: "xxxxx"

Loving the new update, the UI is great and the UI for the configuration is solid!

I’m getting a strange bug where the chromecast devices show up as long as I am configuring the Lovelace card but as soon as I save the configuration they don’t show up. I attached some images here to show what I mean.

I tried reinstalling the addon, the spotify integration as well as spotcast and I just changed my sp_dc and sp_key. Any idea what is happening here?

Edit: It just worked now a second ago but now the list is gone again, seems to be an intermittent issue.

Having same issue here! Please post if you know some workarround

I have now released a version of spotcast which doesn’t use pychromecast discovery anymore
https://github.com/fondberg/spotcast/releases/tag/v3.4.0. This should solve some issues with cast discovery.

Not the one where casts are shown in config but not in card. I need more info on that one. Please open a ticket in github and add as much info as you can

1 Like

Amazing card!! Great work.
I got it configured, but I don’t have the visual editor, did I do something wrong? :slight_smile:

You must run lovelace in non-yaml mode

1 Like

Hi, I am not running in yaml mode:

Just found this error on browser console:

Uncaught DOMException: Failed to execute 'define' on 'CustomElementRegistry': the name "spotify-card" has already been used with this registry
    at https://1443/hacsfiles/spotify-card/spotify-card.js:162:67
    at https://1443/hacsfiles/spotify-card/spotify-card.js:162:82
    at t (https:/1443/hacsfiles/spotify-card/spotify-card.js:15:250)
    at https://1443/hacsfiles/spotify-card/spotify-card.js:758:148

EDIT: Just found another resource with same name. Deleted and it working fine :slight_smile:
Sorry for the trouble :slight_smile:

Sorry if this has been covered before, or there is something obvious in the config I am missing, but is there a way to have the card limited to one single playlist (defined by the name or id of the playlist) and one single device?
My idea is to have a card on the kids room where he can play his music, but only on the speaker in that room, and without having to search through all my other playlists to find his own.

I think you are better lf with a button in lovelacr tighed to a service call fpr that use case