GitPedia
TheAMM

TheAMM/mpv_thumbnail_script

A Lua script to show preview thumbnails in mpv's OSC seekbar, sans external dependencies

10 Releases
Latest: 8y ago
v0.4.20.4.2Latest
TheAMMTheAMM·8y ago·February 7, 2018
GitHub

📋 Changes

  • Pass current headers, user-agent and referrer to worker-mpvs. Fixes network paths that rely on, say, cookies (#14)
v0.4.10.4.1
TheAMMTheAMM·8y ago·January 7, 2018
GitHub

📋 Changes

  • Handle filter-chain changes properly (ie. don't assume `video-dec-params` changing means a new file) - #11
  • Try to wait for workers a bit longer in case we have none when starting the jobs
  • More `msg.debug` prints!
v0.4.0 - Better feels, padder looks0.4.0
TheAMMTheAMM·8y ago·January 3, 2018
GitHub

📋 Changes

  • Improved thumbnail feel - read 2da8546 and #7 for details. In short, the thumbnail timestamp is adjusted slightly so that the visible thumbnail is not already a past event if seeked on.
  • Allow hiding the generation progress
  • Thumbnail vertical offset and background padding, user-configurable:
  • Updated `patched_osc.lua` to match upstream (cache display changes), and patched in some newer helper functions for older mpv versions.
  • Fix thumbnail jumping horizontally near seekbar center by using raw mouse position
v0.3.40.3.4
TheAMMTheAMM·8y ago·December 19, 2017
GitHub

📋 Changes

  • Work around extremely long EDL paths (#8) when need be.
v0.3.30.3.3
TheAMMTheAMM·8y ago·December 18, 2017
GitHub

📋 Changes

  • sha256.lua not working on Lua 5.1 (#6). Replaced with another sha1 implementation.
v0.3.20.3.2
TheAMMTheAMM·8y ago·December 18, 2017
GitHub

📋 Changes

  • Hash overlong long filenames (urls). You can adjust the length in options under `hash_filename_length`, default 128 characters. #5
v0.3.10.3.1
TheAMMTheAMM·8y ago·December 8, 2017
GitHub

📋 Changes

  • Logfiles for the mpv sub-calls. which are automatically removed on success and kept for failures.
  • Some extra options for disabling the sub-mpv config or forcing a profile. See [`options.lua`](https://github.com/TheAMM/mpv_thumbnail_script/blob/master/src/options.lua) for all available script options.
v0.3.0 - Multiple worker threads!0.3.0
TheAMMTheAMM·8y ago·December 6, 2017
GitHub

📋 Changes

  • *Multiple worker threads!* Read the updated [Configuration](https://github.com/TheAMM/mpv_thumbnail_script#configuration) or just read here:
  • Display active thumbnailing jobs in the progress display (vague green):
  • Allow disabling subtitles when using mpv for thumbnailing (`mpv_no_sub`, defaults to `no`)
  • Optimize away unnecessary `overlay-remove`s (no real impact)
  • Prefer mpv by default even if FFmpeg is in PATH (because of #2)
v0.2.0 - Network thumbnails!0.2.0
TheAMMTheAMM·8y ago·December 6, 2017
GitHub

📋 Changes

  • Thumbnailing network files/streams. Yes, like YouTube. It's slow, it may break on sites other than YouTube, but it's there.
  • Fix giant font size
  • Fix bad padding
  • Fix a typo
v0.1.0 - Initial release!0.1.0
TheAMMTheAMM·8y ago·December 5, 2017
GitHub

Woo! 🎉 Be sure to read the [`README.md`](https://github.com/TheAMM/mpv_thumbnail_script#mpv_thumbnail_scriptlua)! **Note:** You will need a rather new version of mpv due to [the new binds](https://github.com/mpv-player/mpv/commit/957e9a37db6611fe0879bd2097131df5e09afd47#diff-5d10e79e2d65d30d34f98349f4ed08e4) used in the patched `osc.lua`. I may failsafe them later.