Skip to main content
Home

Main navigation

  • Apps
  • Forum
  • Blog
    • Podcast
    • Guides
    • Hardware & Accessory Reviews
    • Bug Tracker
    • Developer Resources
  • Log in

Breadcrumb

  1. Home
  2. Forums
  3. macOS and Mac Apps

GMP

By Chris Norman, 23 May, 2015

Forum
macOS and Mac Apps

Hi all,
In the absence of spotify accessibility, I have switched over to Google Play Music for my musical needs.

The website is mostly accessible on Windows, but I find it a struggle on OS X. In any case, web apps annoy me, so I give you GMP:

GMP (Google Music Player) is a GUI application written in Python. It is open source, and contributions are welcome ETC.

Unfortunately, because of something which I can't quite pinpoint, I can't make an app bundle or exe of GMP, so you have to run from source. This really isn't as big a thing as you might think. If you put an & after the command it'll go off int the background and you can terminate Terminal. Or you can use tux or screen if you prefer.

Getting GMP:
To get GMP you need to install a couple of things. Honestly, it's so easy, you can probably just paste this shell code into your terminal and rock n roll:

<script>
#First install Home Brew.
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Get everything we need:
brew install git hg python wxpython
# Download the gap source:
git clone https://github.com/chrisnorman7/gmp.git
# CD into the gap directory.
cd gmp
# Make sure pip is up-to-date.
pip install -U pip
# Install the required python packages:
pip install -r requirements.txt
<script>

You should now have everything you need for a working copy of GMP.

If you're install on windows, install:
* Python 2.7.9 32-bit (http://www.python.org/download)
* wxPython 32-bit (www.wxpython.org)
* Windows Git (http://msysgit.github.com)

Then follow everything from the git clone downwards.

Running GMP:
To Run GMP, cd into the directory you saved GMP and run:
python main.py

If you want to be able to CMD+Q the terminal (or exit CMD) when GMP is running, the command should be:
python main.py &

If you're running windows you can create a desktop shortcut, and set the target to something like:
c:\python27\pythonw.exe "c:\users\username\gmp\main.py"
And make sure the start in field contains something like "c:\users\username".

This all assumes that your username is simply username... On my system, c:\users\username is replaced by c:\users\chris, but I'm sure you can figure out your own directory names.

unfortunately the closest to a shortcut I can get to on Mac OS X is this:

<script>
#!/bin/bash
cd ~/gmp
git pull
python main.py&
</script>

If you set Terminal Preferences -> Profiles -> Shell -> When Shell Exits: to "Close the window" or "Close if the shell exited cleanly", then you're left with an empty terminal window, and GMP on screen. You can just CMD+q the terminal window.

To update, assuming you've not used the shell script I just wrote above, simply cd into the gap directory, and type:
git pull

I hope you all enjoy GMP. Is is well worth the £10.99 / month, which I was paying for Spotify before.

Google Play Music also has a month free trial, and you can save stuff to a library, which allows a bit more control over your music.

If you like it, please consider adding any of the songs in the Public Transport EP by Last Train Home (my band) to your playlists, and play them a few times so we get some royalties.

That's it: No hidden features (everything's in the menus), no caveats, just raw awesomeness.

It's pretty well stable, I've been using it for ages, and a couple of others have too. There's a wealth of preferences, so if you don't like something, please check the preferences and everything else in the Options menu before submitting problems.

If there are problems, add them as a bug report on Github (www.github.com/chrisnorman7/gmp.git), leave a comment on here, or send me an email (chris.norman2@googlemail.com).

Cheers, and enjoy.

Options

  • Log in or register to post comments

Comments

Download link

By Chris Norman

7 years 9 months ago

For anyone who's watching tis (just me looks like), I have an app bundle now:

http://code-metropolis.com/download/Google%20Music%20Player-1.0-darwin.zip

just grabbed the app one issue though

By chad

7 years 9 months ago

hi chris just grabbed the app can't login voiceover isn't accepting my password entry
not sure if this is a bug or not
it don't click when i write also nothing is getting written

another possible bug

By chad

7 years 9 months ago

hi when i close google music player voiceover constantly says busy busy busy busy not sure if this is a possible bug
the only way i can close if force quit it

Does work but...

By Chris Norman

7 years 9 months ago

You can log in, VoiceOver just doesn't click in the password field, not sure why.

That busy message could be the annoying message I put in about "Are you really sure you want to quit?".

Either press enter while it's busy, or suppress it entirely in the Windows pane of the config.

HTH.

can't enter my password

By chad

7 years 9 months ago

hi when i enter my password the edit field isn't accepting my input
also when i exit it says are you sure you want to close i hit yes and all voiceover says is busy busy busy busy busy
i have to force quit all the time

Unable to download the app

By Sergey

7 years 6 months ago

While I click on provided link to get the app I get the @not "not found" error. Does it mean that in order to use the app I should follow the original instruction and grub everything from github?

Correct link

By Chris Norman

7 years 6 months ago

Hiya,
You can download the app from:
http://www.code-metropolis.com/download

HTH.

Thanks a lot. Will try the

By Sergey

7 years 6 months ago

In reply to Correct link by Chris Norman

Thanks a lot. Will try the app soon! :-)

Not going to lie...

By Chris Norman

7 years 6 months ago

In reply to Thanks a lot. Will try the by Sergey

Honestly, I get a much better result from running from source (no idea why).

If anything is odd, might try that. I've particularly noticed problems with the lyrics viewer if I'm not running from source.

There is also a problem when deleting stuff from your playlists, but there's nothing I can do about that, it seems to have something to do with the API I'm using, or maybe even Google (doubtful).

Cheers.

It works for me. Since I am

By Sergey

7 years 6 months ago

In reply to Not going to lie... by Chris Norman

It works for me. Since I am used to manage all my stuff on Play Music from the mobile apps I was just looking for something to listen to my music on Mac. Your app is doing perfectly for just that. I can see my playlist and listen to them and am very satisfied for the moment. So, thank you very much again, Chris, for your work!

Thank you!

By Chris Norman

7 years 6 months ago

Aww, that's really nice. I'm glad you like it.

Thanks for the good wishes.

More Like This

Telling if VoiceOver is on using Python (Forum Topic)
Announcing Tdsr: A Command Line Screen Reader For Macintosh And GNU/Linux (Blog Post)
PiP-it! Picture in Picture (iOS and iPadOS App Directory)
An AppleScript to translate the spoken text by VoiceOver for Mac (Forum Topic)
Fleksy VO for 64-bit (Forum Topic)
Git Client (Forum Topic)
Carbbon copy 4 & clone button dim? (Forum Topic)
Aeromatic (iOS and iPadOS App Directory)

Site Information

  • About
  • Club AppleVis
  • FAQ
  • Contact

Unless stated otherwise, all content is copyright AppleVis. All rights reserved. © 2023 | Accessibility | Terms | Privacy