vincelwt / harmony

:musical_note: Sleek music player for Spotify, SoundCloud, Google Play Music and your local files
http://getharmony.xyz
859 stars 59 forks source link

Harmony freezes on Linux #106

Open brpaz opened 7 years ago

brpaz commented 7 years ago

Hello. I have installed harmony and added my Spotify and Google Music accounts as well as configured my local library. Now everytime I open harmony it says "loading" on a green bar in the left menu but I cant click anywhere. sometime later it will just display a blank screen.

I have enabled logging and here is the result:

I have tons of errors like this:

[15716:1112/110100:INFO:CONSOLE(106)] "Metadatas not found :undefined", source: /opt/Harmony/resources/app/app/js/plugins/local.js (106) [15716:1112/110100:INFO:CONSOLE(106)] "Metadatas not found :undefined", source: /opt/Harmony/resources/app/app/js/plugins/local.js (106) [15716:1112/110100:INFO:CONSOLE(106)] "Metadatas not found :undefined", source: /opt/Harmony/resources/app/app/js/plugins/local.js (106) [15716:1112/110100:INFO:CONSOLE(106)] "Metadatas not found :undefined", source: /opt/Harmony/resources/app/app/js/plugins/local.js (106)

Also, in the begiging I also got some errors saying "Too many open files".

Any ideas?

Thank you.

vincelwt commented 7 years ago

Hi, Could you try without adding a local folder see if it works ? If you can't access the settings, try resetting the app by removing the ~/.config/configstore/harmony.json file

brpaz commented 7 years ago

Ok. I removed my local files and it seems to work fine.

vincelwt commented 7 years ago

Ok so the problem must come from your local files. How much local musics did you tried to add ? More than 30gb ?

brpaz commented 7 years ago

Nope. I just added "My music" which has around 6 GB.

vincelwt commented 7 years ago

Are all the tracks mp3s ?

brpaz commented 7 years ago

well, I noticed I have some .wav files and also some files that are not music files like some images.

vincelwt commented 7 years ago

This shouldn't be a problem :/ Could you try copying a folder of music files (an album for example) to another directory and add it in the app see if it works ?

ArminNaish commented 7 years ago

Same problem here. I am Harmony on linux using local folder ~/Music loading 16 Gig of music. The folder contains everything mp3's, wav-files and images... The app tries to load the music for 5 minutes. After that I can see "Error - Retry" Message. After the error appears, the app freezes.

Is there some kind of log-file I can post?

vincelwt commented 7 years ago

Hey, Is this still happening on 0.5 ? I made a bunch of changes to the local files plugin.

holms commented 6 years ago

You have best ever player on linux but it's just freezes when trying to pointing to a music folder from external drive. I have to kill a process, and once restarted it's asking for plugin selection again, although in plugin tabs everything is selected. Happens on Debian stretch and the only way to launch app again is to destroy settings, or I'll stuck forever with that plugin window.. So it's not usable at all. I've tried to load just a single dir, which worker, but couldn't figure out how to sort songs. I have DWM in here, so your app it maximized to a full screen, on sort button found :)

vincelwt commented 6 years ago

@holms I don't think this is the same issue as the thread. How big is your music folder?

holms commented 6 years ago

@vikene sorry for this maybe it's worth to start a new one, would be so much to describe in there. It's rather big around - 100gb. You need some kind of side process to scan music folder. I'd even use some side software to create such library if possible.

vincelwt commented 6 years ago

@holms Yeah there are some problems with large libraries. It's probably this issue: https://github.com/vincelwt/harmony/issues/134 right?

holms commented 6 years ago

Yeap it's this one.