-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xbmc hangs on "getting artists" #11
Comments
Hi, There's nothing to do, loading too much items consumes too much memory and because MPD returns artists unsorted, plugin is sorting them (again in memory) and I am not speaking about XBMC list items it self (which is just another copy of artists in memory). Solution could be redoing addon to usual audio addon - not a script. I am currently trying to work on it. Sorry ATM |
I think sonata is written in python too, maybe you could look at their code to reduce overhead. Or one could do the "getting artists" in background. At least Ario does so. It populates the displayed library while you can use all it's features. But I think it's written in C and Gtk or so... Henning |
I've pushed initial version of new addon implemented completelly different way, check it out. WDYT? Data are loaded only when needed, addon is stateless, no caching, no polling. Use install.sh or note that addon is no longer called scrpit.mpdc but plugin.audio.mpdc. So both versions can live side-by-side. I was testing it on my pi, and loading artists takes almost same time as in old implementation, |
Hi, Regards |
Hello, great to hear that! So it looks like I'll continue with this approach and deprecate previous (now in official repo) addon. Thanks |
Hi, Happy coding |
new version (now in master branch only) does not do any polling, it "just" opens new connection, asks mostly for status or some listing (depends what you actually do), it should resolve your issue. |
Hi - not sure if you still work on this add-on but it's great. |
Hi, Greetings |
Hi - thanks for the quick action on the option to suppress the artists and files tabs. |
Hi, no, not yet online. You can look for my fork, the ready to use ZIP File for Kodi is downloadable there. Greets Rüdiger owl770 [email protected] schrieb:
|
Forgot to say, it's rthe fork of emschneid owl770 [email protected] schrieb:
|
Hi @remschneid i am on the official version and i have a bug when getting artist list from my server. (this list contains only 4 artists !) here the trace:
|
Am 29.10.2016 um 22:21 schrieb Fabien:
Hi Fabien,
|
Hi
I have a 30 MB mpd-db accessed by my pi over local network. Playing music works fine with pulseaudio, mpd can be accessed from the raspbian lxde with a couple of clients (I normally use ario, mpc and webclients).
However in xbmc it hangs on "getting artists". What can I do?
kind regards,
Henning
The text was updated successfully, but these errors were encountered: