Hi James, thanks for creating this. This is awesome!
I had this installed last night and it was working wonderfully but today when I tried using it again, the token expired, so I went to get it authorized for a new refresh token. The demo loaded up fine but I cannot select any of my Amazon Echoes, even though they all show up. I get the message “No active device. Please select an available device first.”
One thing I’ve found out is that if I have pre-selected the device on my Spotify app on my PC, I can use the controls in the tile but still get the same device error message as above.
I think you’re running into the limitation of the Spotify API as noted further up in the thread. It’s really neuters the functionality of their Web API compared to their ‘app’ SDKs.
I don’t believe they make the lyrics available through their API. From a quick search, it looks like even Spotify is sourcing the lyrics from a third party.
When nothing is played or no device is selected the tile stays transparent ( as there is no album cover to display ) this way it blends with your dashboard background, also the section where artist and song is becomes hidden.
Example in use with mega tile (really depends on how many tile number your dashboard is setup) I just left the first column to go back to main dashboard and the rest is used by the spotify tile.
Hi all,
I newbee in Sharptools and I just tried to create a full developer version of Spotify according to the instructions on SharpTools_custom_tile_poc on the Github and I can’t create the acces_token and refres_token in Postman in the last step.
I don’t know where I’m doing wrong.
Has anyone tried this procedure?
I am sorry for bothering.
Have a nice New Year.
Alex
P.S.: Sorry for my English.
Greetings from Czech Republic
I suspect that most people use the standard setup instructions that simplifies the process of getting a valid token using the pre-built authorization page.
As for your question from Github about the headers for the developer approach, reading through the instructions it sounds like you need to include a header with the key Authorization and the value Basic {{your_base64_clientId:secret}}. If I’m reading the instructions right, you would need to have something like the following, but of course customized with your base64 encoded {{clientId}}:{{clientSecret}}
Wonderful work and really useful. Is it possible to add also volume control to Spotify with this custom tile ?
I’m not using this tool, I’m trying to help my friends…
I do not find how to enlarge the icon on the Spotify Button I created. The Icon is a user file and the tile is a Dashboard tile that calls the player in a full screen mode. (I am using a Galaxy TAB A7 lite and the screen is too small for the player controls…)
You could use a Super Tile if you wanted more control over the placement and size of the icon.
From a quick check of the Spotify Web API documentation, it looks like there is an option to set the player volume. You would need the requisite HTML + JavaScript skills to modify the custom tile if you wanted to implement it though.
If your player device is integrated with your smart home, you may be able to control it with the native music player tile. And there’s a Vertical Range Input (Slider/Dimmer) custom tile that can be used for dedicate volume control for player ‘things’.