diff --git a/force-japanese.patch b/force-japanese.patch index 95a18da..cb839fe 100644 --- a/force-japanese.patch +++ b/force-japanese.patch @@ -31,8 +31,8 @@ diff -ruN mpvacious/main.lua mpvacious-patched/main.lua require('subs2srs') diff -ruN mpvacious/utils/force-japanese.lua mpvacious-patched/utils/force-japanese.lua --- mpvacious/utils/force-japanese.lua 1969-12-31 20:00:00.000000000 -0400 -+++ mpvacious-patched/utils/force-japanese.lua 2024-07-22 17:19:11.258733910 -0400 -@@ -0,0 +1,75 @@ ++++ mpvacious-patched/utils/force-japanese.lua 2024-07-22 18:01:09.376499651 -0400 +@@ -0,0 +1,77 @@ +local assdraw = require 'mp.assdraw' + +local preferred_alangs = {"jpn", "ja", "japanese"} @@ -90,6 +90,8 @@ diff -ruN mpvacious/utils/force-japanese.lua mpvacious-patched/utils/force-japan + if selected_sid then + mp.set_property("sid", selected_sid) + mp.add_timeout(3, show_phrase) ++ else ++ mp.set_property("sid", "no") + end +end +