VLC Remote via Widget Designer

and all the interaction

Moderator: Moderator Group

VLC Remote via Widget Designer

Postby Martina Protze » Wed Feb 24, 2010 2:01 pm

This explains how you remote VLC player with Widget Designer

VLC media player (1.0.5)
-----
1. Open VLC then select "Tools" > "Preferences". Click on button in the lower left hand corner to show all settings that are available.

2. In the left hand window click on the + button next to "Interface". Click on "Main interfaces". Let "Interface module" as "default" (!) and check the box for "Remote control interface" in "Extra interface modules" ("rc" appears automatically)
[pic 1]
step 1 vlc hauptinterface.JPG


3. Click on the + button next to "Main interfaces". Click on "RC". Type "localhost: 4212" or "127.0.0.1: 4212" in "TCP command input" (or any other port) if you want to remote it locally. If you want to remote it from another PC, use the connection with the IP VLC is running on eg. "10.169.10.65:9999"

[pic 2]
step 2 vlc rc interface.JPG


Save settings und restart VLC

Widget Designer (Rev 88)
---

right click ->Tools->Connection Manager
add a "TCP-Connection"
Type = Client Only
IP = 127.0.0.1 or 10.169.10.65
Port = 4212

or
Type = Client Only
IP = 10.169.10.65
Port = 9999
"OK"

[pic 3]
step 3 tcp connection.JPG


"Status" should change to "Connected" immediately , if not right click on "Disconnected" and click "Start". If "Status" is "Waiting for Connection" restart VLC. If the script is not stable later on, restart WD and VLC, this will reload the connection.

[pic 4]
step 4 wd connection manager.JPG


right click ->Create->Button->Custom Script
Create the button and go to its "Item Properties"
As its "Command" choose "TCPSend,'ID','Message'"
ID = ConnectionID from the Connection Manager, here: 17
Message = command blank [d13]
eg. TCPSend,17,pause [d13]

"Apply"

[pic 5]
step 5 wd script.JPG


List of commands:
pause . . . . . . . . . toggle pause/play
stop . . . . . . . . . . stop stream
next . . . . . . . . . . next playlist item
prev . . . . . . . . . previous playlist item
pause . . . . . . . . toggle pause/play
goto . . . . . . . . . goto item at index
fastforward . . . .set to maximum rate
rewind . . . . . . . set to minimum rate
faster . . . . . . . . faster playing of stream
slower . . . . . . .. slower playing of stream
normal . . . . . . . normal playing of stream
f [x] . . . . . . . . . toggle fullscreen x = on/off
volup [x] . . . . . raise audio volume X = steps eg. 3/4/8
voldown [x] . . . lower audio volume x = steps eg. 3/4/8
quit . . . . . . . . . quit vlc

If you create a TCP-input node on the same connection TCPSend,17,help [d13] gives you more commands.
You do not have the required permissions to view the files attached to this post.
Martina Protze
Technical Support, Pandoras Box and Widget Designer
Martina Protze
 
Posts: 199
Joined: Tue Feb 23, 2010 2:47 pm

Return to 3rd Party Hardware & Software Components

Who is online

Users browsing this forum: No registered users and 7 guests