forked from zydezu/ModernX
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathosc.conf
82 lines (77 loc) · 5.63 KB
/
osc.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
-- Parameters
-- default user option values
-- may change them in osc.conf
local user_opts = {
-- general settings --
language = 'en', -- en:English, chs:Chinese, pl:Polish, jp:Japanese
#welcomescreen = true, -- show the mpv 'play files' screen upon open
#windowcontrols = 'auto', -- whether to show OSC window controls, 'auto', 'yes' or 'no'
#showwindowed = true, -- show OSC when windowed?
#showfullscreen = true, -- show OSC when fullscreen?
#noxmas = false, -- disable santa hat in December
-- scaling settings --
vidscale = true, -- whether to scale the controller with the video
#scalewindowed = 1.0, -- scaling of the controller when windowed
#scalefullscreen = 1.0, -- scaling of the controller when fullscreen
#scaleforcedwindow = 1.0, -- scaling when rendered on a forced window
-- interface settings --
#hidetimeout = 2000, -- duration in ms until OSC hides if no mouse movement
#fadeduration = 150, -- duration of fade out in ms, 0 = no fade
#minmousemove = 0, -- amount of pixels the mouse has to move for OSC to show
#scrollingSpeed = 40, -- the speed of scrolling text in menus
#showonpause = true, -- whether to show to osc when paused
#donttimeoutonpause = false, -- whether to disable the hide timeout on pause
#bottomhover = true, -- if the osc should only display when hovering at the bottom
#raisesubswithosc = true, -- whether to raise subtitles above the osc when it's shown
#thumbnailborder = 2, -- the width of the thumbnail border
#persistentprogress = false, -- always show a small progress line at the bottom of the screen
#persistentbuffer = false, -- on web videos, show the buffer on the persistent progress line
-- title and chapter settings --
#showtitle = true, -- show title in OSC
#showdescription = true, -- show video description on web videos
showwindowtitle = false, -- show window title in borderless/fullscreen mode
titleBarStrip = false, -- whether to make the title bar a singular bar instead of a black fade
#title = '${media-title}', -- title shown on OSC - turn off dynamictitle for this option to apply
#dynamictitle = true, -- change the title depending on if {media-title} and {filename}
-- differ (like with playing urls, audio or some media)
#font = 'mpv-osd-symbols', -- default osc font
-- to be shown as OSC title
#titlefontsize = 28, -- the font size of the title text
#chapterformat = 'Chapter: %s', -- chapter print format for seekbar-hover. "no" to disable
#dateformat = "%Y-%m-%d", -- how dates should be formatted, when read from metadata
-- (uses standard lua date formatting)
#osc_color = '000000', -- accent of the OSC and the title bar
#OSCfadealpha = 150, -- alpha of the background box for the OSC
#boxalpha = 75, -- alpha of the window title bar
#descriptionBoxAlpha = 100, -- alpha of the description background box
-- seekbar settings --
#seekbarfg_color = 'E39C42', -- color of the seekbar progress and handle
#seekbarbg_color = 'FFFFFF', -- color of the remaining seekbar
#seekbarkeyframes = false, -- use keyframes when dragging the seekbar
#seekbarhandlesize = 0.8, -- size ratio of the slider handle, range 0 ~ 1
#seekrange = true, -- show seekrange overlay
#seekrangealpha = 150, -- transparency of seekranges
#iconstyle = 'round', -- icon style, 'solid' or 'round'
#hovereffect = true, -- whether buttons have a glowing effect when hovered over
-- button settings --
#timetotal = true, -- display total time instead of remaining time by default
#timems = false, -- show time as milliseconds by default
#timefontsize = 17, -- the font size of the time
#jumpamount = 5, -- change the jump amount (in seconds by default)
#jumpiconnumber = true, -- show different icon when jumpamount is 5, 10, or 30
#jumpmode = 'exact', -- seek mode for jump buttons. e.g.
-- 'exact', 'relative+keyframes', etc.
#volumecontrol = true, -- whether to show mute button and volume slider
#volumecontroltype = 'linear', -- use linear or logarithmic volume scale
#showjump = true, -- show "jump forward/backward 5 seconds" buttons
#showskip = true, -- show the skip back and forward (chapter) buttons
compactmode = false, -- replace the jump buttons with the chapter buttons, clicking the
-- buttons will act as jumping, and shift clicking will act as
-- skipping a chapter
#showloop = false, -- show the loop button
#loopinpause = true, -- activate looping by right clicking pause
#showontop = true, -- show window on top button
showinfo = true, -- show the info button
#downloadbutton = true, -- show download button for web videos
#ytdlpQuality = '-S res,ext:mp4:m4a' -- what quality of video the download button uses (max quality mp4 by default)
}