mpv
mpv copied to clipboard
"Passing multiple arguments to (video-exts)-add is deprecated!"
With my excuses in advance it doesn't make much sense to me, what media extensions would possibly have a comma in them?
Or the entire -add section is deprecated and one is supposed to just use append?
If this is not a bug and it's indended, I would like to request a regex or a fuzzy feature for the image/video/audio extensions.
Thanks in advance.
Use -append or if you really have to use -add only pass one format at a time.
https://github.com/mpv-player/mpv/commit/4a084c0df8fd8aaa66073839d97e544c3b6903e7
This has been deprecated for 7 years now
Okay, so the entire section is deprecated. I only looked at the documentation so didn't get to that. If one could edit it would be great https://mpv.io/manual/stable/#list-options
My request remains to fuzzy match, especially extensions but could also be extended to the universal list options.
regex.h is not available on Windows, and list options let you remove and add items without redefining the whole list.
I'm sorry, but what do you mean by removing/adding items without redefining the whole list? I am on linux.
I'm sorry, but what do you mean by removing/adding items without redefining the whole list?
That you can add single items with -append and remove single items with -remove instead of redefining an entire regex.
I am on linux.
Great, but we also have to support Windows.
I understand. In my case I have to add about 5 or 6 items of common extensions but with a e.g. .part termination, the resulting config file would look very ugly if adding single items.
Fixed by 7456816217
Yeah it's fine. Most options don't need crazy escaping. And if they do, just use -append if you don't want to figure it out.