RuneAudio / RuneUI

RuneAudio Player User Interface
GNU General Public License v3.0
186 stars 74 forks source link

Attaching hard drive crashes server #58

Closed jrosseel closed 9 years ago

jrosseel commented 9 years ago

Hi,

I have a 2TB Hard Drive with only 200GB of Music on it. Every time that I connect the Hard Drive. The system starts scanning it for music rendering everything else broken. Without attaching the hard drive everything works fine.

Is it possible to introduce a feature that allows you to search only certain folders of your HDD or maybe to load the HDD asynchronously with the web server and keep adding music to the library as the files are discovered? Then you could already listen to some music while the rest is still loading. Or some progress bar of sort would also be nice.

ACXgit commented 9 years ago

Hi @jrosseel, what do you mean exactly with "rendering everything else broken"? You can exclude folders from being scanned simply dropping a file named as .mpdignore inside them.

jrosseel commented 9 years ago

Hi Andrea,

Thanks for the fast reply. I meant the webserver became unresponsive. I couldn't connect to it anymore nor did the device play music. Thanks for the tip, I'll try adding the .mdpignore.

Op vr 10 apr. 2015 om 16:02 schreef Andrea Coiutti <notifications@github.com

:

Hi @jrosseel https://github.com/jrosseel, what do you mean exactly with "rendering everything else broken"? You can exclude folders from being scanned simply dropping a file named as .mpdignore inside them.

— Reply to this email directly or view it on GitHub https://github.com/RuneAudio/RuneUI/issues/58#issuecomment-91568901.

jrosseel commented 9 years ago

I added the .mdpignore tags to all the folders that don't need scanning but the system is still unresponsive while scanning th rest of the folders. I connected the Hard Drive half an hour ago and I still can't make a connection with the web server. Their is 160GB of music combined in the folders that don't contain .mdpignore.

ACXgit commented 9 years ago

A MPD library update shouldn't take so long, even with huge collections, and more important it shouldn't hang the device in the process. Possible causes could be:

jrosseel commented 9 years ago

I'm using a HDD that is powered over USB so PSU seems most likely to be the problem. I'm copying a part of my music library to another externally powered HDD and will try with that one.

jrosseel commented 9 years ago

That was indeed the problem. It works now using the externally powered HDD. Thank you for your help!

ACXgit commented 9 years ago

You're welcome!