mpv_thumbnail_script icon indicating copy to clipboard operation
mpv_thumbnail_script copied to clipboard

Can't regenerate thumbnails

Open SemperPeritus opened this issue 6 years ago • 6 comments

Can't regenerate thumbnails on full file that was downloaded and opened partially. When I open a file that was downloaded partially and trying to regenerate thumbnails when it has downloaded using Shift+T it stays old (e.g. 2 thumbs of 150). Is it a way to regenerate thumbs without clearing cache and restarting player? Started thumbnails jobs appears, but nothing happens.

SemperPeritus avatar Apr 10 '19 14:04 SemperPeritus

Clearing thumbnail cache just for this specific file?

Hrxn avatar Apr 11 '19 08:04 Hrxn

I clear everything cause I don't need cache for files I already watched.

SemperPeritus avatar Apr 11 '19 09:04 SemperPeritus

What is the problem then?

Hrxn avatar Apr 11 '19 09:04 Hrxn

I can't regenerate thumbnails if I started mpv while the file is downloading. When downloading complete, I can't regenerate thumbs with just Shift+T.

SemperPeritus avatar Apr 11 '19 09:04 SemperPeritus

Ah okay, I see.. Not sure, this is probably something best addressed by the script, sure. But in the meantime, maybe some workaround in input.conf would work:

shift+t run "/bin/sh" "-c" "rm -rf /your/cache/dir/${filename}"; script-binding generate-thumbnails

Hrxn avatar Apr 11 '19 15:04 Hrxn

I already have this for Ctrl+Shift+T but without script-binding generate-thumbnails. This can solve the problem for me, but not for other users of mpv thumbnail script.

SemperPeritus avatar Apr 12 '19 04:04 SemperPeritus