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.

Notes

This has only been tested on Linux and Windows with a Spotify Premium account. Briefly on Mac. 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.13.3.tar.gz (130.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spotify_terminal-0.13.3-py3-none-any.whl (134.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: spotify-terminal-0.13.3.tar.gz
  • Upload date:
  • Size: 130.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 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.13.3.tar.gz
Algorithm Hash digest
SHA256 a06481ef567985906eb1b8993c8d92060b22bffc9a0063e6ea68a71f84ef34ba
MD5 df7cd35c32065d23b90f976fba39812b
BLAKE2b-256 7a94e03deb804adf041215f5a4cb19c4de70ef24df8f1aea77a4e5f795ce090b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: spotify_terminal-0.13.3-py3-none-any.whl
  • Upload date:
  • Size: 134.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 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.13.3-py3-none-any.whl
Algorithm Hash digest
SHA256 efd7d4c77f6b0db1623301f74a96ab1150b1d64b7b19ff0bf43fcac3693ee623
MD5 4b7718ee751716ed97d729d943916c11
BLAKE2b-256 3925437e48e9a9550b4b521371e2fdbc9eff4082b2c1761d33bf575d6698c206

See more details on using hashes here.

Supported by

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