dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

youtube-quality.conf (1879B)


      1 # KEY BINDINGS
      2 
      3 # invoke or dismiss the quality menu
      4 toggle_menu_binding=ctrl+f
      5 # move the menu cursor up
      6 up_binding=UP
      7 # move the menu cursor down
      8 down_binding=DOWN
      9 # select menu entry
     10 select_binding=ENTER
     11 
     12 # formatting / cursors
     13 selected_and_active=▶ -
     14 selected_and_inactive=● -
     15 unselected_and_active=▷ -
     16 unselected_and_inactive=○ -
     17 
     18 # font size scales by window, if false requires larger font and padding sizes
     19 scale_playlist_by_window=yes
     20 
     21 # playlist ass style overrides inside curly brackets, \keyvalue is one field, extra \ for escape in lua
     22 # example {\\fnUbuntu\\fs10\\b0\\bord1} equals: font=Ubuntu, size=10, bold=no, border=1
     23 # read http://docs.aegisub.org/3.2/ASS_Tags/ for reference of tags
     24 # undeclared tags will use default osd settings
     25 # these styles will be used for the whole playlist. More specific styling will need to be hacked in
     26 #
     27 # (a monospaced font is recommended but not required)
     28 style_ass_tags={\\fnmonospace}
     29 
     30 # paddings for top left corner
     31 text_padding_x=5
     32 text_padding_y=5
     33 
     34 # how many seconds until the quality menu times out
     35 menu_timeout=10
     36 
     37 #use youtube-dlc to fetch a list of available formats (overrides quality_strings)
     38 fetch_formats=yes
     39 
     40 # list of ytdl-format strings to choose from
     41 quality_strings=[ {"4320p" : "bestvideo[height<=?4320]+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"} ]
     42 
     43 # default settings for ytdl. mpv.conf shouldn't contain ytdl-format settings as it conflicts with this script
     44 ytdl_format=bestvideo+bestaudio/best