Arbitrary shell script called in a collection?

Archive of the non-categorized posts related to the QLC+ technical support.
Please do not create new threads here, instead, use the categories above !
Post Reply
Diego Fantoma

Hi,
Is there a way to call a shell script as a function or a collection?

I need a way to control a remote VLC player via telnet.

thank you
d
Santiago Benejam Torres

Hi Diego,
Take a look at this python script that I posted in this forum maybe this could help.
https://sourceforge.net/p/qlcplus/discu ... aaad/#6354
Santiago Benejam Torres

Diego,
I made some modifications to the script. Now the script connect to osc output port and make a telnet connection to vlc and can send start(ch1 on qlcplus simpledesk), stop(ch2), pause(ch3) commands to vlc started with telnet options like this:
vlc -I telnet --telnet-password test somevideo.xxx

The commands to vlc only are sent when channel reaches 255. You can create some scenes in qlcplus and assign them to a buttons on Virtual Console to control vlc.
Diego Fantoma

Thank you so much!

It's a very interesting starting point for me! I can now easily implement the functions I need.
Santiago Benejam Torres

You can add more vlc commands to texttosend variable in the script. Maybe you can create a fixture with qlcplus-fixtureeditor with channels/commands defined in the script and with this fixture create some scenes for play, pause. next, prev commands.
Massimo Callegari

Guys, I did it !
I brought the Script function back to life and added a hook to call system commands.
I've also written the documentation of the Script Editor that was completely missing.
If you build QLC+ from GIT you will find the changes.
Please consider that this is extremely under development and the syntax may change before the next official release.
In the meantime, though, you can play with it !

If you do, please let me know how it goes in the development forum. Thanks
qualleyiv

Awesome! I will definitely use this.
Diego Fantoma

Hi!
I saw the python script of Santiago Benejam Torres and I wrote another one in PERL (+TK for graphic interface) that lets to control a playlist running in VLC thru the telnet interface, listening on an OSC port.

I will put it in the forum in a new thread.
Post Reply