Try to work around a strange MPRIS-related assertion observed on Raspbian.

This commit is contained in:
casey langen 2020-06-29 00:55:43 +01:00
parent a34ef22040
commit c1ea922e03

View File

@ -137,7 +137,7 @@ void MPRISRemote::MPRISEmitSeek(double curpos) {
void MPRISRemote::MPRISLoop() {
while (!stop_processing) {
if (bus) {
if (bus && sd_bus_get_current_slot(bus)) {
if (sd_bus_process(bus, NULL) > 0) {
continue;
}