summaryrefslogtreecommitdiffstats
path: root/.config/mpv/script-opts/quality-menu.conf
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.config/mpv/script-opts/quality-menu.conf (renamed from .config/mpv/quality-menu.conf)17
1 files changed, 9 insertions, 8 deletions
diff --git a/.config/mpv/quality-menu.conf b/.config/mpv/script-opts/quality-menu.conf
index a5654f8..8b34f7e 100644
--- a/.config/mpv/quality-menu.conf
+++ b/.config/mpv/script-opts/quality-menu.conf
@@ -7,7 +7,7 @@ down_binding=DOWN WHEEL_DOWN
# select menu entry
select_binding=ENTER MBTN_LEFT
# close menu
-close_menu_binding=ESC MBTN_RIGHT F Alt+f
+close_menu_binding=ESC MBTN_RIGHT
# youtube-dl version(could be youtube-dl or yt-dlp, or something else)
ytdl_ver=yt-dlp
@@ -49,11 +49,8 @@ menu_timeout=6
fetch_formats=yes
# list of ytdl-format strings to choose from
-quality_strings=[ {"4320p" : "bestvideo[height<=?4320p]+bestaudio/best"}, {"2160p" : "bestvideo[height<=?2160]+bestaudio/best"}, {"1440p" : "bestvideo[height<=?1440]+bestaudio/best"}, {"1080p" : "bestvideo[height<=?1080]+bestaudio/best"}, {"720p" : "bestvideo[height<=?720]+bestaudio/best"}, {"480p" : "bestvideo[height<=?480]+bestaudio/best"}, {"360p" : "bestvideo[height<=?360]+bestaudio/best"}, {"240p" : "bestvideo[height<=?240]+bestaudio/best"}, {"144p" : "bestvideo[height<=?144]+bestaudio/best"} ]
-
-# reset youtube-dl format to the original format string when changing files (e.g. going to the next playlist entry)
-# if file was opened previously, reset to previously selected format
-reset_format=yes
+quality_strings_video=[ {"4320p" : "bestvideo[height<=?4320p]"}, {"2160p" : "bestvideo[height<=?2160]"}, {"1440p" : "bestvideo[height<=?1440]"}, {"1080p" : "bestvideo[height<=?1080]"}, {"720p" : "bestvideo[height<=?720]"}, {"480p" : "bestvideo[height<=?480]"}, {"360p" : "bestvideo[height<=?360]"}, {"240p" : "bestvideo[height<=?240]"}, {"144p" : "bestvideo[height<=?144]"} ]
+quality_strings_audio=[ {"default" : "bestaudio"} ]
# automatically fetch available formats when opening an url
fetch_on_start=yes
@@ -74,6 +71,10 @@ hide_identical_columns=yes
# which columns are shown in which order
# comma separated list, prefix column with "-" to align left
#
+# for the uosc integration it is possible to split the text up into a title and a hint
+# this is done by separating two columns with a "|" instead of a comma
+# column order in the hint is reversed
+#
# columns that might be useful are:
# resolution, width, height, fps, dynamic_range, tbr, vbr, abr, asr,
# filesize, filesize_approx, vcodec, acodec, ext, video_ext, audio_ext,
@@ -90,8 +91,8 @@ hide_identical_columns=yes
#
# Not all videos have all columns available.
# Be careful, misspelled columns simply won't be displayed, there is no error.
-columns_video=-resolution,frame_rate,dynamic_range,language,bitrate_total,size,-codec_video,-codec_audio
-columns_audio=audio_sample_rate,bitrate_total,size,language,-codec_audio
+columns_video=-resolution,frame_rate,dynamic_range|language,bitrate_total,size,-codec_video,-codec_audio
+columns_audio=audio_sample_rate,bitrate_total|size,language,-codec_audio
# columns used for sorting, see "columns_video" for available columns
# comma separated list, prefix column with "-" to reverse sorting order