| Add MPRIS integration for media key control
All checks were successful
SonarQube Code Quality Scan / SonarQube Scan (push) Successful in 1m48s

Implements org.mpris.MediaPlayer2 and org.mpris.MediaPlayer2.Player
D-Bus interfaces, allowing desktop environment media keys and tools
like playerctl to control playback (play, pause, next, previous)
and display now-playing metadata.

Also adds _FallbackServiceInterface, _FallbackVariant and
_FallbackNameFlag so all tests pass without dbus-fast installed;
the module gracefully degrades when the library is unavailable.
This commit is contained in:
2026-06-09 18:01:41 +03:00
parent 37d4a7d47e
commit e2d64cd464
4 changed files with 771 additions and 0 deletions

View File

@@ -2,3 +2,4 @@ yt-dlp>=2024.0.0
ytmusicapi>=1.0.0
pypresence>=4.0.0
PySide6>=6.5.0
dbus-fast>=5.0.0