No description
Find a file
Andrew Dunai 578d15f9fc README
2018-01-06 02:03:28 +02:00
clay Build fix. 2018-01-06 02:02:05 +02:00
images Initial 2017-12-28 15:09:40 +02:00
.flake8 Cleanups 2018-01-02 11:26:55 +02:00
.gitignore Hotkeys 2018-01-04 18:29:57 +02:00
.pylintrc Linting 2018-01-06 01:58:53 +02:00
.travis.yml Linting 2018-01-06 01:58:53 +02:00
activate.sh Initial 2017-12-28 15:09:40 +02:00
LICENSE Initial commit 2017-12-28 15:06:14 +02:00
Makefile Initial 2017-12-28 15:09:40 +02:00
README.md README 2018-01-06 02:03:28 +02:00
requirements.txt Initial 2017-12-28 15:09:40 +02:00
setup.py Cleanups 2018-01-02 11:26:55 +02:00
tox.ini Linting 2018-01-06 01:58:53 +02:00

Clay [alpha]

Build Status

Standalone command line player for Google Play Music.

This app wouldn't be possible without the wonderful gmusicapi and VLC libraries.

This project is neither affiliated nor endorsed by Google.

It's being actively developed, but is still in the early alpha version, so many features are missing and/or may be bugged.

(Click the image below to see the screencast.)

asciicast

Requirements

What works

  • Playback
  • Music library
  • Playlists
  • Radio stations
  • Queue management
  • Notifications
  • Configuration
  • Caching (partially)

What is being developed

  • Search
  • Like/dislike
  • Caching
  • Other functionality that is supported by gmusicapi

Installation

  1. Install Python 3 and VLC.

Method 1 (automatic)

  1. Source the 'activate.sh' script. It will initialize the Python virtual env and install the dependencies:

    source activate.sh
    
  2. Run the player:

    ./clay/app.py
    

Method 2 (manual)

  1. Create & activate virtualenv:

    virtualenv .env
    source .env/bin/activate
    
  2. Install the requirements:

    pip install -r requirements.txt
    
  3. Run the player:

    ./clay/app.py
    

Configuration

In order to use this app, you need to know your Device ID. Typically gmusicapi should display possible IDs once you type a wrong one. Also be aware that this app has not been tested with 2FA yet.

Controls

General

  • <UP|DOWN|LEFT|RIGHT> - nagivate around
  • <ALT> + 1..9 - switch active tab

Songs

  • <ENTER> - play highlighted track
  • <CTRL> w - play/pause
  • <CTRL> e - play next song
  • <CTRL> a - append highlighted song to the queue
  • <CTRL> u - remove highlighted song from the queue
  • <CTRL> p - start station from highlighted song

Playback

  • <CTRL> s - toggle shuffle
  • <CTRL> r - toggle song repeat
  • <SHIFT> <LEFT|RIGHT> - seek backward/forward by 5% of the song duration
  • <CTRL> q - seek to song beginning

Misc

  • <ESC> or <CTRL> / or _ - close most recent notification
  • <CTRL> x - exit app

Credits

Made by Andrew Dunai.

Regards to gmusicapi and VLC who made this possible.