-
Python 3.x
-
Python modules:
colorama cursor Flask Flask_Cors spotipy
- Go to Spotify Developer Dashboard.
- Create an App.
- Go to App's dashboard and edit its settings.
- Set
Redirect URLs
tohttp://localhost:9000
. - Rename
config.json.example
toconfig.json
. - Copy
Redirect URLs
,Client ID
,Client secret
and paste them intoconfig.json
. - Install Python modules with
pip install -r requirements.txt --user
. - Start the script by using
python main.py
. - A website should open with the Spotify authorization, accept it.
- Open OBS Studio.
- Add
Browser
source to the scene and open its properties. - Check
Local file
option. - Click
Browse
and select file: html/index.html.
- Enable
Shutdown source when not visible
andRefresh browser when scene becomes active
in source's properties. - You can change position of the widget by setting
position
option (in your config) to:LEFT
(leftup, leftcenter, leftdown)CENTER
(centerup, center, centerdown)RIGHT
(rightup, rightcenter, rightdown)