SolvedGoogle Play Music Desktop Player UNOFFICIAL Stuck on "Loading music library"
✔️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
toapp.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
to
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 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)function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } window.customElements.upgrade = window.customElements.upgrade || function(){}; global.isGPM = true;
- Save it or it's as if you did nothing
- Drag the
index.js
file back into 7zip into the sameGPMWebView
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, yourapp.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!
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.
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.
- Open GPMDP from pinned taskbar icon, system icon, or other method.
- Player never gets beyond "Loading Music Library," progress bar does not move at all.
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: