Spotify Custom Tile

Since I have several requests for the updated code, you can access it here:
https://github.com/brunocerq/custom-spotify-tile-sharptools

2 Likes

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}}

image

@josh , @James ,

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…

1 Like


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…)

Also, could anyone teach me how to add volume controls? Is that even possible?

Most tiles have a fixed space for icons. I’ve marked it with a red outline in the following screenshot:

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’.

Thank you Josh! I switched to Super tiles instead.

Hi there,
Made a little addon to my previous Spotify tile integration, now when you select a playlist and play, the tracks from that playlist are showed in the list.

Code here: GitHub - brunocerq/custom-spotify-tile-sharptools: This is a modification of the Spotify tile for sharptools

Use the “spotify-tile-plus-track-list.js” version.