occivink / mpv-image-viewer

Configuration, scripts and tips for using mpv as an image viewer
The Unlicense
284 stars 23 forks source link

Fix error when disabling status line #15

Closed defaultxr closed 3 years ago

defaultxr commented 3 years ago

For me, running disable-status-line fails, giving this error:

[status_line] Command osd-overlay: required argument data not set.

This is because mp.set_osd_ass's third argument is required. Simply calling draw_ass with an empty string as its argument is enough to fix this.