mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 11:10:52 +00:00
Try to work around a strange MPRIS-related assertion observed on Raspbian.
This commit is contained in:
parent
a34ef22040
commit
c1ea922e03
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user