correct syntax for seek in browser?

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
gazzer82
Blank Cone
Blank Cone
Posts: 23
Joined: 20 Mar 2006 19:44

correct syntax for seek in browser?

Postby gazzer82 » 01 Apr 2006 23:15

Hi All

I am trying to work out the syntax for making vlc seek forward/backwards using the web interface by typing the command into the address bar (i am writing a flash interface for controlling multiple vlc) but i can't work it out.

I believe the command is http://ipaddress:port/requests/status.xml?command=seek&val=something

but no matter what i try for the something i can't seem to get vlc to respond, can anyone point me to where i am going wrong, i have tried various things from basic integers to percentages (unicoded correctly).

Cheers

Gareth

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 02 Apr 2006 12:13

Code: Select all

+<int> -<int> +<int>% -<int>% <int>% <int>
Of course you need to url encode the symbols:
+ becomes %2b and % becomes %25.
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

gazzer82
Blank Cone
Blank Cone
Posts: 23
Joined: 20 Mar 2006 19:44

Postby gazzer82 » 02 Apr 2006 23:38

wickid that works!!

cheers

gareth

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 03 Apr 2006 00:58

I've added infos to the requests readme file concerning some of the commands: http://trac.videolan.org/vlc/file/trunk ... sts/readme
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 19 guests