occivink / mpv-gallery-view

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

Folder gallery on file open with mpv #31

Closed dmitrymake closed 3 years ago

dmitrymake commented 3 years ago

Hello! Can I get full directory on single file open? If I open use: mpv foo.png I get only this single foo.png file in my gallery. So I need to open with: mpv * How can I automatically scan dir on single file opened? Thanks!

occivink commented 3 years ago

Hello, This is best done by using the autoload.lua script in the mpv repository, it will load adjacent files in a directory. This should all work as expected with the gallery script.