Auto-profile for video vs. image #17144
-
|
(Sorry for the long explanation) I've been using mpv to play videos and audio. I have general keybinds like: And keybinds separated in playback mode and paused mode like: I manage those states with auto-profiles like this (dunno if there's a better way to do this): The thing is, I want to start using mpv to view images as well, and I don't want keybinds to collide. Image keybinds are a subset of video keybinds at the moment so they are fine. But video keybinds are there independently of the file being an image. I want to fix this. So, I humbly ask for help here: How can I modify those auto-profiles to exclude images, and what can I do with those that are not profile-dependent at the moment? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
For those with the same problem, the auto-profile part can be fixed with |
Beta Was this translation helpful? Give feedback.
-
But I don't see why you need both |
Beta Was this translation helpful? Give feedback.
input-commands=disable-section playback; enable-section pauseprofile-cond=p['current-tracks/video/image'] == falseBut I don't see why you need both
pauseandplaybackand bothvideoandimage. You can define default keybindings and override them in only 1 input section.