by rlsten » 29 Nov 2018, 00:13
I've been having a problem with the SD button not working when I add a USB Hard Drive to /mnt/MPD/LocalStorage. This is what happened:
Fresh install of Rune .04b 20170229 image on a Raspberry Pi3. No screen. Ethernet. Wireless AP turned off, not connected to any WiFi network.
On Sources, turned Library Auto Rebuild off.
In Settings, turned USB Automount and Local browser off.
Added 2 Network shares from Synology NAS.
Created the directory 5TBHDD under /mnt/MPD/LocalStorage.
Edited /etc/fstab to mount a 5TB USB Hard Disk to /mnt/MPD/LocalStorage/5TBHDD.
Rebooted and updated the library.
Once the library was built, everything worked perfectly--I could access music on both the hard drive and the network and it played flawlessly. The total amount of music from all the sources is huge--the mpd.db file is over 16mb. But everything worked fine. (I have been using these settings for years with no problems on many different Rune setups and images, both with and without the UI Enhancements installed--the problem I am having now has only started in the past month or two).
I then installed the Addons and expanded the file system.
Finally, I installed the UI Enhancements, which was successful.
At that point, the system slowed to a crawl. All the buttons were non-responsive for several minutes; finally all the buttons worked, except the library button. After a much longer time, the library button worked, but the SD button, which used to access folders located in LocalStorage, was totally non-responsive. I was able to access the Network drives at this point. (By the way, the items on the Hard Drive were still properly mounted to /mnt/MPD/LocalStorage/5TBHDD--and I am pretty certain they are still the mpd database).
I experienced the same problem when I reversed the process--that is, I added the USB Hard Drive to the same setup that had the UI Enhancements already installed. The system slowed down and, after a long wait, the Library button worked, but the SD button was non-responsive.
In both cases, it clearly was the addition of the USB Drive to a system with the UI Enhancements that was the problem. When I removed the Hard Drive, everything returned to normal.
What the problem means for me is that I can either have a system with both a USB Drive and Network Storage, but with no UI Enhancements, or a system with the UI Enhancements, but no USB Drive. Of course, the enhancements, particurly the index bar, is very handy with a large collection.
Any idea what could be going on here? Has there been a change in how the Enhancements handles items in the /mnt/MPD/LocalStorage folder? Does the system break down trying to get a total count of the large number of items on the Hard Drive?
If there was a way to modify runeui.js to add just a functioning index bar, without the other enhancements, that would work for me, although I would miss the other wonderful enhancements, such as the elapsed time for the currently playing item on the play list page and many other things.
Thanks again for all your hard work on this!
Rod