Bug 472749 - MPRIS support
Summary: MPRIS support
Status: RESOLVED FIXED
Alias: None
Product: PlasmaTube
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR wishlist
Target Milestone: ---
Assignee: Joshua Goins
URL:
Keywords:
: 475972 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-07-28 14:55 UTC by aTosser
Modified: 2023-11-18 18:52 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 24.02
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description aTosser 2023-07-28 14:55:24 UTC
Feature Request:

PlasmaTube as it stands does not have feature parity with other audio/video "players" provided by KDE. 
MPRIS is really needed for smoother Plasma integration.

  *KDE Connect can not interface with PlasmaTube
  *The lock screen media widget can not control PlasmaTube
  *Other players can not pause PlasmaTube when they begin playing media
  *convenience tools can not take action on the videos being played.
Comment 1 Bart Ribbers 2023-10-22 16:01:21 UTC
*** Bug 475972 has been marked as a duplicate of this bug. ***
Comment 2 Bug Janitor Service 2023-11-18 18:45:08 UTC
A possibly relevant merge request was started @ https://invent.kde.org/multimedia/plasmatube/-/merge_requests/70
Comment 3 Joshua Goins 2023-11-18 18:51:58 UTC
Git commit b4729b0df4d0c651e336fe29f6950f47bcd934fe by Joshua Goins.
Committed on 18/11/2023 at 19:50.
Pushed by redstrate into branch 'master'.

Add basic MPRIS2 support

You can now see the currently playing video in the media player applet
and other applications like KDE Connect. It supports showing the video
title, author, moving between the queue and seeking. Window activation
is not yet implemented.

M  +1    -0    CMakeLists.txt
A  +175  -0    LICENSES/LGPL-2.1-only.txt
A  +304  -0    LICENSES/LGPL-3.0-only.txt
A  +12   -0    LICENSES/LicenseRef-KDE-Accepted-LGPL.txt
M  +23   -0    src/CMakeLists.txt
M  +48   -0    src/controllers/videocontroller.cpp
M  +18   -0    src/controllers/videocontroller.h
M  +15   -2    src/controllers/videoqueue.cpp
M  +4    -0    src/controllers/videoqueue.h
A  +86   -0    src/mpris/mediaplayer2.cpp     [License: GPL(v3.0+)]
A  +55   -0    src/mpris/mediaplayer2.h     [License: GPL(v3.0+)]
A  +412  -0    src/mpris/mediaplayer2player.cpp     [License: GPL(v3.0+)]
A  +124  -0    src/mpris/mediaplayer2player.h     [License: GPL(v3.0+)]
A  +106  -0    src/mpris/metadata.cpp     [License: LGPL(3+eV) LGPL(v3.0) LGPL(v2.1)]
A  +55   -0    src/mpris/metadata.h     [License: LGPL(3+eV) LGPL(v3.0) LGPL(v2.1)]
A  +96   -0    src/mpris/mpris2.cpp     [License: GPL(v3.0+)]
A  +43   -0    src/mpris/mpris2.h     [License: GPL(v3.0+)]

https://invent.kde.org/multimedia/plasmatube/-/commit/b4729b0df4d0c651e336fe29f6950f47bcd934fe