Enhance the custom sub filter implementation#156
Enhance the custom sub filter implementation#156tatsumoto-ren merged 13 commits intoAjatt-Tools:masterfrom
Conversation
|
This file needs to be updated https://github.com/Ajatt-Tools/mpvacious/blob/master/.github/RELEASE/custom_sub_filter_example.lua Also, remove deprecated parameters https://github.com/Ajatt-Tools/mpvacious/blob/master/config/defaults.lua |
7c6bd67 to
dfe7b4d
Compare
|
Hi, Tatsumoto,
What I had added in my own script basically was: Sorry, I don't have my computer with me today. |
I only rebased your branch on top of the master branch. I didn't edit anything else.
It would be great if we could provide an example script with all the necessary instructions on how to set it up. |
|
Previously, all documentation lived in |
|
I initially chose |
yes, sure. |
This PR improves the custom_sub_filter feature merged in #151 with the following changes:
Relocated Plugin Directory: Moved
subs2srs_sub_filterfrom~/.config/mpv/to~/.config/mpv/scripts/.It now follows the standard mpv plugin structure (including a placeholder
main.lua), making it easier to manage within the standard scripts environment.Note: The logic remains in
subs2srs_sub_filter.luarather thanmain.luabecause this is a specialized module dedicated to mpvacious rather than a standalone mpv script.Extended Customization via init(): The
subs2srs_sub_filter.luanow returns aninit()function. This allows users to define their own logic, such as registering custom hotkeys.Cleanup: Removed redundant or unnecessary configuration parameters to simplify the codebase.