tdesktop icon indicating copy to clipboard operation
tdesktop copied to clipboard

MPRIS D-Bus interface is not created when playing video

Open aerz opened this issue 4 years ago • 3 comments

Steps to reproduce

  1. Open Telegram Desktop
  2. Navigate to a video and play it.
  3. While the media it's playing, run dbus-send --print-reply --dest=org.mpris.MediaPlayer2.tdesktop /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause to control the player.
  4. The player continues and the command output throws an error because the dbus interface does not exist.

Expected behaviour

Whenever a video is playing, a dbus interface (org.mpris.MediaPlayer2.tdesktop) is created to allow the player to be controlled by it.

Actual behaviour

When playing a video, no interface is created on the dbus.

Operating system

Arch Linux x86_64, i3wm

Version of Telegram Desktop

Tested on 3.6.1 and 3.6.3 (Beta)

Installation source

Flatpak

Logs

No response

aerz avatar Apr 14 '22 19:04 aerz

This functionality is provided only for music. If you want the same functionality for video, create a feature request.

ilya-fedin avatar Apr 15 '22 02:04 ilya-fedin

This functionality is provided only for music. If you want the same functionality for video, create a feature request.

It would be nice to have the same feature for videos as well. I edited some details on the report to refer only to videos.

aerz avatar Apr 15 '22 11:04 aerz

6.9.4

Aokromes avatar Jul 03 '26 08:07 Aokromes