View Single Post
Old 8th June 2019, 04:22   #6322  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 1,959
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?
1. You can use the web interface. And see variables.html page.
2. See MPC API.
Both methods work for MPC-BE and MPC-HC.
v0lt is offline   Reply With Quote