-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enable loading from global scripts dir
the scripts_dir detection logic uses `mp.find_config_file("scripts")` which returns `$XDG_CONFIG_HOME/mpv/scripts` even if the plugin is installed globally under `/etc/mpv/scripts`. fix this by using `mp.get_script_directory()`, which requires the install the plugin in a `script directory`, but that is recommended anyway for plugins like this one: https://mpv.io/manual/master/#script-location Signed-off-by: Robert Günzler <[email protected]>
- Loading branch information
Showing
3 changed files
with
10 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
sponsorblock.lua |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters