aboutsummaryrefslogtreecommitdiff
path: root/.config/jellyfin-mpv-shim/scripts/set-lights.lua
blob: 3a392dc9d4520c5b268219327dd50e1eba0352b2 (plain)
1
2
3
4
5
6
function on_start_file()
	os.execute("curl -X POST \"$HASS_SERVER/api/webhook/movie\"");
end

mp.register_event("start-file", on_start_file)