-
Hey Everyone
I need some help , I am playing music in morph browser
the issue is when I lock screen (using UB tweak keep it running background) music plays but if want click pause play next on music player it wont work
When looked the DBUS using following command
dbus-monitor --session "type='signal',interface='org.freedesktop.DBus.Properties'"
I can some how guess the audio is paused using mpris mediaplyer
signal time=1764878914.894754 sender=:1.27 -> destination=(null destination) serial=201 path=/org/mpris/MediaPlayer2; interface=org.freedesktop.DBus.Properties; member=PropertiesChanged
string "org.mpris.MediaPlayer2.Player"
array [
dict entry(
string "PlaybackStatus"
variant string "Playing"
)
]
array [
]signal time=1764878916.305535 sender=:1.27 -> destination=(null destination) serial=214 path=/org/mpris/MediaPlayer2; interface=org.freedesktop.DBus.Properties; member=PropertiesChanged
string "org.mpris.MediaPlayer2.Player"
array [
dict entry(
string "PlaybackStatus"
variant string "Paused"
)
]
array [
]Is there any way we can pass the music controls to media player from website so it will be more easy to contol them without unlocking the phone
If anyone have any workround let me know
-
L Lakotaubp moved this topic from General
-
For further digging I found An appArmor policy prevents from webapp-container expose MPRIS
signal time=1764940153.079286 sender=:1.134 -> destination=(null destination) serial=19 path=/org/mpris/MediaPlayer2; interface=org.freedesktop.DBus.Properties; member=PropertiesChanged string "org.mpris.MediaPlayer2.Player" array [ dict entry( string "PlaybackStatus" variant string "Paused" ) ] array [ ] error time=1764940153.079343 sender=org.freedesktop.DBus -> destination=:1.134 error_name=org.freedesktop.DBus.Error.AccessDenied reply_serial=19 string "An AppArmor policy prevents this sender from sending this message to this recipient; type="signal", sender=":1.134" (uid=32011 pid=19620 comm="youtube-web" label="youtube-web.mateo-salta_youtube-web_7 (enforce)") interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" error name="(unset)" requested_reply="0" destination="org.freedesktop.DBus" (uid=32011 pid=15732 comm="/usr/bin/mpris-proxy" label="unconfined")" method call time=1764940153.084393 sender=:1.141 -> destination=org.freedesktop.DBus serial=8 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch string "type='signal', path='/org/freedesktop/DBus/Local',interface='org.freedesktop.DBus.Local', member='Disconnected'" method return time=1764940153.084439 sender=org.freedesktop.DBus -> destination=:1.141 serial=9 reply_serial=8is there any way we can configure app mirror policy ?