Closed man9ourah closed 3 years ago
Oh .. nvm .. I just saw #179 .. I am on firefox 79 btw ..
closing this..
The relevant line from the dbus-monitor log is this:
method call time=1598764419.409794 sender=:1.75 -> destination=:1.68 serial=18 path=/org/mpris/MediaPlayer2; interface=org.mpris.MediaPlayer2.Player; member=Next
A message with reply_serial=18 is missing. This is a violation of the dbus specification
When an application handles a method call message, it is required to return a reply. The reply is identified by a REPLY_SERIAL header field indicating the serial number of the METHOD_CALL being replied to. The reply can have one of two types; either METHOD_RETURN or ERROR.
You can reproduce the issue with dbus-send
.
I recommend using plasma-browser-integration as a workaround.
I really appreciate your response!!
From playerctl side, is the timeout configurable or easily accessible in the code where I could tweak it until firefox resolve this?
the suggested workaround have lots of dependencies for my environment.
--timeout
parameter into the cli.You can also do timeout 0.5 playerctl next
or playerctl next &
.
I've submitted a patch to firefox at https://bugzilla.mozilla.org/show_bug.cgi?id=1648874
If you want this issue to be resolved, please support that issue.
Hello!
I am trying to control firefox media through the newly added support for MPRIS .. see their spec document here but it might be out dated: https://drive.google.com/file/d/1TpQULFJTNRQ1QDCS7QKycf98677kB5DI/view
The new support is not on by default, you need to tweak a couple of options in about:config as mentioned in the document above.
Playerctl controls it successfully, and command are executed just fine. However it blocks for about 20 seconds afterwards then it timeouts.. With other players, i.e. vlc .. it does not do that. I am not sure which of the two (firefox or playerctl) is the one causing this. Another thing is: not all commands block.. status and metadata work perfectly without blocking.. play-pause next prev and commands that actually control the media are the ones with the problem.
If the problem is on firefox side (thats what I am expecting) .. is there a workaround? i.e. can I set the timeout value in cli? or even somewhere easily in the code?
Here are some commands output:
the dbus monitor output:
Thanks!