[MOD][Xposed] XGPM - Google Play Music mods

Search This thread

Maxr1998

Recognized Developer
Apr 15, 2013
2,161
3,221
25
Germany
maxr1998.de
Google Nexus 4
Nexus 7
XGPM
…mods for Google Play Music

This module adds a few modifications to the Google Play Music app. It allows you to
  • Show "My library" as default screen
  • Switch to specific tracks from the music notification (with XMediaNotificationTrackSelector)
  • Remove disturbing buttons from the navigation drawer
  • Add back the playlists item to the navigation drawer
  • Show three columns of albums in many screens
  • Now Playing screen:
    • Tint icons with colors extracted from the cover with the help of the Palette API
    • Resize covers to make less cropped & better visible
    • Remove the drop shadow from the cover view
    • Open Equalizer from a new button
  • Replace any kinds of images in the app, e.g. covers and artist images

Screenshots:
NowPlaying.png

NavDrawer.png

Video of the track selector by Miroslav Vitula, the designer
Video of the track selector by me
Video of track selector by Matthew Brack
Old video review by XDA (TK)
Video review by Picaso Ent


Download:
In Xposed repository: http://repo.xposed.info/module/de.maxr1998.xposed.gpm

Changelog:
All times in CET.
1.12.1: 2017-01-19 21:10
  • Added option to disable audio focus gain
1.12: 2017-01-17 22:22
  • Fixed artist name being cut off in new design NowPlaying screen
  • Fixed three columns for album and other cards
  • Fixed a few crashes and added compatibility for new GPM version
  • Updated build tools and support libraries
Old versions:

1.11: 2016-11-14 23:00
  • Fixed quite a few crashes and added compatibility for GPM 7.0!
  • Fixed notification track selector
  • Updated SDK to Nougat 7.1.1
1.10: 2016-08-26 13:25
  • Added landscape layout for new design with permanent queue
  • Enabled a few experimental GPM Features
  • Fixed title in collapsed header for new design, animate header color instead of changing it abruptly
  • Fixed cast button visibility behaving weirdly
  • Fixed a few crashes and added compatibility for new GPM version
  • Updated build tools and support libraries
1.9.2: 2016-07-24 14:13
  • Fix cover loading for local files, improve caching and speed, show grey square instead of blank space if no cover is available (Thanks to @Massi-X)
  • Fix any UI bugs in preference screen by switching back to CheckBoxPreferences
  • Update build tools, target API and support libraries
  • Add Italian translation by @Massi-X
1.9.1: 2016-05-17 01:44
  • Same as 1.9, but fixed settings crash because of ProGuard
1.9: 2016-05-17 01:16
  • Added custom NowPlaying screen design
  • Added option to remove "My Library" tabs
  • Added option to enable Google's new voice control
  • Added option to enable Google's new "Adaptive home" as soon as it's finished
  • Added tinting for playback mode buttons and EdgeEffects of ViewPager
  • Added donate option
  • Added Podcast screen to hideable navigation drawer items
  • Fixed default screen option
  • Added workaround for a SwitchPreference bug below Android Lollipop which caused settings screen to act weirdly
1.8.8: 2016-04-19 21:51
  • Fixed support for GPM 6.7
1.8.7: 2016-04-18 21:40
  • Force-enable Podcasts!
1.8.6: 2016-04-10 22:01
  • Updated tools and libraries
  • Fixed hiding launcher icon
1.8.5: 2016-03-20 23:31
  • Fixed support for GPM 6.5
1.8.4: 2016-02-20 23:56
  • Fixed support for GPM 6.4
  • Crash fix
1.8.3: 2016-02-08 00:24
  • NowPlaying screen tinting rewritten, more reliable now
  • Fixed crash for very long playlists because of TrackSelector
1.8.2: 2016-02-02 21:55
  • Fixed support for GPM 6.3+
1.8.1: 2016-01-29 17:46
  • Crash fixes
  • Updated libs
1.8: 2016-01-10 22:03
  • Improve loading of cover arts (hopefully!)
  • Notification track selector is now an independent Xposed module, install it from Xposed Repo!
1.7: 2016-01-05 23:56
  • New and fixed notification track selector with an unlimited, scrollable list with title, artist, cover art and duration
  • Option to remove "Play Music for…" and recommendations from "Listen now" screen
  • Fixed nav drawer text and icon for playlist
1.6: 2015-11-29 21:12
  • Now working on Android 6.0
  • No reboots to apply settings anymore!
  • Fixed notification track selector for newest GPM
  • Added option to remove more items from the navigation drawer
  • Added back the playlists item to the navigation drawer
  • Universal art replacer off by default; added description for it in app
  • Added option to launch GPM from app
  • Updated dependencies
1.5.1: 2015-09-07 01:16
  • Notification layout fixes
  • Touch feedback for tracks
1.5: 2015-09-06 13:52
1.4: 2015-08-27 23:27
  • Fixed Navigation drawer item hiding, should also be more update-proof now, since I rewrote the algorithm
  • Added option to replace all Album/Artist arts
  • Built with Marshmallow SDK and support libs
  • Rewrote backend to only use one Xposed loader now
1.3.2: 2015-06-27 20:41
1.3.1: 2015-06-25 21:42
1.3: 2015-07-24 22:11
1.2.1: 2015-04-24 21:54
1.2: 2015-04-18 21:25
  • Replaced the ugly overflow button with one from material design icons
1.1: 2015-04-18 21:05
  • Added equalizer shortcut in NowPlaying screen
1.0.1: 2015-04-18 00:00
  • Fixed ClassNotFoundException because of ProGuard
1.0: 2015-04-15 20:41
  • Initial release
 
Last edited:

harland3

Senior Member
Feb 9, 2011
88
28
San Diego, CA
None of the features seem to be working for me. On a stock 5.0.1 Nexus 5 with Google Play Music version 5.8.1836R.1787745. I rebooted after making changes in the module's interface, so I'm not sure what's going on.
 

Maxr1998

Recognized Developer
Apr 15, 2013
2,161
3,221
25
Germany
maxr1998.de
Google Nexus 4
Nexus 7
None of the features seem to be working for me. On a stock 5.0.1 Nexus 5 with Google Play Music version 5.8.1836R.1787745. I rebooted after making changes in the module's interface, so I'm not sure what's going on.
Huh? Working here. Could you send me the Xposed logs/logcat? Thanks.
By the way, I have the same version.

Sent using my nexus⁴ running Euphoria 1.0 with Xposed and hells-Core B69-t4 L
Bitcoin donation address
 

harland3

Senior Member
Feb 9, 2011
88
28
San Diego, CA
Huh? Working here. Could you send me the Xposed logs/logcat? Thanks.
By the way, I have the same version.
Here's the Xposed log:

Edit: I can't get it to work on my 4.4.2 Galaxy S5 or 5.0.1 Nexus 6 either, so I'll attach those logs as well.
 

Attachments

  • error.log
    7.9 KB · Views: 140
  • gs5.log
    6.5 KB · Views: 63
  • n6.log
    10.1 KB · Views: 64
Last edited:
  • Like
Reactions: scoobajoe

Maxr1998

Recognized Developer
Apr 15, 2013
2,161
3,221
25
Germany
maxr1998.de
Google Nexus 4
Nexus 7
Here's the Xposed log:

Edit: I can't get it to work on my 4.4.2 Galaxy S5 or 5.0.1 Nexus 6 either, so I'll attach those logs as well.
Thanks for the logs. Your devices have all the same problem that the classes cannot even be loaded by Xposed.. That's extremely strange, but I will look what could be wrong. I'll install the release version of my mods to test, too. Currently I still use the debug version..
Maybe proguard messes up some Xposed related stuff. I'll use the proguard config file of my other module instead of the default config for next release and see if it helps.

Sent using my nexus⁴ running Euphoria 1.0 with Xposed and hells-Core B69-t4 L
Bitcoin donation address
 
  • Like
Reactions: harland3

dstruct2k

Senior Member
Jan 31, 2008
1,253
938
Winnipeg
Google Pixel 4
Here's the Xposed log:

Edit: I can't get it to work on my 4.4.2 Galaxy S5 or 5.0.1 Nexus 6 either, so I'll attach those logs as well.

Thanks for the logs. Your devices have all the same problem that the classes cannot even be loaded by Xposed.. That's extremely strange, but I will look what could be wrong. I'll install the release version of my mods to test, too. Currently I still use the debug version..
Maybe proguard messes up some Xposed related stuff. I'll use the proguard config file of my other module instead of the default config for next release and see if it helps.

Same issue here, CM12.1 (lollipop 5.1) on klte (Galaxy S5) seeing the exact same errors in xposed.log. Awaiting update :)
 

ptisam

Member
Jun 17, 2010
39
27
London
XGPM
This module adds a few modifications to the Google Play Music app. It allows you to
  • Remove disturbing buttons from the Navigation drawer
  • Resize covers to make them better visible and less cropped
  • Remove the drop shadow from the cover view
  • Tint icons in Now Playing screen with colors extracted from the cover with the help of Palette API

Do you think you would be able to solve the issue of the sdcard stored tracks sorted in the wrong order in the playlists of the GPM app?

Some links talking of this issue:
http://productforums.google.com/for...video$20-videos/play/hXvN2I6CR48/NhDtzbPgXwYJ
http://android.stackexchange.com/questions/50425/wrong-playlist-order-in-google-play-music-app
http://appdev.binaryappdev.com/2013/08/02/wrong-playlist-order-in-google-play-music-app/
http://xdaforums.com/galaxy-nexus/help/google-play-music-app-wrong-song-t2390804

This bug is incredibly annoying, it hasn't found any solution from Google since 3 years. It seems to come from the music storage algorithm used by the GPM app itself which totally messes up the order of playlists at each opening of the app. For some reason, GPM app does'nt use the music storage database of Android like any other music players do.

I don't really know how complex it could be to solve this, I'm just curious to get your opinion. If you think it could be solved easily with your Xposed module, I can't wait for it!
 

Maxr1998

Recognized Developer
Apr 15, 2013
2,161
3,221
25
Germany
maxr1998.de
Google Nexus 4
Nexus 7
Same issue here, CM12.1 (lollipop 5.1) on klte (Galaxy S5) seeing the exact same errors in xposed.log. Awaiting update :)
Same problem here, not working.

Oneplus One with paranoid android 5.0 alpha 1
Same issue here, class not found. HTC m8. Stock 5.0
Same problem on my note 2 on 4.4.2 KitKat
Issue is pretty surly Proguard's fault..
I will fix it later today and upload a new apk.

Sent using my nexus⁴ running Euphoria 1.0 with Xposed and hells-Core B69-t4 L
Bitcoin donation address
 
Last edited:

Maxr1998

Recognized Developer
Apr 15, 2013
2,161
3,221
25
Germany
maxr1998.de
Google Nexus 4
Nexus 7
Finally someone working on GPM. Much appreciated.

I'd like to request an equalizer shortcut :)
You asked, you got. Download latest version from Xposed repo!

I'm in a total rush, THREE releases on one day :D

EDIT: well, I meant rush and not rage… it's not easy ;) Did I mention that v1.2 also make the previously ugly overflow button black to fit the other icons?
 
Last edited:

HATe410

Member
Oct 5, 2012
23
3
this mod is so great, now that it's working wonderfully. can you remove the thumb up / down from the widget? stop the Now Playing "Card" from popping up upon opening GPM? donate? thanks you! the EQ in NOW PLAYING is a dream cone true, i think i said to myself just the other day i wish there was a quicker way to Viper4Android YOU F'n ROCK
 
  • Like
Reactions: Maxr1998

Top Liked Posts

  • There are no posts matching your filters.
  • 80
    XGPM
    …mods for Google Play Music

    This module adds a few modifications to the Google Play Music app. It allows you to
    • Show "My library" as default screen
    • Switch to specific tracks from the music notification (with XMediaNotificationTrackSelector)
    • Remove disturbing buttons from the navigation drawer
    • Add back the playlists item to the navigation drawer
    • Show three columns of albums in many screens
    • Now Playing screen:
      • Tint icons with colors extracted from the cover with the help of the Palette API
      • Resize covers to make less cropped & better visible
      • Remove the drop shadow from the cover view
      • Open Equalizer from a new button
    • Replace any kinds of images in the app, e.g. covers and artist images

    Screenshots:
    NowPlaying.png

    NavDrawer.png

    Video of the track selector by Miroslav Vitula, the designer
    Video of the track selector by me
    Video of track selector by Matthew Brack
    Old video review by XDA (TK)
    Video review by Picaso Ent


    Download:
    In Xposed repository: http://repo.xposed.info/module/de.maxr1998.xposed.gpm

    Changelog:
    All times in CET.
    1.12.1: 2017-01-19 21:10
    • Added option to disable audio focus gain
    1.12: 2017-01-17 22:22
    • Fixed artist name being cut off in new design NowPlaying screen
    • Fixed three columns for album and other cards
    • Fixed a few crashes and added compatibility for new GPM version
    • Updated build tools and support libraries
    Old versions:

    1.11: 2016-11-14 23:00
    • Fixed quite a few crashes and added compatibility for GPM 7.0!
    • Fixed notification track selector
    • Updated SDK to Nougat 7.1.1
    1.10: 2016-08-26 13:25
    • Added landscape layout for new design with permanent queue
    • Enabled a few experimental GPM Features
    • Fixed title in collapsed header for new design, animate header color instead of changing it abruptly
    • Fixed cast button visibility behaving weirdly
    • Fixed a few crashes and added compatibility for new GPM version
    • Updated build tools and support libraries
    1.9.2: 2016-07-24 14:13
    • Fix cover loading for local files, improve caching and speed, show grey square instead of blank space if no cover is available (Thanks to @Massi-X)
    • Fix any UI bugs in preference screen by switching back to CheckBoxPreferences
    • Update build tools, target API and support libraries
    • Add Italian translation by @Massi-X
    1.9.1: 2016-05-17 01:44
    • Same as 1.9, but fixed settings crash because of ProGuard
    1.9: 2016-05-17 01:16
    • Added custom NowPlaying screen design
    • Added option to remove "My Library" tabs
    • Added option to enable Google's new voice control
    • Added option to enable Google's new "Adaptive home" as soon as it's finished
    • Added tinting for playback mode buttons and EdgeEffects of ViewPager
    • Added donate option
    • Added Podcast screen to hideable navigation drawer items
    • Fixed default screen option
    • Added workaround for a SwitchPreference bug below Android Lollipop which caused settings screen to act weirdly
    1.8.8: 2016-04-19 21:51
    • Fixed support for GPM 6.7
    1.8.7: 2016-04-18 21:40
    • Force-enable Podcasts!
    1.8.6: 2016-04-10 22:01
    • Updated tools and libraries
    • Fixed hiding launcher icon
    1.8.5: 2016-03-20 23:31
    • Fixed support for GPM 6.5
    1.8.4: 2016-02-20 23:56
    • Fixed support for GPM 6.4
    • Crash fix
    1.8.3: 2016-02-08 00:24
    • NowPlaying screen tinting rewritten, more reliable now
    • Fixed crash for very long playlists because of TrackSelector
    1.8.2: 2016-02-02 21:55
    • Fixed support for GPM 6.3+
    1.8.1: 2016-01-29 17:46
    • Crash fixes
    • Updated libs
    1.8: 2016-01-10 22:03
    • Improve loading of cover arts (hopefully!)
    • Notification track selector is now an independent Xposed module, install it from Xposed Repo!
    1.7: 2016-01-05 23:56
    • New and fixed notification track selector with an unlimited, scrollable list with title, artist, cover art and duration
    • Option to remove "Play Music for…" and recommendations from "Listen now" screen
    • Fixed nav drawer text and icon for playlist
    1.6: 2015-11-29 21:12
    • Now working on Android 6.0
    • No reboots to apply settings anymore!
    • Fixed notification track selector for newest GPM
    • Added option to remove more items from the navigation drawer
    • Added back the playlists item to the navigation drawer
    • Universal art replacer off by default; added description for it in app
    • Added option to launch GPM from app
    • Updated dependencies
    1.5.1: 2015-09-07 01:16
    • Notification layout fixes
    • Touch feedback for tracks
    1.5: 2015-09-06 13:52
    1.4: 2015-08-27 23:27
    • Fixed Navigation drawer item hiding, should also be more update-proof now, since I rewrote the algorithm
    • Added option to replace all Album/Artist arts
    • Built with Marshmallow SDK and support libs
    • Rewrote backend to only use one Xposed loader now
    1.3.2: 2015-06-27 20:41
    1.3.1: 2015-06-25 21:42
    1.3: 2015-07-24 22:11
    1.2.1: 2015-04-24 21:54
    1.2: 2015-04-18 21:25
    • Replaced the ugly overflow button with one from material design icons
    1.1: 2015-04-18 21:05
    • Added equalizer shortcut in NowPlaying screen
    1.0.1: 2015-04-18 00:00
    • Fixed ClassNotFoundException because of ProGuard
    1.0: 2015-04-15 20:41
    • Initial release
    13
    So, as I recently switched to Spotify and Google announced YT Music as a soon-to-be successor to GPM, I'm sorry to inform you that I'll have to abandon the XGPM Xposed module. Additionally, I didn't have much time in the last few months to work on this anyway, so I guess this was kinda expected from most of you. I just committed the last set of changes I did in the last months, which should make the app work again with the latest GPM version. Some things might still be broken, e.g. the new NowPlaying screen, but it mostly works. You can download the last build here. Thanks for your continued support & bug reports!
    10
    I'm too tired for a full changelog, basically fixes notification and Android M support, other changes on GitHub.
    Note that there might still be some bugs.
    9
    Small update, apk attached.

    • I fixed the navigation drawer manipulation, a method return type change resulted in a ClassCastException
    • I fixed the new design crash which was caused by a weird NPE and Google's removal of voice control
    • Google removed the voice control feature again, probably because "Ok Google" can do the same, so I removed support for it as well
    • I enabled some features which are still hardcoded to false in the code (1 & 2), or disabled server side in some countries (3):
      - The upcoming Sleep timer (yay!)
      - The new full width search bar (like in Google Play)
      - The sound search if you couldn't use it before
    • In the next days, preferably tomorrow, I will add switches for the features, and also try to fix the empty bottom bar EDIT: Done!
    • I saw the other reports, I will check if I fixed them already or still have to do that
    9
    Just pushed 1.11 to the Xposed repo. This fixes A LOT of issues, and supports GPM 7.0 (download from apkmirror if not available yet from Play Store).
    If you also don't really like the new home screen, you can revert to the old one ;)
    A known issue is that the new design isn't working in landscape anymore, I'm still not sure how to fix that yet.