MarshallOfSound / Google-Play-Music-Desktop-Player-UNOFFICIAL-

A beautiful cross platform Desktop Player for Google Play Music
https://www.googleplaymusicdesktopplayer.com
MIT License
8.27k stars 766 forks source link

Stuck on Loading Music Library #3660

Closed hoghug closed 4 years ago

hoghug commented 4 years ago

OS: macOS Mojave 10.14.5

GPMDP Version: 4.6.1

Issue Descriptions: Stuck on Loading Music Library after opening

Screen Shot 2019-10-31 at 12 22 09 PM
welcome[bot] commented 4 years ago

👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of duplicate issues on this repo, so please double check now that your issue has not already been solved or doesn't have an open issue already. To help make it easier for us to investigate your issue, please follow the contributing guidelines and ensure the issue template was filled out.

Aer0nic commented 4 years ago

I'm having the same issue, Win 10. Had it happen on multiple systems. Youtube Music works just fine though.

MarshallOfSound commented 4 years ago

Fixed in master, will hopefully release soon. You can download builds from CI in the meantime

nintyuk commented 4 years ago

I don't understand, what is the fix? I've uninstalled and installed the latest version but still can't get it to load my library

jfries289 commented 4 years ago

Fixed in master, will hopefully release soon. You can download builds from CI in the meantime @MarshallOfSound TravisCL for OS X appears to be inactive and 2 years out of date. Can we get an OS X build?

MarshallOfSound commented 4 years ago

@jfries289 The OSX and Linux builds are on CircleCI.

Gibbel91 commented 4 years ago

I have the same issue on Windows 10.

jfries289 commented 4 years ago

@Gibbel91 You can find the latest windows build to download at https://ci.appveyor.com/project/MarshallOfSound/google-play-music-desktop-player-unofficial/build/artifacts

I believe it has the fix for this in it.

edorgeville commented 4 years ago

Thanks @jfries289, this fixes this issue for me (Windows 10).

jhaber1 commented 4 years ago

For lazy OS X users: https://3667-40008106-gh.circle-artifacts.com/0/home/circleci/project/dist/installers/darwin/Google%20Play%20Music%20Desktop%20Player.zip May become dead in the future, I don't know how long Circle retains artifacts.

Thanks a lot for the quick fix, btw

Nephiel commented 4 years ago

Stumbled upon this today. For Debian amd64: https://3667-40008106-gh-circle-artifacts.com/0/home/circleci/project/dist/installers/debian/google-play-music-desktop-player_4.6.1_amd64.deb

jdobbin-hsahealthplan commented 4 years ago

The link @Nephiel gave didn't work for me, but this one did:

https://3667-40008106-gh.circle-artifacts.com/0/home/circleci/project/dist/installers/debian/google-play-music-desktop-player_4.6.1_amd64.deb

Bobyn commented 4 years ago

The link @Nephiel gave didn't work for me, but this one did:

https://3667-40008106-gh.circle-artifacts.com/0/home/circleci/project/dist/installers/debian/google-play-music-desktop-player_4.6.1_amd64.deb

Thank you, It worked for me.

Tsumiki commented 4 years ago

@Gibbel91 You can find the latest windows build to download at https://ci.appveyor.com/project/MarshallOfSound/google-play-music-desktop-player-unofficial/build/artifacts

I believe it has the fix for this in it.

Thank you! Getting latest CI build fixed for me too :).

jayDB5 commented 4 years ago

@Gibbel91 You can find the latest windows build to download at https://ci.appveyor.com/project/MarshallOfSound/google-play-music-desktop-player-unofficial/build/artifacts

I believe it has the fix for this in it.

Don't exactly know what this means, but it fixed the issue for me too - thanks!

ctron commented 4 years ago

Is there any chance to get a 4.6.2 version with this fix?

cdyax commented 4 years ago

I can connect perfectly with the version for youtube but not for google play, it gets to say that songs load and stay there. I'm in Spain. version 4.6.1 Google the web of play I have no problem with my email and password If anyone has any idea how can I fix it agradeceria.

bigclap commented 4 years ago

Same on ubuntu 19.10

cdyax commented 4 years ago

@Gibbel91 You can find the latest windows build to download at https://ci.appveyor.com/project/MarshallOfSound/google-play-music-desktop-player-unofficial/build/artifacts I believe it has the fix for this in it.

Don't exactly know what this means, but it fixed the issue for me too - thanks!

austinbutler commented 4 years ago

Finding where to download the latest MacOS build was confusing to me, but here's a working link for all but Windows: https://circleci.com/api/v1.1/project/github/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/latest/artifacts

doubleloop commented 4 years ago

@MarshallOfSound

will hopefully release soon

Is there anything blocking the release of current master as is?

iamhenry commented 4 years ago

I just came across this thread and I'm having the same issue on a Mac. Does anyone know what I need to do in order to resolve this?

rileym94 commented 4 years ago

Just wanted to throw out a note to say that I'm running Windows 10 1809 x64, and I very suddenly started having the player hang on the "loading music library" this afternoon following a reboot. Tried uninstall/reinstall, clearing %appdata% and %localappdata% files and reinstalling, and was spinning my wheels till I found this pinned. Thanks to @jostrander for pinning it. If you were too rushed to read the whole issue... Download a build from CI and keep an eye out for the next master release. https://ci.appveyor.com/project/MarshallOfSound/google-play-music-desktop-player-unofficial/build/artifacts

rileym94 commented 4 years ago

I just came across this thread and I'm having the same issue on a Mac. Does anyone know what I need to do in order to resolve this?

@iamhenry I haven't seen any CI links for macOS builds, only Windows and Linux. Maybe @jostrander or @MarshallOfSound can point you in the right direction?

daiyi commented 4 years ago

The Mac builds are on CircleCI under the name "Darwin".

  1. go to the Circle page: https://circleci.com/gh/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-
  2. click one of the successful builds (with the green badges)
  3. go to the Artifacts tab, and click home/circleci/project/dist/installers/darwin/Google Play Music Desktop Player.zip to download.

After attempting to open the app, I had to go to Security & Privacy settings and make an exception to allow the mysterious internet-downloaded app to launch.

iamhenry commented 4 years ago

The Mac builds are on CircleCI under the name "Darwin". You can go to a successful build, such as this page, go to the Artifacts tab, and click home/circleci/project/dist/installers/darwin/Google Play Music Desktop Player.zip to download.

After attempting to open the app, I had to go to Security & Privacy settings and make an exception to allow the mysterious internet-downloaded app to launch.

@daiyi I'm getting "Page Not Found" with that link you provided to the artifacts page. Can you provide an alternative working link plz?

image

NVM: I used this link: https://circleci.com/api/v1.1/project/github/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/latest/artifacts

DASPRiD commented 4 years ago

For me this issue just popped up today also on stable 4.6.1 version. Is there a workaround for this issue?

yioteh commented 4 years ago

@DASPRID

For me this issue just popped up today also on stable 4.6.1 version. Is there a workaround for this issue?

Same. Happened to me on macos mojave 10.14.6 just today Fixed by:

  1. going to https://circleci.com/api/v1.1/project/github/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/latest/artifacts and downloading file with link having darwin portion in it - for macos. There're also debian (ubuntu) and redhat versions. Working windows version is located here
  2. removing existing installed app
  3. installing downloaded file
  4. ...
  5. PROFIT!
Nantris commented 4 years ago

@yioteh - thank you! Quality of life restored! And of course thanks to all the creators of this great software!

DASPRiD commented 4 years ago

@yioteh Sadly, in that version my media hot keys do not work.

titomb345 commented 4 years ago

Experiencing this issue on both Win7 and macOS 10.14.6

Zoodinger commented 4 years ago

Experiencing this issue with Windows 10 even though I'm using latest version.

I tried deleting the whole thing including any caches and it's still stuck there.

KicknGuitar commented 4 years ago

I'm chiming in to say this issue came up on version 4.6.1 for both Windows and Mac but the link provided above from singjsong solved the issue.

renclav commented 4 years ago

(mac version) This worked for me: https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/issues/3660#issuecomment-562656210

But I'd like to point out that switching to the youtube player was a dead end, as it resulted in a "not available for your browser" page, with the usual burger menu option to switch back missing. The fix: editing the settings.json file with the following value: "service": "google-play-music"

Sirroga commented 4 years ago

Fixed version solved the main problem but now media hot keys stopped working (Win 10).

DASPRiD commented 4 years ago

Fixed version solved the main problem but now media hot keys stopped working (Win 10).

Had the same problem. Don't know why, but after a reboot the media hotkeys also worked on the new version.

thecoloryes commented 4 years ago

Fixed version solved the main problem but now media hot keys stopped working (Win 10).

I have this same issue on Win 10. If I disable the "Show track information in Windows 10 volume overlay" option in the desktop setting, my multimedia key works as expected. Note that this setting only appears if you have the Windows 10 System Media Service option enabled. You can disable the entire service for the multimedia keys to work, but I only had issues when I enabled the "Show track information in Windows 10 volume overlay" option

When it's enabled, the overlay will display "No track playing" even when there is music playing. If I use my multimedia key for play/pause, the overlay freaks out a little and toggles into some kind of play/pause loop where the overlay thinks it's playing but there's no audio coming out. I have to go back into the app to get the music to resume properly (and if I hit multimedia play/pause before actually playing any music the app totally freaks out and won't start any music).

If I can provide any more diagnostic data let me know!

electrikweb commented 4 years ago

I'm new here...When I visit https://ci.appveyor.com/project/MarshallOfSound/google-play-music-desktop-player-unofficial/build/artifacts to download the latest Windows build, I see a message "The build job does not contain any artifacts." and can't see anything I can download. Am I missing something? Or am I not looking in the right spot?

IndefiniteBen commented 4 years ago

You need to click on history and then find the most recent successful build I guess.

ruborg commented 4 years ago

I've been using this on Ubuntu for > 1 year, and it has been working great until today. Then out of the blue, it's stuck on 'Loading Library Music Library'.

I restarted machine, downloaded and installed the latest .deb, and still same problem. This is the output I get:

rods@rods-XPS:~$ google-play-music-desktop-player 
Starting Sentry
error: Failed to load bonjour with error: {}
Bonjour is required to use Chromecast Support or to enable ZeroConf for the PlaybackAPI
On linux you need to install "avahi"
Failed to encode dictionary
Failed to encode reply value
Failed to encode dictionary
Failed to encode reply value
ruborg commented 4 years ago

Reinstalling as per this page:

https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/blob/master/docs/Installation_On_Debian.md

Ends up outputting these errors:

error: Emitter fn() threw exception. TypeError: Cannot read property '0' of undefined
    at LibraryNamespace.getTracks (/usr/share/google-play-music-desktop-player/resources/app.asar/node_modules/gmusic-ui.js/dist/gmusic-ui.js:107:84)
    at LibraryNamespace.getLibrary (/usr/share/google-play-music-desktop-player/resources/app.asar/node_modules/gmusic-ui.js/dist/gmusic-ui.js:99:22)
    at /usr/share/google-play-music-desktop-player/resources/app.asar/build/renderer/windows/GPMWebView/playback/handler.js:100:53
    at /usr/share/google-play-music-desktop-player/resources/app.asar/build/renderer/windows/GPMWebView/index.js:81:9
    at arrayEach (/usr/share/google-play-music-desktop-player/resources/app.asar/node_modules/lodash/lodash.js:537:11)
    at Function.forEach (/usr/share/google-play-music-desktop-player/resources/app.asar/node_modules/lodash/lodash.js:9359:14)
    at /usr/share/google-play-music-desktop-player/resources/app.asar/build/renderer/windows/GPMWebView/index.js:79:22
error: Emitter fn() threw exception. TypeError: Cannot read property 'insertBefore' of undefined
    at installSidebarButton (/usr/share/google-play-music-desktop-player/resources/app.asar/build/renderer/windows/GPMWebView/interface/customUI.js:121:58)
    at installDesktopSettingsButton (/usr/share/google-play-music-desktop-player/resources/app.asar/build/renderer/windows/GPMWebView/interface/customUI.js:127:3)
    at installMainMenu (/usr/share/google-play-music-desktop-player/resources/app.asar/build/renderer/windows/GPMWebView/interface/customUI.js:161:3)
    at /usr/share/google-play-music-desktop-player/resources/app.asar/build/renderer/windows/GPMWebView/interface/customUI.js:274:3
    at /usr/share/google-play-music-desktop-player/resources/app.asar/build/renderer/windows/GPMWebView/index.js:81:9
    at arrayEach (/usr/share/google-play-music-desktop-player/resources/app.asar/node_modules/lodash/lodash.js:537:11)
    at Function.forEach (/usr/share/google-play-music-desktop-player/resources/app.asar/node_modules/lodash/lodash.js:9359:14)
    at /usr/share/google-play-music-desktop-player/resources/app.asar/build/renderer/windows/GPMWebView/index.js:79:22
error: Emitter fn() threw exception. TypeError: Cannot read property '0' of undefined
    at LibraryNamespace.getTracks (/usr/share/google-play-music-desktop-player/resources/app.asar/node_modules/gmusic-ui.js/dist/gmusic-ui.js:107:84)
    at LibraryNamespace.getLibrary (/usr/share/google-play-music-desktop-player/resources/app.asar/node_modules/gmusic-ui.js/dist/gmusic-ui.js:99:22)
    at /usr/share/google-play-music-desktop-player/resources/app.asar/build/renderer/windows/GPMWebView/playback/handler.js:100:53
    at /usr/share/google-play-music-desktop-player/resources/app.asar/build/renderer/windows/GPMWebView/index.js:81:9
    at arrayEach (/usr/share/google-play-music-desktop-player/resources/app.asar/node_modules/lodash/lodash.js:537:11)
    at Function.forEach (/usr/share/google-play-music-desktop-player/resources/app.asar/node_modules/lodash/lodash.js:9359:14)
    at /usr/share/google-play-music-desktop-player/resources/app.asar/build/renderer/windows/GPMWebView/index.js:79:22
error: Emitter fn() threw exception. TypeError: Cannot read property 'insertBefore' of undefined
    at installSidebarButton (/usr/share/google-play-music-desktop-player/resources/app.asar/build/renderer/windows/GPMWebView/interface/customUI.js:121:58)
    at installDesktopSettingsButton (/usr/share/google-play-music-desktop-player/resources/app.asar/build/renderer/windows/GPMWebView/interface/customUI.js:127:3)
    at installMainMenu (/usr/share/google-play-music-desktop-player/resources/app.asar/build/renderer/windows/GPMWebView/interface/customUI.js:161:3)
    at /usr/share/google-play-music-desktop-player/resources/app.asar/build/renderer/windows/GPMWebView/interface/customUI.js:274:3
    at /usr/share/google-play-music-desktop-player/resources/app.asar/build/renderer/windows/GPMWebView/index.js:81:9
    at arrayEach (/usr/share/google-play-music-desktop-player/resources/app.asar/node_modules/lodash/lodash.js:537:11)
    at Function.forEach (/usr/share/google-play-music-desktop-player/resources/app.asar/node_modules/lodash/lodash.js:9359:14)
    at /usr/share/google-play-music-desktop-player/resources/app.asar/build/renderer/windows/GPMWebView/index.js:79:22
jostrander commented 4 years ago

@ruborg, I might suggest using the snap --edge channel. The deb packages from that repo are extremely out of date.

ruborg commented 4 years ago

This worked, thanks for the tip!

anna328p commented 4 years ago

question: when I click on the artifacts page for successful builds, I only see windows .exe installers - where do I find the Linux builds?

jostrander commented 4 years ago

You are looking in AppVeyer. The linux builds are under the collect artifacts job of CircleCI.

abion136 commented 4 years ago

Windows workaround: https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/issues/3640#issuecomment-543863416

Fixed the issue on my Win10 machine if the CI builds fail for anyone.

electrikweb commented 4 years ago

You need to click on history and then find the most recent successful build I guess.

Perfect! Thank you. Now working again on my Windows 10 pro.

jschewebbn commented 4 years ago

I'm trying to find the Linux builds from the Circle CI link https://circleci.com/gh/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL- and it's not clear to me where to find the build outputs.

alexbaucom commented 4 years ago

Just had this issue happen to me this morning too. On Ubuntu 18.04 I was able to resolve this by uninstalling and then reinstalling from snap with the edge channel as mentioned above. sudo snap install google-play-music-desktop-player --edge

b-n commented 4 years ago

For linux/mac users that want the latest build, easiest way is through here (rather than looking through circleci apis): https://circleci.com/gh/MarshallOfSound/workflows/Google-Play-Music-Desktop-Player-UNOFFICIAL-

  1. Find the latest Green workflow
  2. Click the artifact-gathering box
  3. Click artifacts tab
  4. Expand tree until you get to your installer. Darwin = Mac for those that don't know.