A Lua script to show preview thumbnails in mpv's OSC seekbar, sans external dependencies (fork)
GNU General Public License v3.0
270
stars
20
forks
source link
Thumbnails for wrong file may be used if files from different URLs are played #44
Closed
olifre closed 11 months ago
Description of the bug Using for example
ani-cli
withmpv
, URLs with patterns such as:will be played, differing by "hash" for different episodes. Playing two such URLs means the thumbnails from the first file are used for the second.
To Reproduce
Expected behavior Thumnails to be recreated for the second file.
Debug log
Environment
Additional context As expected, a subdirectory:
is created and reused for all episodes.
Checking MPVs properties reveals:
So one way to fix this would be to use the property
path
in all cases whereself.state.is_remote
is true.