Create image path - mpv-jellyfin - MPV script for adding an interface for Jellyfin.
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 25c2df0372b1fef15b36401bb9e66c313a037e0c
(DIR) parent 918c0caae3d93645c399c1e1df8a2861463a213c
(HTM) Author: EmperorPenguin18 <60635017+EmperorPenguin18@users.noreply.github.com>
Date: Sat, 21 Jan 2023 20:13:47 -0500
Create image path
Diffstat:
M scripts/jellyfin.lua | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
(DIR) diff --git a/scripts/jellyfin.lua b/scripts/jellyfin.lua
@@ -248,6 +248,7 @@ local function unpause()
mp.set_property_bool("pause", false)
end
+os.execute("mkdir -p "..options.image_path)
mp.add_periodic_timer(1, check_percent)
mp.add_key_binding("Ctrl+j", "jf", toggle_overlay)
mp.observe_property("osd-width", "number", width_change)