Menu

Arbitrary shell script called in a collection?

2014-12-12
2015-01-02
  • Diego Fantoma

    Diego Fantoma - 2014-12-12

    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

    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

    Diego Fantoma - 2014-12-12

    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

    qualleyiv - 2014-12-15

    Awesome! I will definitely use this.

     
  • Diego Fantoma

    Diego Fantoma - 2015-01-02

    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.

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.