Rofi menu script that controls spotify playback.
Project description
Rofify
Spotify Menu in Rofi
This app is intended to provide an alternative method for controlling spotify playback. It's inspired by the terminal application SpoTUI, and makes heavy use of spotipy and python-rofi-menu.
Before you attempt to install this, it's worth noting that, at present, you need spotify premium in order to use this. You will need create an app on the spotify devolper site (go to dashboard, then create an app).
To install the package run:
pip install rofify
Setup
You will need to add a few items to the configuration to get started. To create the a config file at .config/rofify/config you can run:
python -m rofify --create-config
In the config file you will need to set the values for username, client_id and client_secret. The client_id and client_secret can be obtained on your application page on developer.spotify.com. Redirect_uri can be left the same, unless you have changed it in the application settings on developer.spotify.com.
Next, run:
python -m rofify --create-token
This is required, as the authentication uses this token in every reuqest made. This creates a token using the path specified by 'cache_path' in the config file.
Try and see if the package is working by typing running Rofi:
rofi -modi spotify:"python -m rofify" -show spotify
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.