occivink / mpv-gallery-view

Gallery-view scripts for mpv
The Unlicense
195 stars 21 forks source link

problem with thumbnails #12

Closed gareaugorille closed 5 years ago

gareaugorille commented 5 years ago

Hi,

I have followed the installation instructions but I must be doing something wrong: pressing g, the script correctly opens the playlist panel, but it does not generate thumbnails (though the thumbnail directory exists, thumbnail spaces are therefore empty), although moving the cursor to a different, empty thumbnail space correctly opens a different file. When loading the playlist, mpv returns the following error messages:

[gallery_thumbgen] [gallery_thumbgen] stack traceback: [gallery_thumbgen] .../.config/mpv/scripts/gallery-thumbgen.lua:6: in main chunk

[gallery_thumbgen] Lua error: .../.config/mpv/scripts/gallery-thumbgen.lua:6: attempt to call field 'getpid' (a nil value)

Am I missing something? Thanks!

occivink commented 5 years ago

This looks like certain lua functions are missing, are you using the latest mpv version? Check with mpv -v, latest should be 0.29.

gareaugorille commented 5 years ago

thanks: yes, that was the problem. I have updated mpv, and it now works flawlessly.