DanNixon / PlayMusicCL

A command line client for Google Play Music
Apache License 2.0
135 stars 21 forks source link

PlayMusicCL

A command line client for Google Play Music.

Code Health

No longer maintained

This project is no longer actively maintained. I haven't really got the time needed to mainthin this and have since stopped using the client for my personal use.

Install/Configuration

Install using python setup.py install, which installs the majority of dependencies; however, you will also need the Python GTK bindings (for GST):

Configure by copying the example config file to your home directory: cp example.playmusicclrc ~/.playmusicclrc, then edit as needed. The minimum required settings are google_user and google_device_id. Use GetDeviceID.py to get the registered device IDs associated with your account, then use one of them (minus the leading '0x') as your google_device_id. If no password is included in the config file, one will be requested when the app starts (note that if using Google two factor authentication then you will need to create an application specific password).

Remove the lastfm_ entries from the config file to disable Last.fm integration.

Usage

From a terminal: playmusiccl

Once the app is running you will then have access to the following commands:

Note that n and pn are optional parameters and both default to 1, pn denotes the number of the page to display.

Commands themselves are case insensitive, however artist, album, track and playlist names are case sensitive and must have correct spacing.

Command Examples

To see all albums by Eluvietie: list Eluveitie

To see all tracks in Spirit by Eluveitie: list Eluveitie Spirit

To add "...Of Fire, Wind and Wisdom" (in album Spirit) by Eluveitie to the queue: queue Eluveitie Spirit "...Of Fire, Wind and Wisdom"

To see all playlists: list plist

To see all tracks in playlist "Symphonic Metal": list plist "Symphonic Metal"

To add all tracks from playlist "Symphonic Metal" to queue: queue plist "Symphonic Metal"