Skip to content

Instantly share code, notes, and snippets.

@Abject-Web
Abject-Web / excessive-history.lua
Last active March 17, 2024 10:49 — forked from garoto/mpvhistory.lua
Excessive played media logger (Lua script for mpv). Logs file name, time, and which parts were played. Will generate a `history.txt` in the mpv config folder. Only tested on Windows.
-- Forked from https://gist.github.com/garoto/e0eb539b210ee077c980e01fb2daef4a.
-- Only tested on Windows. Date is set to dd/mmm/yyyy and time to machine-wide format.
-- Save as "excessive-history.lua" in your mpv scripts dir. Log will be saved to same folder as mpv.conf.
-- Make sure to leave a comment if you make any improvements/changes to the script!
-- Not much testing has been done.
-- *Changes made from original*
-- logs only path, no title
-- logs to where mpv.conf is