Setup Spotify Connect Controller for UBPorts

First of all you need an Spotify App: Follow this tutorial if you need. In the redirect URIs enter or your own if you have your own server for this set up. When ready go to and follow the instructions. You should end with 3 values to enter in the app’s settings: client_id, client_secret and refresh_token. And you are ready to go! The code for all these pages, except the one you are reading right now cause it’s jsut text in a wordpress page, are avaliable at Github.