occivink / mpv-gallery-view

Gallery-view scripts for mpv
The Unlicense
189 stars 20 forks source link

fix mpv subprocess argument format for mpv 0.32 #22

Closed jgreco closed 4 years ago

jgreco commented 4 years ago

https://github.com/mpv-player/mpv/blob/master/DOCS/interface-changes.rst

--- mpv 0.32.0 ---
   - change behavior when using legacy option syntax with options that start
     with two dashes (``--`` instead of a ``-``). Now, using the recommended
     syntax is required for options starting with ``--``, which means an option
     value must be strictly passed after a ``=``, instead of as separate
     argument. For example, ``--log-file f.txt`` was previously accepted and
     behaved like ``--log-file=f.txt``, but now causes an error. Use of legacy
     syntax that is still supported now prints a deprecation warning.

¯\(ツ)

occivink commented 4 years ago

Oh right, that's a good point. This change always trips me up.