Skip to content

Releases: TheAMM/mpv_thumbnail_script

v0.4.2

07 Feb 20:37
Compare
Choose a tag to compare

Fixes:

  • Pass current headers, user-agent and referrer to worker-mpvs. Fixes network paths that rely on, say, cookies (#14)

Compare all changes

v0.4.1

07 Jan 23:46
Compare
Choose a tag to compare

Fixes:

  • 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!

Compare all changes

v0.4.0 - Better feels, padder looks

03 Jan 01:34
Compare
Choose a tag to compare

⚠️ This release changes the thumbnail timestamp generation slightly, so it's recommended to clear out your old thumbnails.

Features:

  • 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:
    2018-01-03 03-03-20 with subs 00-00-16 298x212 001 2018-01-03 03-03-20 with subs 00-00-44 296x244 001

Look at src/options.lua for relevant new options.

Fixes:

  • 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

Compare all changes

v0.3.4

19 Dec 17:27
Compare
Choose a tag to compare

Fixes:

  • Work around extremely long EDL paths (#8) when need be.

Hm. I should figure out a different release format if I end up doing lots of one-commit fixes like this.

Compare all changes

v0.3.3

18 Dec 18:00
Compare
Choose a tag to compare

Fixes:

  • sha256.lua not working on Lua 5.1 (#6). Replaced with another sha1 implementation.

Compare all changes

v0.3.2

18 Dec 14:23
Compare
Choose a tag to compare

Fixes:

  • Hash overlong long filenames (urls). You can adjust the length in options under hash_filename_length, default 128 characters. #5

This release was broken on mpv's built with Lua 5.1. See 0.3.3 above.

Compare all changes

v0.3.1

08 Dec 19:58
Compare
Choose a tag to compare

Features/fixes:

  • Logfiles for the mpv sub-calls. which are automatically removed on success and kept for failures.
    The logfiles are in the same directory as the thumbnails.
  • Some extra options for disabling the sub-mpv config or forcing a profile. See options.lua for all available script options.

Compare all changes

v0.3.0 - Multiple worker threads!

06 Dec 18:55
Compare
Choose a tag to compare

(If you downloaded a file just as this release was made, you'll have to redownload)

Features:

  • Multiple worker threads! Read the updated Configuration or just read here:
    Simply duplicate the mpv_thumbnail_script_server.lua once or twice, no matter on the name (but remember, script filenames must not contain spaces!)
  • Display active thumbnailing jobs in the progress display (vague green):
    image
  • Allow disabling subtitles when using mpv for thumbnailing (mpv_no_sub, defaults to no)

Fixes:

  • Optimize away unnecessary overlay-removes (no real impact)
  • Prefer mpv by default even if FFmpeg is in PATH (because of #2)

Compare all changes

v0.2.0 - Network thumbnails!

06 Dec 01:36
Compare
Choose a tag to compare

(If you downloaded a file just as this release was made, you'll have to redownload)

Features:

  • Thumbnailing network files/streams. Yes, like YouTube. It's slow, it may break on sites other than YouTube, but it's there.
    Look at the configuration for thumbnail_network and friends.

Fixes:

  • Fix giant font size
  • Fix bad padding
  • Fix a typo

Compare all changes

v0.1.0 - Initial release!

05 Dec 20:25
Compare
Choose a tag to compare

Woo! 🎉

Be sure to read the README.md!

Note: You will need a rather new version of mpv due to the new binds used in the patched osc.lua. I may failsafe them later.