SolvedGoogle Play Music Desktop Player UNOFFICIAL Stuck on "Loading music library"

OS:
Debian GNU/Linux rodete

GPMDP Version:
4.6.1

Issue Descriptions:
Since last week, opening the app does not show anything, instead I get stuck on a "Loading music library" page

Steps to Reproduce:

  1. Open the app
  2. Stuck on loading page, nothing working.
56 Answers

✔️Accepted Answer

Fix available (for Windows, at least):

  • Install 7zip (at your own risk)
  • Install Asar7z (at your own risk, it could have a large number of hairy viruses)
  • Make sure GDMP is closed, exited and shut down
  • Find your GDMP install (C:\Users\You\AppData\Local\GPMDP_3\app-4.6.1\resources)
  • Make a backup copy of app.asar to app.asar.backup in the same folder
  • Open app.asar with 7zip (open as archive)
  • In 7zip, navigate to build\renderer\windows\GPMWebView\
  • Drag index.js from there to your desktop or some folder
  • Edit the file with an editor that can handle linux file endings (not Notepad, but you can use Notepad++ at your own risk)
  • Change
    function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
    
    global.isGPM = true;
    to
    function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
    
    window.customElements.upgrade = window.customElements.upgrade || function(){};
    
    global.isGPM = true;
    (If you can't find it because your version is different, you can add the line at the top, the bottom, or anywhere outside a block)
  • Save it or it's as if you did nothing
  • Drag the index.js file back into 7zip into the same GPMWebView packed folder where you got it from, and when 7zip as asks if you want to copy the file into the archive, you can say "yes" because you made a backup so if you made a mistake you can put it back to it's original non-functional state.
  • Close 7zip
  • Start your music player, it should work now
  • Clean up the straggling index.js and if you're happy, confident and brave, your app.asar.backup. Also, clean your desk.
  • Do this each time you want to run it.
  • Just kidding, it'll work from now on.

Other Answers:

Please, for the love of God, make a new proper release!

jatk
132

Not sure why this is happening. It's more than likely a problem in the player causing an error that prevents GPM from loading. If that's the case these steps may not work, but if you can try them anyway:

1. Press CTRL + SHIFT + G

2. Enter (without quotes): "DEV_MODE"

3. Click Go

4. You should now be in dev mode, and able to open developer tools from either the menu or by using CTRL + SHIFT + i
   This is the main window console, you may see errors, take a screenshot or copy and paste and errors from this console.
   In addition to this you can type `openGPMDevTools()` Enter and it will open another console, you may have more errors here, copy these as well.

Running into these errors:
Console:
image

GPMDevTools:
image

You can start it with the following DEV_MODE (see above) workaround:

On the GPM devtools (see above) console, put a breakpoint on listen_v2, line one. Then refresh the page, and enter window.customElements.upgrade = () => undefined [enter] and then continue running the script. It magically doesn't need the upgrade function because just setting it to something that does nothing at all makes it work.

In any case, it allows you to use your GDP with some pain at startup. You can close the DevToolss (?? plural2) and use the player as normal from there on in.

This could also be a quick hack fix if upgrading to Electron 4 is troublesome.

Same issue on Windows on all PC's I have using it.

  1. Open GPMDP from pinned taskbar icon, system icon, or other method.
  2. Player never gets beyond "Loading Music Library," progress bar does not move at all.

Related Issues:

104
Google Play Music Desktop Player UNOFFICIAL Stuck on "Loading music library"
Fix available (for Windows at least): Install 7zip (at your own risk) Install Asar7z (at your own ri...
762
etcher Etcher broken on macOS Catalina
Above approaches didn't work for me what did: Hope this helps. Etcher version: 1.5.50 Operating syst...
320
Pillow ImportError: cannot import name 'PILLOW_VERSION' from 'PIL' (unknown location)
I'm getting the same error right now after conda install pillow on Win 10 It installed pillow 6.2.1 ...
248
yakyak Hangs on connecting state because of parsing error
Looks like Google added a nonce to a script tag which broke yakyak's HTML parsing ...
222
nativescript cli TNS doctor doesn't recognize Xcode (High Sierra)
HI @philipfeldmann Can yhou please run xcodebuild -version and paste the output? May be Xcode is ins...
189
Pillow zlib requirement on Alpine Linux
@wiredfool Thanks I was having the same problem building a docker image hey ...
167
vim Error message printed first time python3 (version 3.7.0) dynamic library is imported
Regardless of installed plugins silently execute python3 once on the top of your vimrc: ...
126
capacitor FileReader API not firing
You can try this. Description of the problem: In my project I'm trying to read and convert a Blob do...
125
etcher libgconf-2.so.4 missing on Ubuntu 18.02 Beta
Error can be worked around by Proper solution is to get rid of the dependency or bundle it. ...
122
Pillow cannot write mode RGBA as JPEG (4.2.0)
@AymericHENRY Hi While this is just reiterating what has already been said you should have no proble...
105
Pillow Can't install Pillow on Android
It does the trick: $ pkg install python libjpeg-turbo libcrypt ndk-sysroot clang zlib $ LDFLAGS=-L${...
85
etcher MacOS Error with Catalina: Etcher can't read image file, throws error.
I can confirm that this issue is a duplicate of #2833 which just also provides the error message in ...
70
capacitor iOS xcode Project - No such module found ‘Capacitor’
@vi354258 make sure you are opening the Xcode Workspace (App.xcworkspace instead of App.xcodeproj) ...
67
MonoGame templates for visual studio 2019
I could not find templates for VS 2017 anywhere so that I had to install VS 2017 to get them ...
67
NativeScript Error: Cannot find module 'webpack/lib/rules/DescriptionDataMatcherRulePlugin'
@pjmagtubo i had this this morning Upgrading vue-loader fixed it I started getting this error after ...
52
vim E363: pattern uses more memory than 'maxmempattern'
Vim 7.4 is getting a little long in the teeth The current state-of-the art Vim is 8.0.1097 as of thi...
46
nativescript cli Error: Exception: The plugin tns-android@2.5.0 is already installed
It is a known issue that occurs sometimes and is a bit annoying Just updated to 2.5 I can add the io...
46
flameshot FlameShot doesn't start, no errors
Having the same issues But calling flameshot gui shows something. Hi I've installed flameshot on gen...
41
Pillow Unable to install on macOS Big Sur (zlib missing)
Run export SYSTEM_VERSION_COMPAT=1 before all other scripts They say Big Sur is both 10.16 and 11.0 ...
41
vim netrw's "gx" functionality doesn't open URLs anymore in macOS
I found yet another issue with netrw not opening URLs with @ and I decided enough is enough I starte...
40
vim Can't get transparent background with termguicolors enabled
At this moment this issue is solely about: Since to me the fact of being able to get transparent bac...
39
NativeScript remove button shadow in android api > 21
use below code to remove shadow and still keep ripple effect. Dear friend we ...
39
nativescript cli Android SDK is not installed or is not configured properly, environment looks ok
Or just export JAVA_OPTS='-XX:+IgnoreUnrecognizedVMOptions --add-modules java.se.ee' On Bash YMMV. ...
36
etcher The Writer Process Ended Unexpectedly - Etcher
#2833 (comment) This worked for me 1.5.57 macOS Catalina Beta (19A573a) get error - the writer proce...
34
electron react boilerplate Not clear how to include images in my application
@amilajack Apologies This is probably an RTM moment for me with Electron in general ...
33
NativeScript Rendering NativeScript templates on the web (nothing to do with WebView)
@jeffwhelpley I'm going to initially tackle this with the the (first) option 2 as you suggest Agreed...
32
nativescript cli Feature Request: Hot Reload
From @NathanaelA on February 21 2018 0:22 I agree; this is a extremely important feature that should...
30
etcher Error couldn't clean the drive...
Here is a workaround (for me at least) for cannot zero sectors on disk with error code 5@0101000F ...
30
carla Invalid pixelmap or window parameter
@jbeck9 I actually got this working by switching to the latest Nvidia driver 470 and running Carla w...
30
cross env /bin/sh: cross-env: command not found
My guess you have your NODE_ENV set to production on CI and cross-env is in your devDependencies So ...
29
nativescript cli Add support for Android SDK Tools 25.2.3
I experienced the same issue What's funny is that I ran android from the command line to update my S...
29
vim Right click enables visual mode by default
This is by design See :help defaults.vim for detail This happens if you don't have .vimrc ...
26
vim Editing a Groovy file causes Vim to throw an error - E945: Range too large in character class
At first I could not reproduce it either Describe the bug When I edit a Groovy file Vim throws an er...
25
Pillow The headers or library files could not be found for zlib, a required dependency when compiling Pillow from source
I figured it was my pip version that was behind I close the issue as upgrade the pip version fixed i...
25
vifm How to use bat as a fileviewer
Make sure that your truecolor terminal sets the COLORTERM variable to either truecolor or 24bit Othe...
23
capacitor bug: EXC_BREAKPOINT in registerPlugins
use @capacitor/ios@next #2532 Bug Report Capacitor Version npx cap doctor output: 💊 Capacitor Docto...
22
electron react boilerplate What is exactly native dependency?
What is a native dependency? Good question A native dependency is any dependency that requires compi...
22
libgdx Libgdx project fails to compile with 'Cannot change strategy of configuration ':android:natives'' after it has been resolved.
After convert to AndroidX approach described above didn;t help The issue is very easy to recreate us...
21
notable Domain name
notable.md is by far the best choice imo. I think I'm going to make a web app (#83) out of this at s...
21
Pillow Unable to install Pillow on the Macbook Pro 13 M1 Silicon
If it helps anyone on Apple Silicon brew install libjpeg pip install Pillow works ! ...
20
nativescript cli NativeScript cli error when tns run ios or any command related to IOS platform
I had the same issue and this solved mine sudo xcode-select -s /Applications/Xcode.app/Contents/Deve...
20
etcher Etcher broke my USB
@jhermsmeier Thank you it works 👍 I've been flashing Ubuntu and Pop!_OS images to my Sandisk 64GB s...
20
etcher error: please check that the archive is not corrupted. every iso i try
I had the same problem The solution was to unmount all the extra volumes diskutil list diskutil unmo...
20
mumble macOS Mojave: passing the null port to CGEventTapEnable() segfaults
This is because the accessibility access for Mumble gets disabled on upgrade Trying to run Mumble-1....
20
micro copy paste doesn't work well
Thanks @SrMordred this fixed this issue for me too! Hello I like where micro is going It's truly the...
19
NativeScript [iOS] remove ActionBar Border (feature-request)
<ActionBar flat=true> implements this (see #3900) It was merged last month into tns-core-modules I'm...
19
NativeScript No .ipa found in /Users/.../platforms/ios/build/Debug-iphoneos directory
Adding my 2 cents With @NathanWalker's PR to fix nativescript-localize applied Describe the bug Afte...
19
nativescript cli Android 64 bit Support needs to be enabled by default
@marast78 If you are continuing to use NS 4/5 -- (Again this is NOT needed anymore with 6.02+) This ...
19
etcher Missing dependency in AppImage: libgconf-2
I've been doing some experimentation in VirtualBox instances running the LiveCD versions of Ubuntu 1...