A high-performance, real-time "Now Playing" widget for OBS. This version is written in native C++ for minimum resource consumption (RAM and CPU). It tracks music from Apple Music, Spotify, and other media players using the native Windows Media API.
- ⚡ Ultra-Lightweight - Uses < 10MB of RAM (vs 150MB+ for .NET versions).
- 🔄 Event-Driven - Zero CPU usage when idle; updates only when the track changes.
- 🖼️ Real-time Album Art - Displays high-quality artwork via GDI+.
- 🎨 Modern OBS Frontend - Sleek, transparent glassmorphism design for your stream.
- 🎯 Native Windows Integration - Uses C++/WinRT for reliable media detection.
- 📦 Zero Dependencies - Single native executable, no runtime required.
- Download the latest release (or compile it yourself).
- Place
OSMV-Lite-cpp.exe,index.html, andstyle.cssin the same folder. - Launch
OSMV-Lite-cpp.exe. It will stay in your system tray. - Add
index.htmlas a Browser Source in OBS.
- Windows 10/11
- Visual Studio 2022 (with "Desktop development with C++" workload)
- Clone the repository.
- Open a Developer Command Prompt for VS 2022.
- Run
build.bat. - The standalone
OSMV-Lite-cpp.exewill be generated.
- Add a new Browser source.
- Check Local file and select
index.html. - Dimensions: Width: 500, Height: 140.
Music Player (Spotify/Apple Music)
↓
Windows Media Control API (C++/WinRT Events)
↓
OSMV-Lite-cpp.exe (Native C++)
↓
current_song.json (Atomic UTF-8 Write)
↓
index.html (OBS Frontend)
MIT License