mpv-progressbar icon indicating copy to clipboard operation
mpv-progressbar copied to clipboard

May be decouple common part to separate project?

Open zerkalica opened this issue 7 years ago • 1 comments

Hi. I am newbie in lua. And i want to create some lua scipt for mpv and looking for ui toolkit.

For example in node.js we have blessed and react-blessed for building curses-like app

You components looks like react, but not decoupled from low-level curses-like functionality. May be extract common part from mpv-progress bar and create mpv ui toolkit on top of something kind of blessed but for lua?

zerkalica avatar Jan 12 '17 11:01 zerkalica

Frankly, while I have been pushing the components of this script in that direction and I think it's a decent idea, there are two major reasons that I don't see this happening in the near future:

  • I don't have the time and energy to develop and maintain such a library.
  • At a technical level, the mpv script UI stuff has no way to control layout or get text metrics, so there is no way to avoid line collision or control wrapping, which precludes the existence of a useful generic UI library. This is not an insurmountable hurdle, but it does require solutions implemented and integrated upstream (either in mpv or libass).

torque avatar Jan 14 '17 02:01 torque