-
Notifications
You must be signed in to change notification settings - Fork 23
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
How to enable these scripts for only images #24
Comments
simple answer for now |
I used this with an additional profile for every extension of required type, here's my config for all audio files, both
I believe you can do the same for images as well… |
@bananakid show me your conf now what your profile |
@NormTurtle, there you go:
There's a caveat with this approach: profile extension appears to be case-sensitive, i.e. you have to specify at least two profiles to get a more or less stable result (one in UPPERCASE and one in lowercase, i.e. |
The readme only states "You will need detect-image.lua and use input sections and profiles to make this work."
Can anybody explain a bit?
I have set up a auto-profile in mpv.conf
[Image]
profile-cond=string.match(p.filename, "%.jpg$") ~=nil or string.match(p.filename, "%.jpeg$") ~=nil or string.match(p.filename, "%.png$") ~=nil or string.match(p.filename, "%.tiff$") ~=nil
Can I selectively enable scripts for this profile?
The text was updated successfully, but these errors were encountered: