Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Passing multiple arguments to (video-exts)-add is deprecated!" #15097

Open
Trinity3e opened this issue Oct 15, 2024 · 6 comments
Open

"Passing multiple arguments to (video-exts)-add is deprecated!" #15097

Trinity3e opened this issue Oct 15, 2024 · 6 comments

Comments

@Trinity3e
Copy link

Trinity3e commented Oct 15, 2024

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.

@llyyr
Copy link
Contributor

llyyr commented Oct 15, 2024

Use -append or if you really have to use -add only pass one format at a time.

4a084c0

This has been deprecated for 7 years now

@Trinity3e
Copy link
Author

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.

@guidocella
Copy link
Contributor

regex.h is not available on Windows, and list options let you remove and add items without redefining the whole list.

@Trinity3e
Copy link
Author

I'm sorry, but what do you mean by removing/adding items without redefining the whole list?
I am on linux.

@Trinity3e Trinity3e changed the title "Passing multiple arguments to video-exts-add is deprecated!" "Passing multiple arguments to (video-exts)-add is deprecated!" Oct 17, 2024
@guidocella
Copy link
Contributor

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.

@Trinity3e
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants