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

OSC panel disappears when moving to next video #74

Closed Niotferdi closed 3 years ago

Niotferdi commented 3 years ago

This happens when I go to the next file using the button on the OSC or the "playlist-next" command, or when I load the next file with the command "loadfile ...". The OSC panel disappears until the next start of the player. I realized that this problem is caused by the "thumbnail_network = yes" parameter in mpv_thumbnail_script.conf. This parameter is critically important to me. But the problem isn't just about video from the internet. I made a copy of the directory with mpv, left in mpv.conf only the "osc = no" needed for the script to work - it did not help.

Czarnodziej commented 3 years ago

Seems to be fixed in https://github.com/TheAMM/mpv_thumbnail_script/pull/55

Niotferdi commented 3 years ago

Thanks for supporting your project.

I solved the problem described in this post by making changes to the script that I found elsewhere. Just in case, I'll leave a working solution here: https://pastebin.com/5LYjJy6Y