mpv & change wallpaper
This commit is contained in:
@@ -1 +0,0 @@
|
||||
font_size=44
|
||||
@@ -1,175 +0,0 @@
|
||||
#######################################################
|
||||
# This is the default config file for mpv-file-browser
|
||||
# https://github.com/CogentRedTester/mpv-file-browser
|
||||
#######################################################
|
||||
|
||||
# root directories, separated by commas
|
||||
# on linux you will probably want to add `/`,
|
||||
# on windows this should be used to add different drive letters
|
||||
# Examples:
|
||||
# linux: root=~/,/
|
||||
# windows: root=~/,C:/
|
||||
root=~/
|
||||
|
||||
# characters to separate root directories, each character works individually
|
||||
# this is in case one is using directories with strange names
|
||||
root_separators=,;
|
||||
|
||||
# number of entries to show on the screen at once
|
||||
num_entries=20
|
||||
|
||||
# wrap the cursor around the top and bottom of the list
|
||||
wrap=no
|
||||
|
||||
# only show files compatible with mpv in the browser
|
||||
filter_files=yes
|
||||
|
||||
# experimental feature that recurses directories concurrently when appending items to the playlist
|
||||
# this feature has the potential for massive performance improvements when using addons with asynchronous IO
|
||||
concurrent_recursion=no
|
||||
|
||||
# maximum number of recursions that can run concurrently
|
||||
# if this number is too high it risks overflowing the mpv event queue, which will cause some directories to be dropped entirely
|
||||
max_concurrency=16
|
||||
|
||||
# enable custom keybinds
|
||||
# the keybind json file must go in ~~/script-opts
|
||||
custom_keybinds=no
|
||||
|
||||
# file-browser only shows files that are compatible with mpv by default
|
||||
# adding a file extension to this list will add it to the extension whitelist
|
||||
# extensions are separated with the root separators, do not use any spaces
|
||||
extension_whitelist=
|
||||
|
||||
# add file extensions to this list to disable default filetypes
|
||||
# note that this will also override audio/subtitle_extension options below
|
||||
extension_blacklist=
|
||||
|
||||
# files with these extensions will be added as additional audio tracks for the current file instead of appended to the playlist
|
||||
# items on this list are automatically added to the extension whitelist
|
||||
audio_extensions=mka,dts,dtshd,dts-hd,truehd,true-hd
|
||||
|
||||
# files with these extensions will be added as additional subtitle tracks for the current file instead of appended to the playlist
|
||||
# items on this list are automatically added to the extension whitelist
|
||||
subtitle_extensions=etf,etf8,utf-8,idx,sub,srt,rt,ssa,ass,mks,vtt,sup,scc,smi,lrc,pgs
|
||||
|
||||
# filter directories or files starting with a period like .config
|
||||
# for linux systems
|
||||
filter_dot_dirs=no
|
||||
filter_dot_files=no
|
||||
|
||||
# substitude forward slashes for backslashes when appending a local file to the playlist
|
||||
# may be useful on windows systems
|
||||
substitute_backslash=no
|
||||
|
||||
# interpret backslashes `\` in paths as forward slashes `/`
|
||||
# this is useful on Windows, which natively uses backslashes.
|
||||
# As backslashes are valid filename characters in Unix systems this could
|
||||
# cause mangled paths, though such filenames are rare.
|
||||
# Use `yes` and `no` to enable/disable. `auto` tries to use the mpv `platform`
|
||||
# property (mpv v0.36+) to decide. If the property is unavailable it defaults to `yes`.
|
||||
normalise_backslash=auto
|
||||
|
||||
# this option reverses the behaviour of the alt+ENTER keybind
|
||||
# when disabled the keybind is required to enable autoload for the file
|
||||
# when enabled the keybind disables autoload for the file
|
||||
autoload=no
|
||||
|
||||
# if autoload is triggered by selecting the currently playing file, then
|
||||
# the current file will have it's watch-later config saved before being closed and re-opened
|
||||
# essentially the current file will not be restarted
|
||||
autoload_save_current=yes
|
||||
|
||||
# when opening the browser in idle mode prefer the current working directory over the root
|
||||
# note that the working directory is set as the 'current' directory regardless, so `home` will
|
||||
# move the browser there even if this option is set to false
|
||||
default_to_working_directory=no
|
||||
|
||||
# when moving up a directory do not stop on empty protocol schemes like `ftp://`
|
||||
# e.g. moving up from `ftp://localhost/` will move straight to the root instead of `ftp://`
|
||||
skip_protocol_schemes=yes
|
||||
|
||||
# map optical device paths to their respective file paths,
|
||||
# e.g. mapping bd:// to the value of the bluray-device property
|
||||
map_bd_device=yes
|
||||
map_dvd_device=yes
|
||||
map_cdda_device=yes
|
||||
|
||||
# enables addons
|
||||
addons=no
|
||||
addon_directory=~~/script-modules/file-browser-addons
|
||||
|
||||
# directory to load external modules - currently just user-input-module
|
||||
module_directory=~~/script-modules
|
||||
|
||||
# turn the OSC idle screen off and on when opening and closing the browser
|
||||
# this should only be enabled if file-browser is the only thing controlling the idle-screen,
|
||||
# if multiple sources attempt to control the idle-screen at the same time it can cause unexpected behaviour.
|
||||
toggle_idlescreen=no
|
||||
|
||||
# Set the current open status of the browser in the `file_browser/open` field of the `user-data` property.
|
||||
# This property is only available in mpv v0.36+.
|
||||
set_user_data=yes
|
||||
|
||||
# Set the current open status of the browser in the `file_browser-open` field of the `shared-script-properties` property.
|
||||
# This property is deprecated. When it is removed in mpv v0.37 file-browser will automatically disable this option.
|
||||
set_shared_script_properties=no
|
||||
|
||||
####################################
|
||||
######### style settings ###########
|
||||
####################################
|
||||
|
||||
# force file-browser to use a specific text alignment (default: top-left)
|
||||
# uses ass tag alignment numbers: https://aegi.vmoe.info/docs/3.0/ASS_Tags/#index23h3
|
||||
# set to 0 to use the default mpv osd-align options
|
||||
alignment=7
|
||||
|
||||
# The format string used for the header. Uses custom-keybind substitution codes to
|
||||
# dynamically change the contents of the header. See: docs/custom-keybinds.md#codes
|
||||
# e.g. to add file numbers, set this to: {\fnMonospace}[%i/%x]{\fn<font_name_header or blank>} %q\N----------------------------------------------------
|
||||
format_string_header=%q\N----------------------------------------------------
|
||||
|
||||
# The format strings used for the wrappers. Supports custom-keybind substitution codes, and
|
||||
# supports two additional codes: `%<` and `%>` to show the number of items before and after the visible list, respectively.
|
||||
# Setting these options to empty strings will disable the wrappers.
|
||||
format_string_topwrapper=%< item(s) above\N
|
||||
format_string_bottomwrapper=\N%> item(s) remaining
|
||||
|
||||
# allows custom icons be set for the folder and cursor
|
||||
# the `\h` character is a hard space to add padding
|
||||
folder_icon={\p1}m 6.52 0 l 1.63 0 b 0.73 0 0.01 0.73 0.01 1.63 l 0 11.41 b 0 12.32 0.73 13.05 1.63 13.05 l 14.68 13.05 b 15.58 13.05 16.31 12.32 16.31 11.41 l 16.31 3.26 b 16.31 2.36 15.58 1.63 14.68 1.63 l 8.15 1.63{\p0}\h
|
||||
cursor_icon={\p1}m 14.11 6.86 l 0.34 0.02 b 0.25 -0.02 0.13 -0 0.06 0.08 b -0.01 0.16 -0.02 0.28 0.04 0.36 l 3.38 5.55 l 3.38 5.55 3.67 6.15 3.81 6.79 3.79 7.45 3.61 8.08 3.39 8.5l 0.04 13.77 b -0.02 13.86 -0.01 13.98 0.06 14.06 b 0.11 14.11 0.17 14.13 0.24 14.13 b 0.27 14.13 0.31 14.13 0.34 14.11 l 14.11 7.28 b 14.2 7.24 14.25 7.16 14.25 7.07 b 14.25 6.98 14.2 6.9 14.11 6.86{\p0}\h
|
||||
|
||||
# set the opacity of fonts in hexadecimal from 00 (opaque) to FF (transparent)
|
||||
font_opacity_selection_marker=99
|
||||
|
||||
# print the header in bold font
|
||||
font_bold_header=yes
|
||||
|
||||
# scale the size of the browser; 2 would double the size, 0.5 would halve it, etc.
|
||||
# the header and wrapper scaling is relative to the base scaling
|
||||
scaling_factor_base=1
|
||||
scaling_factor_header=1.4
|
||||
scaling_factor_wrappers=0.64
|
||||
|
||||
# set custom font names, blank is the default
|
||||
# setting custom fonts for the folder/cursor can fix broken or missing icons
|
||||
font_name_header=
|
||||
font_name_body=
|
||||
font_name_wrappers=
|
||||
font_name_folder=
|
||||
font_name_cursor=
|
||||
|
||||
# set custom font colours
|
||||
# colours are in hexadecimal format in Blue Green Red order
|
||||
# note that this is the opposite order to most RGB colour codes
|
||||
font_colour_header=00ccff
|
||||
font_colour_body=ffffff
|
||||
font_colour_wrappers=00ccff
|
||||
font_colour_cursor=00ccff
|
||||
|
||||
# these are colours applied to list items in different states
|
||||
font_colour_selected=fce788
|
||||
font_colour_multiselect=fcad88
|
||||
font_colour_playing=33ff66
|
||||
font_colour_playing_multiselected=22b547
|
||||
10
mpv/script-opts/gif.conf
Normal file
10
mpv/script-opts/gif.conf
Normal file
@@ -0,0 +1,10 @@
|
||||
# ========== CONFIGURATION FILE FOR MPV-GIF.LUA ==========
|
||||
|
||||
# Sets the output directory
|
||||
dir="$HOME/Videos/mpv-gifs"
|
||||
|
||||
# Sets the resolution of the output GIFs
|
||||
rez=1920
|
||||
|
||||
# Sets the framerate of the output gifs. Default is 15. Don't go too overboard or the filesize will balloon
|
||||
fps=23.976
|
||||
382
mpv/script-opts/modernz.conf
Normal file
382
mpv/script-opts/modernz.conf
Normal file
@@ -0,0 +1,382 @@
|
||||
# Language and display
|
||||
# set language (for available options, see: https://github.com/Samillion/ModernZ/blob/main/docs/TRANSLATIONS.md)
|
||||
language=en
|
||||
# font for the OSC (default: mpv-osd-symbols or the one set in mpv.conf)
|
||||
font=mpv-osd-symbols
|
||||
|
||||
# show mpv logo when idle
|
||||
idlescreen=yes
|
||||
# show OSC window top bar: "auto", "yes", or "no" (borderless/fullscreen)
|
||||
window_top_bar=auto
|
||||
# show OSC when windowed
|
||||
showwindowed=yes
|
||||
# show OSC when fullscreen
|
||||
showfullscreen=yes
|
||||
# show OSC when paused
|
||||
showonpause=no
|
||||
# disable OSC hide timeout when paused
|
||||
keeponpause=yes
|
||||
# disable Santa hat in December
|
||||
greenandgrumpy=no
|
||||
|
||||
# OSC behaviour and scaling
|
||||
# time (in ms) before OSC hides if no mouse movement
|
||||
hidetimeout=1500
|
||||
# if seeking should reset the hidetimeout
|
||||
seek_resets_hidetimeout=yes
|
||||
# fade-out duration (in ms), set to 0 for no fade
|
||||
fadeduration=200
|
||||
# whether to enable fade-in effect
|
||||
fadein=no
|
||||
# minimum mouse movement (in pixels) required to show OSC
|
||||
minmousemove=0
|
||||
# show OSC only when hovering at the bottom
|
||||
bottomhover=yes
|
||||
# height of hover zone for bottomhover (in pixels)
|
||||
bottomhover_zone=130
|
||||
# show OSC when seeking
|
||||
osc_on_seek=no
|
||||
# show OSC on start of every file
|
||||
osc_on_start=no
|
||||
# pause video while seeking with mouse move (on button hold)
|
||||
mouse_seek_pause=yes
|
||||
# force show seekbar tooltip on mouse drag, even if not hovering seekbar
|
||||
force_seek_tooltip=no
|
||||
|
||||
# scale osc with the video
|
||||
vidscale=auto
|
||||
# osc scale factor when windowed
|
||||
scalewindowed=1.0
|
||||
# osc scale factor when fullscreen
|
||||
scalefullscreen=1.0
|
||||
|
||||
# Elements display
|
||||
# show title in the OSC (above seekbar)
|
||||
show_title=yes
|
||||
# title above seekbar format: "${media-title}" or "${filename}"
|
||||
title=${media-title}
|
||||
# font size of the title text (above seekbar)
|
||||
title_font_size=24
|
||||
# chapter title font size
|
||||
chapter_title_font_size=14
|
||||
# show cached time information
|
||||
cache_info=no
|
||||
# show cache speed per second
|
||||
cache_info_speed=no
|
||||
# font size of the cache information
|
||||
cache_info_font_size=12
|
||||
|
||||
# show chapter title alongside timestamp (below seekbar)
|
||||
show_chapter_title=yes
|
||||
# format for chapter display on seekbar hover (set to "no" to disable)
|
||||
chapter_fmt=%s
|
||||
|
||||
# show total time instead of remaining time
|
||||
timetotal=yes
|
||||
# show timecodes with milliseconds
|
||||
timems=no
|
||||
# use the Unicode minus sign in remaining time
|
||||
unicodeminus=no
|
||||
# "dynamic" or "fixed". dynamic shows MM:SS when possible, fixed always shows HH:MM:SS
|
||||
time_format=dynamic
|
||||
# font size of the time display
|
||||
time_font_size=16
|
||||
# tooltips font size
|
||||
tooltip_font_size=14
|
||||
|
||||
# Title bar settings
|
||||
# show window title in borderless/fullscreen mode
|
||||
window_title=no
|
||||
# show window controls (close, minimize, maximize) in borderless/fullscreen
|
||||
window_controls=yes
|
||||
# same as title but for window_top_bar
|
||||
windowcontrols_title=${media-title}
|
||||
|
||||
# Subtitle display settings
|
||||
# raise subtitles above the OSC when shown
|
||||
raise_subtitles=yes
|
||||
# amount by which subtitles are raised when the OSC is shown (in pixels)
|
||||
raise_subtitle_amount=125
|
||||
|
||||
# Buttons display and functionality
|
||||
# show the jump backward and forward buttons
|
||||
jump_buttons=yes
|
||||
# change the jump amount in seconds
|
||||
jump_amount=10
|
||||
# change the jump amount in seconds when right-clicking jump buttons and shift-clicking chapter skip buttons
|
||||
jump_more_amount=60
|
||||
# show different icon when jump_amount is set to 5, 10, or 30
|
||||
jump_icon_number=yes
|
||||
# seek mode for jump buttons
|
||||
jump_mode=relative
|
||||
# enable continuous jumping when holding down seek buttons
|
||||
jump_softrepeat=yes
|
||||
# show the chapter skip backward and forward buttons
|
||||
chapter_skip_buttons=no
|
||||
# enable continuous skipping when holding down chapter skip buttons
|
||||
chapter_softrepeat=yes
|
||||
# show next/previous playlist track buttons
|
||||
track_nextprev_buttons=yes
|
||||
|
||||
# show mute button and volume slider
|
||||
volume_control=yes
|
||||
# volume scale type: "linear" or "logarithmic"
|
||||
volume_control_type=linear
|
||||
# show playlist button: Left-click for simple playlist, Right-click for interactive playlist
|
||||
playlist_button=yes
|
||||
# hide playlist button when no playlist exists
|
||||
hide_empty_playlist_button=no
|
||||
# gray out the playlist button when no playlist exists
|
||||
gray_empty_playlist_button=no
|
||||
|
||||
# show download button on web videos (requires yt-dlp and ffmpeg)
|
||||
download_button=yes
|
||||
# default download directory for videos (https://mpv.io/manual/master/#paths)
|
||||
download_path=~/Videos/mpv Downloads/
|
||||
# show screenshot button
|
||||
screenshot_button=yes
|
||||
# flag for screenshot button: "subtitles", "video", "window", "each-frame"
|
||||
screenshot_flag=subtitles
|
||||
|
||||
# show window on top button
|
||||
ontop_button=yes
|
||||
# show loop button
|
||||
loop_button=yes
|
||||
# show speed control button
|
||||
speed_button=yes
|
||||
# speed change amount per click
|
||||
speed_button_click=1
|
||||
# speed change amount on scroll
|
||||
speed_button_scroll=0.25
|
||||
# show info button
|
||||
info_button=yes
|
||||
# show fullscreen toggle button
|
||||
fullscreen_button=yes
|
||||
|
||||
# enable looping by right-clicking pause
|
||||
loop_in_pause=yes
|
||||
|
||||
# force buttons to always be active. can add: playlist_prev,playlist_next
|
||||
buttons_always_active=none
|
||||
|
||||
# icon size for the play/pause button
|
||||
playpause_size=28
|
||||
# icon size for the middle buttons
|
||||
midbuttons_size=24
|
||||
# icon size for the side buttons
|
||||
sidebuttons_size=24
|
||||
|
||||
# show zoom controls in image viewer mode
|
||||
zoom_control=yes
|
||||
# maximum zoom in value
|
||||
zoom_in_max=4
|
||||
# minimum zoom out value
|
||||
zoom_out_min=-1
|
||||
|
||||
# Colors and style
|
||||
# accent color of the OSC and title bar
|
||||
osc_color=#000000
|
||||
# color of the title in borderless/fullscreen mode
|
||||
window_title_color=#FFFFFF
|
||||
# color of the window controls (close, minimize, maximize) in borderless/fullscreen mode
|
||||
window_controls_color=#FFFFFF
|
||||
# color of close window control on hover
|
||||
windowcontrols_close_hover=#F45C5B
|
||||
# color of maximize window controls on hover
|
||||
windowcontrols_max_hover=#F8BC3A
|
||||
# color of minimize window controls on hover
|
||||
windowcontrols_min_hover=#43CB44
|
||||
# color of the title (above seekbar)
|
||||
title_color=#FFFFFF
|
||||
# color of the cache information
|
||||
cache_info_color=#FFFFFF
|
||||
# color of the seekbar progress and handle
|
||||
seekbarfg_color=#FB8C00
|
||||
# color of the remaining seekbar
|
||||
seekbarbg_color=#94754F
|
||||
# color of the cache ranges on the seekbar
|
||||
seekbar_cache_color=#918F8E
|
||||
# match volume bar color with seekbar color (ignores side_buttons_color)
|
||||
volumebar_match_seek_color=no
|
||||
# color of the timestamps (below seekbar)
|
||||
time_color=#FFFFFF
|
||||
# color of the chapter title next to timestamp (below seekbar)
|
||||
chapter_title_color=#FFFFFF
|
||||
# color of the side buttons (audio, subtitles, playlist, etc.)
|
||||
side_buttons_color=#FFFFFF
|
||||
# color of the middle buttons (skip, jump, chapter, etc.)
|
||||
middle_buttons_color=#FFFFFF
|
||||
# color of the play/pause button
|
||||
playpause_color=#FFFFFF
|
||||
# color of the element when held down (pressed)
|
||||
held_element_color=#999999
|
||||
# color of a hovered button when hover_effect includes "color"
|
||||
hover_effect_color=#FB8C00
|
||||
# color of the border for thumbnails (with thumbfast)
|
||||
thumbnail_border_color=#111111
|
||||
# color of the border outline for thumbnails
|
||||
thumbnail_border_outline=#404040
|
||||
|
||||
# alpha of the OSC background box
|
||||
fade_alpha=130
|
||||
# blur strength for the OSC alpha fade. caution: high values can take a lot of CPU time to render
|
||||
fade_blur_strength=100
|
||||
# use with "fade_blur_strength=0" to create a transparency box
|
||||
fade_transparency_strength=0
|
||||
# alpha of the window title bar (0 to disable)
|
||||
window_fade_alpha=100
|
||||
# blur strength for the window title bar. caution: high values can take a lot of CPU time to render
|
||||
window_fade_blur_strength=100
|
||||
# use with "window_fade_blur_strength=0" to create a transparency box
|
||||
window_fade_transparency_strength=0
|
||||
# width of the thumbnail border (for thumbfast)
|
||||
thumbnail_border=3
|
||||
# rounded corner radius for thumbnail border (0 to disable)
|
||||
thumbnail_border_radius=3
|
||||
|
||||
# Button hover effects
|
||||
# active button hover effects: "glow", "size", "color"; can use multiple separated by commas
|
||||
hover_effect=size,glow,color
|
||||
# relative size of a hovered button if "size" effect is active
|
||||
hover_button_size=115
|
||||
# glow intensity when "glow" hover effect is active
|
||||
button_glow_amount=5
|
||||
# apply hover size effect to slider handle
|
||||
hover_effect_for_sliders=yes
|
||||
|
||||
# Tooltips and hints
|
||||
# enable tooltips for disabled buttons and elements
|
||||
tooltips_for_disabled_elements=yes
|
||||
# enable text hints for info, loop, ontop, and screenshot buttons
|
||||
tooltip_hints=yes
|
||||
|
||||
# Progress bar settings
|
||||
# size ratio of the seekbar handle (range: 0 ~ 1)
|
||||
seek_handle_size=0.8
|
||||
# show seek range overlay
|
||||
seekrange=yes
|
||||
# transparency of the seek range
|
||||
seekrangealpha=150
|
||||
# update chapter markers on the seekbar when duration changes
|
||||
livemarkers=yes
|
||||
# use keyframes when dragging the seekbar
|
||||
seekbarkeyframes=no
|
||||
# top chapter nibbles above seekbar
|
||||
nibbles_top=yes
|
||||
# bottom chapter nibbles below seekbar
|
||||
nibbles_bottom=yes
|
||||
# chapter nibble style. "triangle", "bar" or "single-bar"
|
||||
nibbles_style=triangle
|
||||
|
||||
# automatically set keyframes for the seekbar based on video length
|
||||
automatickeyframemode=yes
|
||||
# videos longer than this (in seconds) will have keyframes on the seekbar
|
||||
automatickeyframelimit=600
|
||||
|
||||
# always show a small progress line at the bottom of the screen
|
||||
persistentprogress=no
|
||||
# height of the persistent progress bar
|
||||
persistentprogressheight=17
|
||||
# show buffer status on web videos in the persistent progress line
|
||||
persistentbuffer=no
|
||||
|
||||
# Miscellaneous settings
|
||||
# only used at init to set visibility_mode(...)
|
||||
visibility=auto
|
||||
# visibility modes to cycle through, modes are separated by _
|
||||
visibility_modes=never_auto_always
|
||||
# minimum interval between OSC redraws (in seconds)
|
||||
tick_delay=0.03
|
||||
# use display FPS as the minimum redraw interval
|
||||
tick_delay_follow_display_fps=no
|
||||
|
||||
# Elements Position
|
||||
# Useful when adjusting font size or type
|
||||
|
||||
# title height position above seekbar
|
||||
title_height=96
|
||||
# title height position if a chapter title is below it
|
||||
title_with_chapter_height=108
|
||||
# chapter title height position above seekbar
|
||||
chapter_title_height=91
|
||||
# time codes height position
|
||||
time_codes_height=35
|
||||
# time codes height position with portrait window
|
||||
time_codes_centered_height=57
|
||||
# tooltip height position offset
|
||||
tooltip_height_offset=2
|
||||
# if tooltip contains many characters, it is moved to the left by offset
|
||||
tooltip_left_offset=5
|
||||
# portrait window width trigger to move some elements
|
||||
portrait_window_trigger=1000
|
||||
# hide volume bar trigger window width
|
||||
hide_volume_bar_trigger=1150
|
||||
# osc height offset if title above seekbar is disabled
|
||||
notitle_osc_h_offset=25
|
||||
# osc height offset if chapter title is disabled or doesn't exist
|
||||
nochapter_osc_h_offset=10
|
||||
# seek hover timecodes tooltip height position offset
|
||||
seek_hover_tooltip_h_offset=0
|
||||
# osc height without offsets
|
||||
osc_height=132
|
||||
|
||||
## Mouse commands
|
||||
## details: https://github.com/Samillion/ModernZ#mouse-commands-user-options
|
||||
|
||||
# title above seekbar mouse actions
|
||||
title_mbtn_left_command=script-binding stats/display-page-5
|
||||
title_mbtn_mid_command=show-text ${path}
|
||||
title_mbtn_right_command=script-binding select/select-watch-history; script-message-to modernz osc-hide
|
||||
|
||||
# playlist button mouse actions
|
||||
playlist_mbtn_left_command=script-binding select/menu; script-message-to modernz osc-hide
|
||||
playlist_mbtn_right_command=script-binding select/select-playlist; script-message-to modernz osc-hide
|
||||
|
||||
# volume mouse actions
|
||||
vol_ctrl_mbtn_left_command=no-osd cycle mute
|
||||
vol_ctrl_mbtn_right_command=script-binding select/select-audio-device; script-message-to modernz osc-hide
|
||||
vol_ctrl_wheel_down_command=no-osd add volume -5
|
||||
vol_ctrl_wheel_up_command=no-osd add volume 5
|
||||
|
||||
# audio button mouse actions
|
||||
audio_track_mbtn_left_command=script-binding select/select-aid; script-message-to modernz osc-hide
|
||||
audio_track_mbtn_mid_command=cycle audio down
|
||||
audio_track_mbtn_right_command=cycle audio
|
||||
audio_track_wheel_down_command=cycle audio
|
||||
audio_track_wheel_up_command=cycle audio down
|
||||
|
||||
# subtitle button mouse actions
|
||||
sub_track_mbtn_left_command=script-binding select/select-sid; script-message-to modernz osc-hide
|
||||
sub_track_mbtn_mid_command=cycle sub down
|
||||
sub_track_mbtn_right_command=cycle sub
|
||||
sub_track_wheel_down_command=cycle sub
|
||||
sub_track_wheel_up_command=cycle sub down
|
||||
|
||||
# chapter skip buttons mouse actions
|
||||
chapter_prev_mbtn_left_command=add chapter -1
|
||||
chapter_prev_mbtn_mid_command=show-text ${chapter-list} 3000
|
||||
chapter_prev_mbtn_right_command=script-binding select/select-chapter; script-message-to modernz osc-hide
|
||||
|
||||
chapter_next_mbtn_left_command=add chapter 1
|
||||
chapter_next_mbtn_mid_command=show-text ${chapter-list} 3000
|
||||
chapter_next_mbtn_right_command=script-binding select/select-chapter; script-message-to modernz osc-hide
|
||||
|
||||
# chapter title (below seekbar) mouse actions
|
||||
chapter_title_mbtn_left_command=script-binding select/select-chapter; script-message-to modernz osc-hide
|
||||
chapter_title_mbtn_right_command=show-text ${chapter-list} 3000
|
||||
|
||||
# playlist skip buttons mouse actions
|
||||
playlist_prev_mbtn_left_command=playlist-prev
|
||||
playlist_prev_mbtn_mid_command=show-text ${playlist} 3000
|
||||
playlist_prev_mbtn_right_command=script-binding select/select-playlist; script-message-to modernz osc-hide
|
||||
|
||||
playlist_next_mbtn_left_command=playlist-next
|
||||
playlist_next_mbtn_mid_command=show-text ${playlist} 3000
|
||||
playlist_next_mbtn_right_command=script-binding select/select-playlist; script-message-to modernz osc-hide
|
||||
|
||||
# fullscreen button mouse actions
|
||||
fullscreen_mbtn_left_command=cycle fullscreen
|
||||
fullscreen_mbtn_right_command=cycle window-maximized
|
||||
|
||||
# info button mouse actions
|
||||
info_mbtn_left_command=script-binding stats/display-page-1-toggle
|
||||
@@ -1,49 +0,0 @@
|
||||
# Automatically generate the thumbnails on video load, without a keypress
|
||||
autogenerate=no
|
||||
|
||||
# 1 hour, Only automatically thumbnail videos shorter than this (seconds)
|
||||
autogenerate_max_duration=3600
|
||||
|
||||
# SHA1-sum filenames over this length
|
||||
# It's nice to know what files the thumbnails are (hence directory names)
|
||||
# but long URLs may approach filesystem limits.
|
||||
hash_filename_length=128
|
||||
|
||||
# Use mpv to generate thumbnail even if ffmpeg is found in PATH
|
||||
# ffmpeg does not handle ordered chapters (MKVs which rely on other MKVs)!
|
||||
# mpv is a bit slower, but has better support overall (eg. subtitles in the previews)
|
||||
prefer_mpv=yes
|
||||
|
||||
# Disable the built-in keybind ("T") to add your own
|
||||
disable_keybinds=no
|
||||
|
||||
# The thumbnail count target
|
||||
# (This will result in a thumbnail every ~10 seconds for a 25 minute video)
|
||||
thumbnail_count=150
|
||||
|
||||
# The above target count will be adjusted by the minimum and
|
||||
# maximum time difference between thumbnails.
|
||||
# The thumbnail_count will be used to calculate a target separation,
|
||||
# and min/max_delta will be used to constrict it.
|
||||
|
||||
# In other words, thumbnails will be:
|
||||
# at least min_delta seconds apart (limiting the amount)
|
||||
# at most max_delta seconds apart (raising the amount if needed)
|
||||
min_delta=5
|
||||
# 120 seconds aka 2 minutes will add more thumbnails when the video is over 5 hours!
|
||||
max_delta=90
|
||||
|
||||
|
||||
# Overrides for remote urls (you generally want less thumbnails!)
|
||||
# Thumbnailing network paths will be done with mpv
|
||||
|
||||
# Allow thumbnailing network paths (naive check for "://")
|
||||
thumbnail_network=no
|
||||
# Override thumbnail count, min/max delta
|
||||
remote_thumbnail_count=60
|
||||
remote_min_delta=15
|
||||
remote_max_delta=120
|
||||
|
||||
# Try to grab the raw stream and disable ytdl for the mpv subcalls
|
||||
# Much faster than passing the url to ytdl again, but may cause problems with some sites
|
||||
remote_direct_stream=yes
|
||||
@@ -1,22 +0,0 @@
|
||||
# Timestamp
|
||||
# Display total time instead of remaining time
|
||||
timetotal=yes
|
||||
# Display timecodes with milliseconds
|
||||
timems=no
|
||||
|
||||
# Whether to display the chapters/playlist at the OSD when left-clicking the next/previous OSC buttons, respectively.
|
||||
playlist_osd=yes
|
||||
chapters_osd=yes
|
||||
|
||||
# Duration of fade out in ms, 0 = no fade
|
||||
fadeduration=200
|
||||
|
||||
# Minimum amount of pixels the mouse has to move between ticks to make the OSC show up. Default pre-0.21.0 was 3.
|
||||
minmousemove=0
|
||||
|
||||
# auto=hide/show on mouse move
|
||||
# Also supports never and always
|
||||
visibility=auto
|
||||
|
||||
# Use a Unicode minus sign instead of an ASCII hyphen when displaying the remaining playback time.
|
||||
unicodeminus=no
|
||||
@@ -1,169 +0,0 @@
|
||||
#### ------- Mpv-Playlistmanager configuration ------- ####
|
||||
|
||||
#navigation keybindings force override only while playlist is visible
|
||||
#if "no" then you can display the playlist by any of the navigation keys
|
||||
dynamic_binds=yes
|
||||
|
||||
# To bind multiple keys separate them by a space
|
||||
|
||||
# main key to show playlist
|
||||
key_showplaylist=SHIFT+ENTER
|
||||
|
||||
# display playlist while key is held down
|
||||
key_peek_at_playlist=
|
||||
|
||||
# dynamic keys
|
||||
key_moveup=UP
|
||||
key_movedown=DOWN
|
||||
key_movepageup=PGUP
|
||||
key_movepagedown=PGDWN
|
||||
key_movebegin=HOME
|
||||
key_moveend=END
|
||||
key_selectfile=RIGHT LEFT
|
||||
key_unselectfile=
|
||||
key_playfile=ENTER
|
||||
key_removefile=BS
|
||||
key_closeplaylist=ESC SHIFT+ENTER
|
||||
|
||||
# extra functionality keys
|
||||
key_sortplaylist=
|
||||
key_shuffleplaylist=
|
||||
key_reverseplaylist=
|
||||
key_loadfiles=
|
||||
key_saveplaylist=
|
||||
|
||||
#json format for replacing, check .lua for explanation
|
||||
#example json=[{"ext":{"all":true},"rules":[{"_":" "}]},{"ext":{"mp4":true,"mkv":true},"rules":[{"^(.+)%..+$":"%1"},{"%s*[%[%(].-[%]%)]%s*":""},{"(%w)%.(%w)":"%1 %2"}]},{"protocol":{"http":true,"https":true},"rules":[{"^%a+://w*%.?":""}]}]
|
||||
#empty for no replace
|
||||
filename_replace=[{"protocol":{"all":true},"rules":[{"%%(%x%x)":"hex_to_char"}]}]
|
||||
|
||||
#filetypes to search from directory
|
||||
loadfiles_filetypes=["jpg","jpeg","png","tif","tiff","gif","webp","svg","bmp","mp3","wav","ogm","flac","m4a","wma","ogg","opus","mkv","avi","mp4","ogv","webm","rmvb","flv","wmv","mpeg","mpg","m4v","3gp"]
|
||||
|
||||
#loadfiles at startup if 1 or more items in playlist
|
||||
loadfiles_on_start=no
|
||||
#loadfiles from working directory on idle startup
|
||||
loadfiles_on_idle_start=no
|
||||
#always put loaded files after currently playing file
|
||||
loadfiles_always_append=no
|
||||
|
||||
#sort playlist when any files are added to playlist after initial load
|
||||
sortplaylist_on_file_add=no
|
||||
|
||||
#default sorting method, must be one of: "name-asc", "name-desc", "date-asc", "date-desc", "size-asc", "size-desc".
|
||||
default_sort=name-asc
|
||||
|
||||
#linux | windows | auto
|
||||
system=auto
|
||||
|
||||
#Use ~ for home directory. Leave as empty to use mpv/playlists
|
||||
playlist_savepath=
|
||||
|
||||
#constant filename to save playlist as. Note that it will override existing playlist. Leave empty for generated name.
|
||||
playlist_save_filename=
|
||||
|
||||
#save playlist automatically after current file was unloaded
|
||||
save_playlist_on_file_end=no
|
||||
|
||||
#show file title every time a new file is loaded
|
||||
show_title_on_file_load=no
|
||||
#show playlist every time a new file is loaded
|
||||
show_playlist_on_file_load=no
|
||||
#close playlist when selecting file to play
|
||||
close_playlist_on_playfile=no
|
||||
|
||||
#sync cursor when file is loaded from outside reasons(file-ending, playlist-next shortcut etc.)
|
||||
sync_cursor_on_load=yes
|
||||
|
||||
#allow the playlist cursor to loop from end to start and vice versa
|
||||
loop_cursor=yes
|
||||
|
||||
#allow playlistmanager to write watch later config when navigating between files
|
||||
allow_write_watch_later_config=yes
|
||||
|
||||
#reset cursor navigation when closing or opening playlist
|
||||
reset_cursor_on_close=yes
|
||||
reset_cursor_on_open=yes
|
||||
|
||||
#prefer to display titles for following files: "all", "url", "none". Sorting still uses filename
|
||||
prefer_titles=url
|
||||
|
||||
#youtube-dl executable for title resolving if enabled, probably "youtube-dl" or "yt-dlp", can be absolute path
|
||||
youtube_dl_executable=yt-dlp
|
||||
|
||||
#call youtube-dl to resolve the titles of urls in the playlist
|
||||
#if yes, prefer_titles must be set to "url" or "all" for this to work
|
||||
resolve_url_titles=no
|
||||
|
||||
#call ffprobe to resolve the titles of local files in the playlist (if they exist in the metadata)
|
||||
#if yes, prefer_titles must be set to "all" for this to work
|
||||
resolve_local_titles=no
|
||||
|
||||
#timeout in seconds for url title resolving
|
||||
resolve_title_timeout=15
|
||||
|
||||
#how many url titles can be resolved at a time. Higher number might lead to stutters.
|
||||
concurrent_title_resolve_limit=10
|
||||
|
||||
#osd timeout on inactivity in seconds, use 0 for no timeout
|
||||
playlist_display_timeout=0
|
||||
|
||||
#when peeking at playlist, show playlist at the very least for display timeout
|
||||
peek_respect_display_timeout=no
|
||||
|
||||
#the maximum amount of lines playlist will render. -1 will automatically calculate lines.
|
||||
showamount=-1
|
||||
|
||||
#playlist ass style overrides
|
||||
#example {\q2\an7\fnUbuntu\fs10\b0\bord1} equals: line-wrap=no, align=top left, font=Ubuntu, size=10, bold=no, border=1
|
||||
#read http://docs.aegisub.org/3.2/ASS_Tags/ for reference of tags
|
||||
#undeclared tags will use default osd settings
|
||||
#these styles will be used for the whole playlist
|
||||
#\q2 style is recommended since filename wrapping may lead to unexpected rendering
|
||||
#\an7 style is recommended to align to top left, otherwise osd-align-x/y is respected
|
||||
style_ass_tags={\q2\an7}
|
||||
#paddings for left right and top bottom
|
||||
text_padding_x=30
|
||||
text_padding_y=60
|
||||
|
||||
#screen dim when menu is open 0.0 - 1.0 (0 is no dim, 1 is black)
|
||||
curtain_opacity=0.7
|
||||
|
||||
#set title of window with stripped name
|
||||
set_title_stripped=no
|
||||
title_prefix=
|
||||
title_suffix= - mpv
|
||||
|
||||
#slice long filenames, and how many chars to show
|
||||
slice_longfilenames=no
|
||||
slice_longfilenames_amount=70
|
||||
|
||||
#Playing header. One newline will be added after the string.
|
||||
#%mediatitle or %filename = title or name of playing file
|
||||
#%pos = position of playing file
|
||||
#%cursor = position of navigation
|
||||
#%plen = playlist lenght
|
||||
#%N = newline
|
||||
playlist_header=[%cursor/%plen]
|
||||
|
||||
#Playlist file templates
|
||||
#%pos = position of file with leading zeros
|
||||
#%name = title or name of file
|
||||
#%N = newline
|
||||
#you can also use the ass tags mentioned above. For example:
|
||||
# selected_file={\c&HFF00FF&}➔ %name | to add a color for selected file. However, if you
|
||||
# use ass tags you need to reset them for every line (see https://github.com/jonniek/mpv-playlistmanager/issues/20)
|
||||
normal_file={\c&HEEECE8&}○ %name
|
||||
hovered_file={\c&H33FFFF&}● %name
|
||||
selected_file={\c&HFF00FF&}➔ %name
|
||||
playing_file={\c&H91ff4c&}▷ %name
|
||||
playing_hovered_file={\c&H00FF00&}▶ %name
|
||||
playing_selected_file={\c&Hff9ad3&}➤ %name
|
||||
|
||||
#what to show when playlist is truncated
|
||||
playlist_sliced_prefix=...
|
||||
playlist_sliced_suffix=...
|
||||
|
||||
#output visual feedback to OSD when saving, shuffling, reversing playlists
|
||||
display_osd_feedback=yes
|
||||
|
||||
@@ -1,54 +0,0 @@
|
||||
### Config
|
||||
showPictureInPictureButton=yes
|
||||
showSpeedButton=yes
|
||||
# Show name and shortcut of buttons on hover
|
||||
showShortcutTooltip=yes
|
||||
# Show chapter above timestamp in seekbar tooltip
|
||||
showChapterTooltip=yes
|
||||
# skipback/skipfrwd amount in seconds
|
||||
skipBy=5
|
||||
# RightClick skipback/skipfrwd amount in seconds
|
||||
skipByMore=30
|
||||
# "exact" (mordenx default) or "relative+keyframes" (mpv default)
|
||||
skipMode=exact
|
||||
# PictureInPicture 33% screen width, 10px from bottom right
|
||||
pipGeometry=33%+-10+-10
|
||||
# PictureInPicture will show video on all virtual desktops
|
||||
pipAllWorkspaces=yes
|
||||
|
||||
### Sizes
|
||||
# 16:9 video thumbnail = 256x144
|
||||
thumbnailSize=256
|
||||
seekbarHeight=20
|
||||
controlsHeight=64
|
||||
buttonTooltipSize=20
|
||||
windowBarHeight=44
|
||||
windowButtonSize=44
|
||||
windowTitleSize=24
|
||||
cacheTextSize=20
|
||||
timecodeSize=27
|
||||
seekbarTimestampSize=30
|
||||
seekbarTimestampOutline=1
|
||||
chapterTickSize=6
|
||||
windowTitleOutline=1
|
||||
|
||||
### Colors (uses GGBBRR for some reason)
|
||||
### Alpha ranges 0 (opaque) .. 255 (transparent)
|
||||
textColor=FFFFFF
|
||||
buttonColor=CCCCCC
|
||||
buttonHoveredColor=FFFFFF
|
||||
buttonHoveredRectColor=000000
|
||||
# Easily debug button geometry by setting buttonHoveredRectAlpha to 80
|
||||
buttonHoveredRectAlpha=255
|
||||
tooltipColor=CCCCCC
|
||||
windowBarColor=000000
|
||||
# windowBarAlpha (80 is mpv default) (255 morden default)
|
||||
windowBarAlpha=255
|
||||
windowButtonColor=CCCCCC
|
||||
closeButtonHoveredColor=1111DD
|
||||
seekbarHandleColor=FFFFFF
|
||||
seekbarFgColor=483DD7
|
||||
seekbarBgColor=929292
|
||||
seekbarCacheColor=000000
|
||||
seekbarCacheAlpha=128
|
||||
chapterTickColor=CCCCCC
|
||||
17
mpv/script-opts/thumbfast.conf
Normal file
17
mpv/script-opts/thumbfast.conf
Normal file
@@ -0,0 +1,17 @@
|
||||
# This is configuration file for thumbfast.lua
|
||||
# The default options are listed in thumbfast.lua
|
||||
|
||||
# Maximum thumbnail size in pixels (scaled down to fit)
|
||||
# Values are scaled when hidpi is enabled
|
||||
max_height=250
|
||||
max_width=250
|
||||
|
||||
# Spawn thumbnailer on file load for faster initial thumbnails
|
||||
spawn_first=yes
|
||||
|
||||
# Enable on network playback
|
||||
# This allows thumbnailing in videos played over network, e.g. YouTube
|
||||
network=yes
|
||||
|
||||
# Enable hardware decoding
|
||||
hwdec=yes
|
||||
Reference in New Issue
Block a user