MediaView with DBus mpris control
Posted: Tuesday 7th February 2023 6:48pm
I've been trying to make a mpris enabled MediaView control
https://gitlab.com/bsteers4/gb.mediaview.mpris
It needs some folks with more gb.DBus knowledge than me i think.
It is a copy of the MediaView control with a few modifications like accessing the internal MediaPlayer control to get State.
Plus a dbus class for the mpris.MediaPlayer2 that can control the MediaView
Todo: the MediaView does not fire property changes correctly and inform DBus of state changes.
Cinnamon media controller applet can play/pause and read the metadata
(it seems glitchy though and it's play button does not change to pause as it does not get the property change)
My own media controller application can play/pause/seek/position/set volume
but it sometimes reads Null when getting the dbus properties from this application (not others).
If you want to help on this project then find it here..
https://gitlab.com/bsteers4/gb.mediaview.mpris
https://gitlab.com/bsteers4/gb.mediaview.mpris
It needs some folks with more gb.DBus knowledge than me i think.
It is a copy of the MediaView control with a few modifications like accessing the internal MediaPlayer control to get State.
Plus a dbus class for the mpris.MediaPlayer2 that can control the MediaView
Todo: the MediaView does not fire property changes correctly and inform DBus of state changes.
Cinnamon media controller applet can play/pause and read the metadata
(it seems glitchy though and it's play button does not change to pause as it does not get the property change)
My own media controller application can play/pause/seek/position/set volume
but it sometimes reads Null when getting the dbus properties from this application (not others).
If you want to help on this project then find it here..
https://gitlab.com/bsteers4/gb.mediaview.mpris