hoyon / mpv-mpris

MPRIS plugin for mpv
MIT License
608 stars 35 forks source link

Does not send an event on exit #61

Closed UtkarshVerma closed 2 years ago

UtkarshVerma commented 2 years ago

I have statusbar scripts which constantly poll the following command to show currently playing media.

dbus-monitor "path=/org/mpris/MediaPlayer2,member=PropertiesChanged"

However, I've noticed the mpv doesn't send an event when it exists, which leaves my statusbar stale. Would it be possible to achieve this?

UtkarshVerma commented 2 years ago

Thank you. The commit works as expected.