Home

Awesome

obs_media_info

This project is an attempt at making a OBS Studio plugin.

The plugin display the current playing track info (title, album, artist) and artwork.

Data is collected though the MPRIS 2 or Windows.Media.Control interfaces so a lot of players should be supported (VLC, Spotify, Firefox, ...).

Screenshot

Screenshot of obs with the plugin installed

Windows

Get Latest dll from the release tab.

Build

From the MSVC console (important):

powershell
. ./lib_from_dll.ps1
New-LibFromDll obs.dll
New-LibFromDll w32-pthreads.dll

build_msvc.bat

Install

Place the obs_media_plugin.dll in the obs plugins directoty (OBS-Studio-27.0.1-Full-x64\obs-plugins\64bit).

Linux

Build

$ apt update
$ apt install build-essential pkgconf # requiring make gcc pkgconf
$ apt install libdbus-1-dev libobs-dev

% make

Install

Place the obs_media_plugin.so in the obs plugins directory.

% mkdir -p $HOME/.config/obs-studio/plugins/obs_media_info/bin/64bit
% cp obs_media_plugin.so $HOME/.config/obs-studio/plugins/obs_media_info/bin/64bit/
or
% ln -s "$(pwd)/obs_media_info.so" $HOME/.config/obs-studio/plugins/obs_media_info/bin/64bit/obs_media_info.so

Or in the systemwide directory /usr/share/obs/obs-plugins/ (distribution dependant. Archlinux: /usr/lib/obs-plugins/).

$ cp obs_media_plugin.so /usr/share/obs/obs-plugins/

TODO

Note