This project is no longer being worked on due to the fact that I switched to YouTube Music. However, I will be working on a YTM version of this app, so stay tuned!
Please comment on my checklist for what to add on notion! https://www.notion.so/Checklist-for-Consolify-19c140633f41419a945bdc1bc4317f5d?pvs=4
Consolify is a console interface for interacting with the Spotify API using the Spotipy library.
-
Clone the repository:
git clone https://github.com/funkycharlie/consolify.git cd consolify
-
Install dependencies:
pip install -r requirements.txt
-
Set up Spotify API credentials:
-
Go to Spotify Developer Dashboard and create a new application.
-
Enter a name and description for your application.
-
Set the application's redirect URI to:
http://localhost:8080
-
Copy the Client ID and Client Secret from your application's settings.
-
Run the main.py and enter the prompted Client ID and Client Secret:
python main.py
-
- nowplaying [options]: Display information about the currently playing song.
- Option "-a" shows the album of the song.
- Option "-l" adds the song to your library (liked songs).
- search [options]: Search for a specific song on Spotify.
- Option "-a" shows the album for each search result.
- Option "-q" adds the first search result to the queue.
- Option "-p" plays the first search result.
- library: Displays the last 20 tracks you added to your library.
- pause: Pause the currently playing song.
- play: Resume playback or play recently played tracks if no current playback.
- skip: Skips to the next song.
- prev: Skips to the previous song.
- shuffle Toggles the shuffle state.
- createplist: Create a new playlist for the authenticated user.
- playlists: Allows you to view all the songs in a playlist from your library. There are many things you can do with this function.
- close: Exit the program.
- help: Display a list of available commands and usage information.
- choose_device(): Choose a device for playback.
- playback(selected_track): Start playback of a selected track.
- add_to_queue(selected_track): Add a selected track to the playback queue.
- spotify_search_global(args): Global search function with various options.
- add_songs_playlist(playlist): Add songs to a specified playlist.
This script is used to set up Spotify API credentials for the Consolify application.
- Run the main.py file to authenticate with Spotify.
- Enter commands in the console to control your Spotify playback and perform other actions.
For more details, refer to the source code and individual module documentation.
- spotipy: Spotify API library
- Other project dependencies (see requirements.txt)
Funkycharlie
This project is licensed under the GNU General Public License - see the LICENSE file for details.