Skip to main content

Terminal Spotify application

Project description

Spotify Terminal

Terminal program to play/control music via Spotify. Some features require a Spotify Premium account.

Install

Requires Python 3. Older versions can be manually installed for Python 2 (See releases: https://github.com/marcdjulien/spotify-terminal/releases)

pip install spotify-terminal

Or clone/download this repository and run:

python setup.py install 

This application uses Unicurse: https://pypi.org/project/UniCurses (A version of this already comes with the checkout)

Usage

Execute the following command to run the program:

spotify-terminal.py [-u username]

Optional: username is either the email associated with your Spotify account or the user id.

? Search

By typing ? you can begin a search..

: Commands

By typing : you can enter commands. The following is a list of all commands:

search [query] | Search for an Artist, Album or Song.

find [index] [query] | Find an entry in the currently list that contains query. The UI will automatically go to the index found entry.

volume [0-100] | Set the volume.

play | Start playing.

pause | Pause the player.

repeat [off|context|track] | Set the repeat mode.

shuffle [True|False] | Set the shuffle mode.

exit | Exit the application.

Other Tips and Tricks

TAB while on an artist's page to toggle between their main page and a list of all of their tracks. This is useful if you want to listen to all tracks by an artist within the same context.

/ is a shortcut to the find command. You can also type n or p to find a next or previous entry (similar to vim).

:q to exit.

Backspace to cycle through previous track listings.

Shift + S on any track to immediately go to the album page.

Shift + D on any track to immediately go to the artist page.

Shift + | to immediately go to the context of the currently playing song.

Shift + X to immediately go to the album page of the currently playing song.

Shift + C to immediately go to the artist page of the currently playing song.

Shift + R to re-sync the player.

Shift + > to play the next song.

Shift + < to play the previous song.

Shift + W to see list of your devices.

Shift + 0-9 to set to set the volume. 1...0 for volume 10...100.

Shift + ` to mute.

Shift + P to add a song to a playlist.

Shift + O to create a new playlist.

DELETE to delete a playlist or song from a playlist.

OS Compatibility

This has only been tested on Linux and Windows with a Spotify Premium account. Briefly on Mac.

32-bit Python only.

Feel free to submit pull requests or tickets for issues.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spotify-terminal-0.15.3.tar.gz (132.6 kB view details)

Uploaded Source

Built Distribution

spotify_terminal-0.15.3-py3-none-any.whl (149.0 kB view details)

Uploaded Python 3

File details

Details for the file spotify-terminal-0.15.3.tar.gz.

File metadata

  • Download URL: spotify-terminal-0.15.3.tar.gz
  • Upload date:
  • Size: 132.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.1 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.6.8

File hashes

Hashes for spotify-terminal-0.15.3.tar.gz
Algorithm Hash digest
SHA256 c8e953e80db1dab9c12da6f4d636e4b0cd6998022d6e6895caf55ea512a770dc
MD5 6b4463ec04ecbb53b521b64562400e89
BLAKE2b-256 802b50cbda93d4a49489d9f542e57992c73e942c40e4b3620d59931812d95f4c

See more details on using hashes here.

File details

Details for the file spotify_terminal-0.15.3-py3-none-any.whl.

File metadata

  • Download URL: spotify_terminal-0.15.3-py3-none-any.whl
  • Upload date:
  • Size: 149.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.1 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.6.8

File hashes

Hashes for spotify_terminal-0.15.3-py3-none-any.whl
Algorithm Hash digest
SHA256 578d069dd46a1cde57f0d4976534cac341231d8c874d7665e069e0fd1bc4b4b8
MD5 92276ba74c233fd212286bcdcb4d5eed
BLAKE2b-256 a7a3f290dcd84c4237253d054155411eb9b9cb823ccbbf2acc05969bcfcf7665

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page