fix(mpv): fix inconsistency with autocrop
This commit is contained in:
@@ -4,18 +4,32 @@
|
||||
scripts = with pkgs.mpvScripts; [
|
||||
uosc
|
||||
thumbfast
|
||||
autocrop
|
||||
];
|
||||
scriptOpts = {
|
||||
autocrop = {
|
||||
auto = "yes"; # Automatically run on video load
|
||||
notice = "yes"; # Optional: Show an OSD message when it crops
|
||||
delay = "5"; # Optional: Wait 1 second before detecting (helps skip studio logos)
|
||||
};
|
||||
};
|
||||
config = {
|
||||
# uosc provides its own UI
|
||||
osc = "no";
|
||||
osd-bar = "no";
|
||||
border = "no";
|
||||
hwdec = "auto-copy";
|
||||
|
||||
# Subtitle preferences - prefer full subtitles over forced
|
||||
# slang = "eng,en,enm"; # English subtitle preference order
|
||||
# subs-fallback = "default"; # Use default if preferred not found
|
||||
# sub-forced-events-only = "no"; # Don't limit to forced subtitle events
|
||||
};
|
||||
|
||||
bindings = {
|
||||
# Bind it to 'C' (Shift+c) to toggle cropping manually
|
||||
"C" = "script-message-to autocrop toggle_crop";
|
||||
};
|
||||
};
|
||||
|
||||
xdg.mimeApps = {
|
||||
|
||||
Reference in New Issue
Block a user