gmus

Compact player for Google Music


Keywords
Music, Google, Search, Play, All, Access
License
Other
Install
pip install gmus==0.0.1

Documentation

GMus

#####A seamless single-line player for Google Music and local MP3 files.

Code Health

Get all dependencies:

curl -l https://raw.githubusercontent.com/bedekelly/gmus/master/deps|bash

Optimised to run in a terminal on a single console line, using all kinds of horrible tricks.

While this started off as a fork of Dan Nixon's PlayMusicCL, it ended up being almost completely different in the way it worked. All credits go to him for the initial idea though, and for the idea of using pygst (however much grief it was to port to 1.0!).

Uses Simon Weber's GMusic API, oh ye gods, I am not worthy. That code is badass.

Shame it's stuck with Python 2.x though (API has troubles with OAuth, and really it's all Google's fault).

Command list:

a - Adds a file to the end of the playlist
s - As above, but also begins playing it. Playlist is unchanged.
< - Skip to previous song
> - Skip to next song
Space - Play/Pause
Shift+Q - Quit
c - Clear playlist. The current song will stay playing.
z - Play a random song. The playlist remains intact, and the random song is appended to the end of it.
Shift+S - Append all search results to playlist.
Shift+A - Adds a file to the end of the playlist, but keeps the search results loaded. Press q to get rid of them.

Pressing Control-C on any 'Search:' prompt will safely cancel the request and return you to the main player interface.