TheAMM / mpv_thumbnail_script

A Lua script to show preview thumbnails in mpv's OSC seekbar, sans external dependencies
GNU General Public License v3.0
679 stars 68 forks source link

Thumbnailing no longer works due to video path issues #86

Open crides opened 2 years ago

crides commented 2 years ago

I'm using mpv 0.34.0, and this plugin no longer generates thumbnails at all, instead it always returns an error (only tested on Youtube videos, with ytdl enabled of course). Doing slight digging, it turns out the stream-path property (retrieved by mp.get_property_native("stream-path")) doesn't return the actual stream path anymore (? not sure when), and instead it returns the stream url and the video description, something like: edl://!opt;!opt2;%846%https://...;!opt3,channel_url=%56%https://...,ytdl_description=%1486%...

I'm not familiar with MPV APIs, but I hope this will help. Thanks