diff options
author | lonkaars <loek@pipeframe.xyz> | 2024-03-09 22:08:21 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2024-03-09 22:08:21 +0100 |
commit | f99aa9d2c9baa0ce6ca01f47bf69e4c3901b54a8 (patch) | |
tree | 74c84ceb43af24c79b3ed4a250201adf38ed14cf /.config/jellyfin-mpv-shim/scripts | |
parent | be2e6dccf2897c0ba82924bba9da6eb23f5b36ce (diff) |
automatically set lights when playing media with jellyfin-mpv-shim
Diffstat (limited to '.config/jellyfin-mpv-shim/scripts')
-rw-r--r-- | .config/jellyfin-mpv-shim/scripts/set-lights.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.config/jellyfin-mpv-shim/scripts/set-lights.lua b/.config/jellyfin-mpv-shim/scripts/set-lights.lua new file mode 100644 index 0000000..b454519 --- /dev/null +++ b/.config/jellyfin-mpv-shim/scripts/set-lights.lua @@ -0,0 +1,5 @@ +function on_start_file() + os.execute("scene scene.aux_eiga_moodo"); +end + +mp.register_event("start-file", on_start_file) |