mpv-scripts icon indicating copy to clipboard operation
mpv-scripts copied to clipboard

sub-fonts-dir-auto.lua randomly doesn't work

Open akiirui opened this issue 1 year ago • 0 comments

Put sub-fonts-dir-auto.lua to scripts/, and run mpv -v VIDEO_FILE.

This lua randomly doesn't trigger, no [cplayer] Running hook: sub_fonts_dir_auto/on_load is found from outputs.

If you increase the priority mp.add_hook("on_load", 1, on_load) or change the trigger condition mp.register_event("file-loaded", on_load) It works fine.

akiirui avatar Dec 08 '24 14:12 akiirui