Page 1 of 1

open url related to video file playing

Posted: 11 Jun 2012 14:39
by shaman_rajan
I was wondering where to insert the code to open a movie specific url that gets the metadata from the video file playing and depending on that open a new tab in the web browser. I want to google search for the particular movie im watching, and i want that tab to open when i open the movie file in vlc

Re: open url related to video file playing

Posted: 20 Jun 2012 18:13
by Jean-Baptiste Kempf
Create a lua extension.

Re: open url related to video file playing

Posted: 22 Jun 2012 22:23
by shaman_rajan
Thanks, but I'm unable to find any way in which i can open some url from the lua script. Could you please help with that?

Re: open url related to video file playing

Posted: 23 Jun 2012 00:56
by Jean-Baptiste Kempf
What do you want to do?

Re: open url related to video file playing

Posted: 23 Jun 2012 13:37
by shaman_rajan
I want to open a new tab in the system's web browser, with "http://www.something.com" from my extension. Is this possible from lua?

Currently I am able to open a dialog with the link, but i want to skip this step and open the link directly without user input.

Re: open url related to video file playing

Posted: 23 Jun 2012 14:40
by Jean-Baptiste Kempf
I don't think you can, yet.

Re: open url related to video file playing

Posted: 23 Jun 2012 17:49
by shaman_rajan
okay thanks anyway :)

Re: open url related to video file playing

Posted: 25 Jun 2012 08:53
by shaman_rajan
actually i just used os.execute("start url ") and it worked