pythonpython-3.xvlcpython-vlc

MPRIS integration with Python or VLC-Python


Does anybody know of an easy module to interact with MPRIS and write metadata to it? I'm trying to get a music player working with the OS, and I'm using VLC [python-vlc] as it's backend. If you can help me out find any module that allows me to easily write metadata, thanks.

Modules I've tried:

VLC docs: https://www.olivieraubert.net/vlc/python-ctypes/doc/index.html

NOTE: This is not what my player looks like, this is KDE's Applet allowing me to see what is playing. I'm sure windows has something similar, but the most important thing is I need to be able to play and pause music from anywhere in the OS with the play/pause button on my keyboard or bluetooth device

Example of output: KDE Plasma Applet


Solution

  • Use MPRIS-SERVER but read the issues. Still a pain to set up but at least it works properly.