Creating open file dialog [Script LUA]

Discuss your Lua playlist, album art and interface scripts.
INSA
Blank Cone
Blank Cone
Posts: 11
Joined: 26 Oct 2010 13:50

Creating open file dialog [Script LUA]

Postby INSA » 21 Feb 2011 18:13

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

JPeg
New Cone
New Cone
Posts: 9
Joined: 01 Nov 2007 23:25

Re: Creating open file dialog [Script LUA]

Postby JPeg » 22 Feb 2011 19:51

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

INSA
Blank Cone
Blank Cone
Posts: 11
Joined: 26 Oct 2010 13:50

Re: Creating open file dialog [Script LUA]

Postby INSA » 25 Feb 2011 15:34

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.


Return to “Scripting VLC in lua”

Who is online

Users browsing this forum: No registered users and 4 guests