Open 097115 opened 4 years ago
Filtering or searching the list in itself is not a problem so it could in theory be possible, but text input is a bit wonky in mpv. @TheAMM has a script for itt, so one possibility would be to combine the two scripts (either loosely by exposing an API, or by making a single script based on both). It's not a simple endeavor so I can't promise I will do it, but it sounds like a neat idea.
Thank you for this quick response, I look forward to hearing from you if you decide to implement it.
I'm not sure if the original request meant to use some text from the image name to jump. I think a hinting-style solution would work well here (if you are familiar with link-hinting in vim-like browsers and browsers extension, easymotion in vim, and similar plugins). It would only work for visible thumbnails though.
Pqiv's montage mode (which is the equivalent of the playlist view here), for example, allows putting key hints over thumbnails and then jumping to them by that label. For example, if you provided the letters "asdf", and there were four thumbnails visible, it would put one letter over each, and you could press that letter to jump. If there were five thumbnails, labels like "s", "d", "f", "aa", and "as" might be shown. There are different possible algorithms for generating the hints. I could provide a hint/label generation function if it helps. I don't know anything about the input handling though. You could probably bypass that using this method, and just make temporary keybindings that are immediately removed after the jump.
Hi!
In order to jump to a specific thumbnail, is it somehow possible to make the script to ask a user for a pattern and then to jump to a thumb representing a playlist entry containing that pattern?
Or are such interactions with
mpv
not doable at all?Thank you (and it goes without saying, it's a very nice addition to
mpv
, I do enjoy it a lot, thanks!)