Pytify
Search and start songs from the CLI.
Linux and OS X support.
Spotify must be running in the background in order to use this cli remote
Python 3 support. For Python 2 support use this release: v2.1.0
Installation
$ pip install pytifyPython 2
$ pip install pytify==2.1.0Linux you need to install python-dbus package.
$ # Example using apt-get
$ apt-get install python-dbusCredentials
This package now must use credentials in order to search for songs.
Support for client credentials flow. Please follow these steps:
- Register app: https://developer.spotify.com/my-applications/#!/applications
- Edit your
~/.bashrcto export following values:
export SPOTIPY_CLIENT_ID='your-spotify-client-id'
export SPOTIPY_CLIENT_SECRET='your-spotify-client-secret'Features
- Commands
- Auto suggest (based on history)
- Tab through history
- Search history
- Search and play songs
- CLI commands
- VIM navigation bindings
Clone repo
$ git clone https://github.com/bjarneo/Pytify.git
$ cd Pytify
$ sudo python setup.py installUsage
# To start the app type
$ pytify
# next song
$ pytify -n
# prev song
$ pytify -p
# play and pause song
$ pytify -pp
# Current playing song
$ pytify -cCommands:
current print current song
help list all commands
next play next song
pp play or pause song
stop stop
prev play previous song
history last five search results
Install dev dependencies
pip version must be > 9
$ pip install -r requirements.txtDependencies
* requests
* prompt-toolkitContributing
Contributions are appreciated.
Contributors
- @joined - OS X
- @adam410 - OS X issue
- @Newky - Better structure
- @ymski - OS X
- @wohlfea - Made it compatible with python 3.5
- @ddiddi - Added search phrase history browsing. (auto complete)
- @kmatt - Minor UX changes
- .... and other.. please add your name and code update!
Logo
Logo by theodorosploumis. Thank you very much!

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.



