GithubHelp home page GithubHelp logo

berroteran / jam Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nlamirault/jam

0.0 1.0 0.0 1.13 MB

Google Play Music console player for Linux and Windows (unmaintained)

License: MIT License

Makefile 3.37% Go 96.63%

jam's Introduction

This project is no longer maintained as I've made the switch from GPM to Deezer and I can't test it. If you want to take over, drop me an email

jam

This is my first Go program, I wanted to listen to Google Play Music on console, so I've written a player. It is inspired by Matt Jibson's Moggio and uses one of his libraries. You can see it in action if you follow this link: https://www.dropbox.com/s/ygai22mzgmtd2ri/out-2.ogv

It has the following features:

  • Last.fm scrobbling (use -lastfm flag)
  • populating the database with artists and albums you saved through the web interface (or by any other means)
  • searching within artists in the database
  • playing, pausing (buggy, I need help with it), stopping, previous track, next track
  • the interface is ripped off from Cmus, I only added a progress bar
  • this player no longer lists artists in random order - if you want to shuffle them press R

In order to use this program you must be logged in in Google Play services on your phone, if you have no smartphone - this program, at its current state, is not for you

If you use 2-factor authorization in your Google account, you must generate an app password, follow this link https://security.google.com/settings/security/apppasswords

The linux binary I release is not static, it depends on pulseaudio, if you want to build it from source, you are going to need the pulseaudio development package installed. Windows users are all set

If you have an x86 system, you'll have to compile it yourself, sorry for that

Contributions are welcome!

The keybindings are mostly the same as in Cmus:

Key Action
return, x play currently selected artist, album or song
c pause
v stop
b next track
z previous track
u synchronize the database (in case you added some songs in the web interface)
/ search artists
n next search result
tab toggle artists/tracks view
escape, q quit
up arrow, k scroll up
down arrow, j scroll down
Home, g scroll to top
End, G scroll to bottom
space toggle albums
R randomize artists
Ctrl+Space toggle view (playlists/artists)
r repeat current track

TODO

  • make the interface detachable (like MOC)
  • make the binary able to receive command line arguments for controlling playback (next track, pause, etc)
  • implement search within the GPM global database
  • feature requests are welcome as well

Contributors (in order of the number of commits):

  • @nlamirault
  • @koron
  • @avilanicolas
  • @felixonmars
  • @MartijnBraam

jam's People

Contributors

nlamirault avatar budkin avatar koron avatar avilanicolas avatar felixonmars avatar martijnbraam avatar

Watchers

Omar Berroterán Silva avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.