You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the newest ncspot (0.13.1), the program starts up normally, but when selecting any song to play, it bails out with Error: "channel closed"
The problem disappears when I build from any revision that is earlier than b0db0da ("Rewrite MPRIS implementation using zbus")
When comparing debug logs (obtained with -d <logfile>) between the working (i.e. pre- b0db0da) and non-working versions there is no readily apparent difference, except that with the faulty ncspot the log suddenly stops after the second line below:
Some systems may have an ncspot binary with enabled MPRIS/DBus support, even
though DBus is not actually running on the system or the session is broken.
ncspot should not panic in such a situation, but handle gracefully instead.
Should help with #1139
Thanks for the report. While you're right that the missing DBus session was the problem here, I think ncspot should handle it without crashing. I have committed a small change that should help with this.
When running the newest
ncspot
(0.13.1
), the program starts up normally, but when selecting any song to play, it bails out withError: "channel closed"
The problem disappears when I build from any revision that is earlier than b0db0da ("Rewrite MPRIS implementation using zbus")
When comparing debug logs (obtained with
-d <logfile>
) between the working (i.e. pre- b0db0da) and non-working versions there is no readily apparent difference, except that with the faultyncspot
the log suddenly stops after the second line below:System: Linux (Gentoo)
installed with
git clone
and thencargo build
running dbus 1.15.4
(Apropos
dbus
:dbus-monitor
shows quite a bit of activity with the workingncspot
version, but remains completely silent with the non-working one)The text was updated successfully, but these errors were encountered: