Player is only detected when restarting i3status-rs and the playing item isn't updated when player name contains a dash in it's name. Could it be link to the busctl --user list | grep "org.mpris.MediaPlayer2." | cut -d ' ' -f1 not working properly in this case?
This is a bug in one of our dependencies, which results in unexpected behavior when - is used is a bus name. Reported in https://github.com/dbus2/zbus/issues/382.
Player is only detected when restarting i3status-rs and the playing item isn't updated when player name contains a dash in it's name. Could it be link to the
busctl --user list | grep "org.mpris.MediaPlayer2." | cut -d ' ' -f1
not working properly in this case?Steps to reproduce:
Sorry I don't code in Rust so it's hard to debug by myself, can someone take a look?