You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm blocked on that repository..must've done or said something bad...honestly can't remember. Anyway someone please pass this along. For those who want to add chapters automatically to the history modify the following lines in memo.lua
(sidenote: also added chapter names automatically to mpv-bookmarker.lua recently)
append this one local chaptername = mp.get_property("chapter-metadata/title") or ""
local title_length = #title
change to local title_length = #title + #chaptername + 2
local entry = timestamp .. "," .. (title_length > 0 and title_length or "") .. "," .. title .. "," .. full_path
change to local entry = timestamp .. "," .. (title_length > 0 and title_length or "") .. "," .. title .. " #" .. chaptername .. "," .. full_path
Also this is good to keep memo history loading up fast just keep last 555 lines (as those are the most recent) in uosc input.conf
# run "bin/bash" "-c" "cd ~/.config/mpv; cat memo-history.log | tail -n 555 > memo.log ;rm memo-history.log; mv memo.log memo-history.log";show-text "Trimmed ~/.config/mpv/memo-history.log to 555 lines to speed up opening History memo" #! [History Chapters Bookmarks] > Trim History log if slow to open
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm blocked on that repository..must've done or said something bad...honestly can't remember. Anyway someone please pass this along. For those who want to add chapters automatically to the history modify the following lines in memo.lua
(sidenote: also added chapter names automatically to mpv-bookmarker.lua recently)
append this one
local chaptername = mp.get_property("chapter-metadata/title") or ""
local title_length = #title
change to
local title_length = #title + #chaptername + 2
local entry = timestamp .. "," .. (title_length > 0 and title_length or "") .. "," .. title .. "," .. full_path
change to
local entry = timestamp .. "," .. (title_length > 0 and title_length or "") .. "," .. title .. " #" .. chaptername .. "," .. full_path
Also this is good to keep memo history loading up fast just keep last 555 lines (as those are the most recent) in uosc input.conf
# run "bin/bash" "-c" "cd ~/.config/mpv; cat memo-history.log | tail -n 555 > memo.log ;rm memo-history.log; mv memo.log memo-history.log";show-text "Trimmed ~/.config/mpv/memo-history.log to 555 lines to speed up opening History memo" #! [History Chapters Bookmarks] > Trim History log if slow to open
Beta Was this translation helpful? Give feedback.
All reactions