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 https://spotify-ubports.peprolinbot.com/showCodeRequestResult/index.html or your own if you have your own server for this set up. When ready go to https://spotify-ubports.peprolinbot.com/generateCodeRequest 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.