XanClic / krunner-mpd

A KRunner (DBus) module for controlling MPD
2 stars 0 forks source link

No results #7

Open XanClic opened 6 years ago

XanClic commented 6 years ago

Relatively often, no results are returned. This may be an artifact of not setting the runner speed to SlowSpeed (compare https://api.kde.org/frameworks/krunner/html/classPlasma_1_1AbstractRunner.html#a7a25eda24c099a0753a8887316b7f215), but we cannot do that. The central KRunner DBus runner should do that, but it doesn’t, and it doesn’t offer an interface to do it manually.

But hey, maybe there’s some other issue, too, so let’s investigate.

XanClic commented 6 years ago

According to the debug logs, this is because MPD returns an empty array when queried. There is no signal or exception interfering. If we could detect this case, we could at least try to reconnect to MPD, maybe that works. Maybe we could just reconnect to MPD regularly, and that might solve the issue.