Skip to main content
Code Health

A seamless single-line player for Google Music and (soon!) local MP3 files.

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.

Release history Release notifications | RSS feed

This release

0.0.1 This release

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page