szclsya / mpdris2-rs

Exposing MPRIS V2.2 D-Bus interface for mpd
GNU General Public License v3.0
31 stars 1 forks source link

Failed to connect to MPD server #1

Closed nsirolli closed 1 year ago

nsirolli commented 1 year ago

When running mpdris2-rs the following error occurs:

nico@pilar:~> mpdris2-rs
ERROR [mpdris2_rs] Failed to connect to MPD server: missing fields from MPD status:
duration. Will try again every 5 secs...

I'm running arch, and I've got mpd running via a systemd user unit.

szclsya commented 1 year ago

Hi.

I've pushed a fix to allow empty duration (see 23e3e4754fba9a60a6fede6d4e294492e770681b). Have a try!

nsirolli commented 1 year ago

It works now, thanks!