mpv_thumbnail_script icon indicating copy to clipboard operation
mpv_thumbnail_script copied to clipboard

Specify $HOME in mpv_thumbnail_script.conf

Open lamyergeier opened this issue 1 year ago • 0 comments

In ~/.config/mpv/script-opts/mpv_thumbnail_script.conf, I tried to define the following option, but it doesn't work. Is there a way to specify HOME variable?

cache_directory=(os.getenv('HOME'))..'/.cache/thumbnails/mpv-osc-thumbnail'

Instead of storing it in /tmp folder is it better to store it somewhere else as the cache can be reused? Or the thumbnails are regenerated after every play?

lamyergeier avatar Apr 23 '24 15:04 lamyergeier