View Single Post
Old 7th June 2019, 22:13   #6320  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
Quote:
Originally Posted by SirMaster View Post
Does anyone know if there is some sort of API or mechanism that I can use to hook into MPC-BE's events like play, pause, stop?

For instance I want to run a script that turns off my room lighting when playback in mpc-be starts, and turns on room lighting when playback is paused or stopped.

Any ideas of how I could do this?
Not supported by mpc, players I'm aware of are:

Lua: vlc, mpv(.net)
JavaScript: mpv(.net)
AngelScript: PotPlayer
COM Automation: JRiver
C Python: Kodi
IronPython: mpv.net
dotnet add-ons: mpv.net
PowerShell: mpv.net
CS-Script: mpv.net
stax76 is offline   Reply With Quote