Page 1 of 1

Creating open file dialog [Script LUA]

Posted: 21 Feb 2011 18:13
by INSA
Hi everybody,

Currently, we are developing an LUA extension which will enable us to display two subtitles tracks. To choose the two subtitles files, we would like to display an open file dialog. But, we don't know how to create it.

Is there anyone who know how to create an open file dialog?
--> Is it possible to use an VLC function in our script to solve this issue?

Thank you.

Mehdi

Re: Creating open file dialog [Script LUA]

Posted: 22 Feb 2011 19:51
by JPeg
There is no such function in the Lua bindings yet.
Do you need it? This could be an acceptable feature request.

Btw, how do you plan to print out 2 subtitles at the same time?

Best,
jp

Re: Creating open file dialog [Script LUA]

Posted: 25 Feb 2011 15:34
by INSA
Yes, we need it to make our extension more user-friendly. It's unconvenient for the user to type/copy-paste the path of every subtitle file...
Have you heard about a LUA script (not only in VLC) which uses a sort of open file dialog window ?

We plan to allow this dual-subtitling by using ASS/SSA specs.