Simulate a key press from command line #14556
-
Is it possible to simulate a key press using a command line option? I would like to have the playlist view (F8) opened by default, and to prevent it from hiding after a short time. F8 shows the list in terminal, sixel, and GUI, so that's exactly what I need since I am writing a script where users would switch between these views. However I would need it to be programmatic instead of a keybind. Is there an equivalent option, or alternatively, can I make mpv believe I pressed F8 without external tools? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
|
Beta Was this translation helpful? Give feedback.
-
Thank you! Is
|
Beta Was this translation helpful? Give feedback.
-
It's from mpv 0.38. |
Beta Was this translation helpful? Give feedback.
-
Indeed, I mistakenly thought my Droidian machine had v0.37.0 but you're right, it's v0.38.0. In the mean time, given that showing the playlist in terminal shows broken character sequences (#5868) and cannot be worked around without altering Thank you for the precious help! |
Beta Was this translation helpful? Give feedback.
--input-commands='show-text ${playlist} 4000'