major springcleaning

This commit is contained in:
2023-10-12 15:12:12 +02:00
parent 648a010f64
commit 98b48cb97b
332 changed files with 6708 additions and 10208 deletions

View File

@ -61,8 +61,8 @@ j no-osd seek -5 exact # seek exactly 5 seconds backward
#Alt+right add video-pan-x -0.1 # move the video left
#Alt+up add video-pan-y 0.1 # move the video down
#Alt+down add video-pan-y -0.1 # move the video up
#Alt++ add video-zoom 0.1 # zoom in
#Alt+- add video-zoom -0.1 # zoom out
Alt++ add video-zoom 0.1 # zoom in
Alt+- add video-zoom -0.1 # zoom out
#Alt+BS set video-zoom 0 ; set video-pan-x 0 ; set video-pan-y 0 # reset zoom and pan settings
#PGUP add chapter 1 # seek to the next chapter
#PGDWN add chapter -1 # seek to the previous chapter
@ -157,7 +157,8 @@ j no-osd seek -5 exact # seek exactly 5 seconds backward
#ctrl+w quit
#E cycle edition # switch edition
#l ab-loop # set/clear A-B loop points
#L cycle-values loop-file "inf" "no" # toggle infinite looping
ctrl+l cycle-values loop-playlist yes no ; show-text "${?=loop-playlist==inf:Playlist looping enabled}${?=loop-playlist==no:Playlist looping disabled}"
L cycle-values loop-file "inf" "no" # toggle infinite looping
#ctrl+c quit 4
#DEL script-binding osc/visibility # cycle OSC visibility between never, auto (mouse-move) and always
#ctrl+h cycle-values hwdec "auto" "no" # toggle hardware decoding

View File

@ -17,7 +17,7 @@ cursor_selected=● -
cursor_unselected=○ -
# font size scales by window, if false requires larger font and padding sizes
scale_playlist_by_window=no
scale_playlist_by_window=yes
# playlist ass style overrides inside curly brackets, \keyvalue is one field, extra \ for escape in lua
# example {\\fnUbuntu\\fs10\\b0\\bord1} equals: font=Ubuntu, size=10, bold=no, border=1
@ -54,4 +54,4 @@ check_certificate=yes
# If you don't set this, the script may create a cookie file for you
# For example "C:\\Users\\Username\\cookies.txt"
# Or "C:/Users/Username/cookies.txt"
#cookies=cookies.txt
#cookies=cookies.txt

View File

@ -0,0 +1,3 @@
local mpv_config_dir_path = require("mp").command_native({"expand-path", "~~/"})
function load(relative_path) dofile(mpv_config_dir_path .. "/script_modules/" .. relative_path) end
load("mpvSockets/mpvSockets.lua")

View File

@ -0,0 +1 @@
/usr/lib/mpv/sponsorblock-minimal.lua

View File

@ -33,7 +33,7 @@ local opts = {
cursor_unselected = "",
--font size scales by window, if false requires larger font and padding sizes
scale_playlist_by_window=false,
scale_playlist_by_window=true,
--playlist ass style overrides inside curly brackets, \keyvalue is one field, extra \ for escape in lua
--example {\\fnUbuntu\\fs10\\b0\\bord1} equals: font=Ubuntu, size=10, bold=no, border=1
@ -225,6 +225,7 @@ local function get_invidious(url)
label=v.title .. " - " .. v.author,
file=string.format(opts.youtube_url, v.videoId)
})
msg.verbose(v.author)
end
mp.osd_message("upnext fetch from Invidious succeeded", 10)
return res