Categorygithub.com/thebaer/jam
repositorypackage
0.4.1
Repository: https://github.com/thebaer/jam.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# README

jam

This is my first Go program, I wanted to listen to Google Play Music on console, so I wrote 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://dl.dropboxusercontent.com/u/3651269/out-2.ogv

The features it has are:

  • Last.fm scrobbling (use -lastfm flag)
  • populating a local database with the 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 Cmus rip off, I've only added a progress bar
  • this player no longer lists artists in random order - if you want to randomize them press R

If you use 2-factor authorisation with your Google account, you will have to 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

Contributions are welcome!

The keybindins are mostly the same as in Cmus:

KeyAction
return, xplay currently selected artist, album or song
cpause
vstop
bnext track
zprevious track
usynchronize the database (in case you added some songs in the web interface)
/search artists
nnext search result
tabtoggle artists/tracks view
escape, qquit
up arrow, kscroll up
down arrow, jscroll down
Homescroll to top
Endscroll to bottom
spacetoggle albums
Rrandomize artists

TODO

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