https://github.com/dannixon/playmusiccl
A command line client for Google Play Music
https://github.com/dannixon/playmusiccl
Last synced: about 2 months ago
JSON representation
A command line client for Google Play Music
- Host: GitHub
- URL: https://github.com/dannixon/playmusiccl
- Owner: DanNixon
- License: apache-2.0
- Created: 2013-06-19T11:55:45.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2016-10-25T11:38:43.000Z (over 8 years ago)
- Last Synced: 2025-03-23T01:12:40.128Z (2 months ago)
- Language: Python
- Size: 153 KB
- Stars: 135
- Watchers: 12
- Forks: 20
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
PlayMusicCL
===========A command line client for Google Play Music.
[](https://landscape.io/github/DanNixon/PlayMusicCL/master)
*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):- Debian-based systems: `sudo apt-get install python-gst*`
- RHEL: `sudo yum install gstreamer-python* python-mock`
- OS X: `brew install pygobject3 gstreamer`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:
- ```PLAY``` - Pauses or unpauses playback
- ```PAUSE``` - Same as ```PLAY```
- ```P``` - Same as ```PLAY```
- ```LIKE``` - Loves the current song on Last.fm and gives it a Thumbs Up on
Google Play
- ```LOVE``` - Same as ```LIKE```
- ```L``` - Same as ```LIKE```
- ```EXIT``` - Exits
- ```NOW``` - Shows the title and artist of the currently playing song.
- ```[return]``` - Same as ```NOW```
- ```NEXT (n)``` - Plays the nth song after the current song (n has no effect in
random play mode, n can also be negative to skip back through tracks)
- ```N``` - Plays next track
- ```PMODE [random/linear] [repeat/norepeat]``` - Specifies play options, if you
have used any other media player they should be self explanatory
- ```LIST (pn)``` - Shows a list of all artists
- ```LIST (pn) PLIST``` - Shows a lit of all user playlists
- ```LIST (pn) PLIST [playlist]``` - Shows all songs in specified user playlist
- ```LIST (pn) [artist]``` - Shows all albums by specifies artist (including
albums they appear on)
- ```LIST (pn) [artist] [album]``` - Shows all songs in specified album by
specified artist
- ```QUEUE (pn)``` - Show songs currently in the queue (in the order they are to
be played)
- ```QUEUE PLIST [playlist]``` - Add all songs from specified user playlist to
queue
- ```QUEUE [artist]``` - Adds all songs by specified artist to queue
- ```QUEUE [artist] [album]``` - Adds all songs by specified album to queue
- ```QUEUE [artist] [album] [song]``` - Adds specified song to queue
- ```CLEARQUEUE``` - Stops playback and removes all songs from the queue
- ```PAM``` - "Play Awesome Music": clears queue, queues "Thumbs Up" playlist,
sets random playback and playsNote 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"```