Can not get http interface working in 2.0.4

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
specter333
Blank Cone
Blank Cone
Posts: 12
Joined: 15 Oct 2006 09:29

Can not get http interface working in 2.0.4

Postby specter333 » 30 Oct 2012 09:38

I have written an http interface library for Autohotkey that I have been using for a few years now. It allows script writers to control VLC on their local computer easily. It still works fine on my tablet which is running VLC 2.0.1 but I can not get the http functions to work on VLC version 2.0.4.

For an http example, putting this command in my browsers address bar would stop playback.

Code: Select all

http://127.0.0.1:8080/requests/status.xml?command=pl_stop
What looks to be the problem is 2.0.4 (Interface-Main interfaces-Lua-Lua HTTP) will not accept pointing the source directory to the correct folder. It defaults to "C:\Program Files\VideoLAN\VLC\http" when the correct folder is "C:\Program Files\VideoLAN\VLC\lua\http", however when you try to change the directory, click save and restart VLC it returns to the default directory. In 2.0.1 the source directory is not shown, the edit box remains blank even after entering the directory, but it still works correctly.

Is this a bug in 2.0.4 or am I not setting something correctly?

Edit;
Realized I hadn't tried a clean install so I uninstalled including cash and preferences, re-installed and now it works fine.

Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 3 guests