• Isadora
  • Get it
  • Forum
  • Help
  • ADD-ONS
  • Newsletter
  • Impressum
  • Dsgvo
  • Impressum
Forum

Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags

    [ANSWERED] Controling VLC within Isadora

    How To... ?
    5
    13
    298
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • laurentR
      laurentR last edited by Woland

      Hello everybody, 

      it may sounds like a strange request, but I would like to find a way to control within Isadora a VLC player installed on another computer, thru a local network. Simple commands like play/stop would be a good start... 

      I found some subject about controling VLC thru network but I can't get out of it!

      Any idea?

      MBP 15' 2019 & MBP 13' 2015 - OSX10.14 & MP 2.8Ghz QC Xeon + GTX660 - OSX10.12 / Isadora 2.6.1/3.2 - Located France

      bonemap Juriaan 4 Replies Last reply Reply Quote 0
      • bonemap
        bonemap @laurentR last edited by bonemap

        @laurentr

        This sounds like a really useful thing to do. I found the specification for it here. And it looks, at the face of it, that this might be achievable sending commands through http and json? Although the documentation gives examples as XML, there is an indication that json is viable: 

        • Talk to VLC through HTTP XML/JSon requests.

        Therefore trying to send commands to the IP address with the appropriately structured json format actor might be the place to start.
        best wishes 

        Russell 

        http://bonemap.com | Australia
        Izzy 3 STD/USB 3.2.5 | MBP 16” 2019 2.4 GHz Intel i9 64GB AMD Radeon Pro 5500 8 GB 4TB SSD | Mac Studio 2022 M1 Max 32GB | OSX 12.5.1 Monterey

        1 Reply Last reply Reply Quote 0
        • Juriaan
          Juriaan Tech Staff @laurentR last edited by

          @laurentr

          So I gave this a shot with the HTTP server that is built into VLC. Since VLC requires a password since release 'X.X' it is not easy as it seems since we can't the parameters with the URL. That is something that has been discontinued long ago by the browsers. So they will open an Auth window in the browser.

          Isadora doesn't seem to like the URL in the Get Url actor.. So I'm wondering what the best way might be to get this up and running.. Running the server to listen to your command is not the issue, that works great.. But letting Isadora talk with seems to be a bigger fish to fry.

          Isadora 3.1.1, Dell XPS 17 9710, Windows 10
          Interactive Performance Designer, Freelance Artist, Scenographer, Lighting Designer, TroikaTronix Community moderator
          Always in for chatting about interaction in space / performance design. Drop me an email at hello@juriaan.me

          1 Reply Last reply Reply Quote 1
          • bonemap
            bonemap @laurentR last edited by bonemap

            @laurentr

            Hi,

            I was able to get this working and the following is what worked for me with VLC using its default port settings on Mac OS:

            1. check 'Enable HTTP Web Interface' and set a password: "vlcremote" in VLC Preferences and 'Save' (I used VLC v3.0.12 intel 64bit to test this)


            2. restart VLC and playback a test movie

            3. in an Isadora patch on another computer on the same network add a 'GET URL Text' actor to the Scene Editor

            4. find the IP address of the remote computer (the one running VLC) and use that ip address to replace the one in the following line:

            http://:vlcremote@192.168.15.4:8080/requests/status.xml?command=pl_pause


            5. toggle the 'get' trigger of the 'Get URL Text' actor and any media playing through VLC on the remote computer appears to pause/play.

            NOTE: the http password set in the VLC preferences appears in the Get URL Text address after the second colon. 

            Best Wishes

            Russell

            http://bonemap.com | Australia
            Izzy 3 STD/USB 3.2.5 | MBP 16” 2019 2.4 GHz Intel i9 64GB AMD Radeon Pro 5500 8 GB 4TB SSD | Mac Studio 2022 M1 Max 32GB | OSX 12.5.1 Monterey

            1 Reply Last reply Reply Quote 2
            • laurentR
              laurentR last edited by laurentR

              Thanks to both of you and congratulation Russell, your method works great for me on Mac !!

              MBP 15' 2019 & MBP 13' 2015 - OSX10.14 & MP 2.8Ghz QC Xeon + GTX660 - OSX10.12 / Isadora 2.6.1/3.2 - Located France

              bonemap 1 Reply Last reply Reply Quote 1
              • bonemap
                bonemap @laurentR last edited by

                @laurentr

                Good to know that it is working for you. If you get any additional commands functioning it would be great to get your report.

                Best wishes

                Russell

                http://bonemap.com | Australia
                Izzy 3 STD/USB 3.2.5 | MBP 16” 2019 2.4 GHz Intel i9 64GB AMD Radeon Pro 5500 8 GB 4TB SSD | Mac Studio 2022 M1 Max 32GB | OSX 12.5.1 Monterey

                1 Reply Last reply Reply Quote 0
                • Woland
                  Woland Tech Staff last edited by

                  I've noted this down as a possible Knowledgebase article for us to create. Thanks everyone <3

                  TroikaTronix Technical Support
                  New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
                  TroikaTronix Support Policy: https://support.troikatronix.com/support/solutions/articles/13000064762
                  TroikaTronix Add-Ons Page: https://troikatronix.com/add-ons/

                  | Isadora 2.6.1 + 3 | Mac Pro (Late 2013), macOS 10.14.6, 3.5GHz 6-core, 1TB SSD, 64GB RAM, Dual AMD FirePro D700s | Macbook Pro (Retina, 15", Mid 2015), macOS 10.11.4, 2.8GHz Intel Core i7, 16GB RAM, Intel Iris Pro 1536 MB |

                  1 Reply Last reply Reply Quote 1
                  • bonemap
                    bonemap @laurentR last edited by bonemap

                    @laurentr

                    Hi,

                    I have had an opportunity to develop this a little more today. You can find a link below to a patch that has two methods for controlling VLC and returning status and file information about what VLC is doing on a remote machine. One method is XML the other JSON. You will need the JSON Parser Beta add on to work with the JSON method. The XML data has not been fully parsed in the patch and in comparison the JSON Parser Beta actor is a lot more convenient to set up. However, both methods refresh the data parameters each time a trigger is used.

                    vlc-remote.izz

                    best wishes

                    Russell

                    http://bonemap.com | Australia
                    Izzy 3 STD/USB 3.2.5 | MBP 16” 2019 2.4 GHz Intel i9 64GB AMD Radeon Pro 5500 8 GB 4TB SSD | Mac Studio 2022 M1 Max 32GB | OSX 12.5.1 Monterey

                    jfg 1 Reply Last reply Reply Quote 3
                    • Juriaan
                      Juriaan Tech Staff last edited by

                      Just a follow-up, I had multiple applications listening on port 8080. When I changed this in VLC everything was smooth sailing :)

                      Amazing patch @bonemap!

                      Isadora 3.1.1, Dell XPS 17 9710, Windows 10
                      Interactive Performance Designer, Freelance Artist, Scenographer, Lighting Designer, TroikaTronix Community moderator
                      Always in for chatting about interaction in space / performance design. Drop me an email at hello@juriaan.me

                      1 Reply Last reply Reply Quote 2
                      • laurentR
                        laurentR last edited by laurentR

                        Thanks again, I was not expecting so much when I ask the question! The patch work great for me!

                        But I actually have another question wich is I guess due to my lake of knowlegde in network : everything work fine when my 2 computers are connected to a router ( actually my internet box) , but when I try to connect directly the 2 computers thru rj45 cable, it's not working anymore. I of course change the ip adress following what I see in Network Setting, and I know the communication is ok since I can control stuff via NetBroadcater actor... But I guess it's not the same protocol?

                        MBP 15' 2019 & MBP 13' 2015 - OSX10.14 & MP 2.8Ghz QC Xeon + GTX660 - OSX10.12 / Isadora 2.6.1/3.2 - Located France

                        Woland jfg 2 Replies Last reply Reply Quote 0
                        • Woland
                          Woland Tech Staff @laurentR last edited by

                          @laurentr said:

                          when I try to connect directly the 2 computers thru rj45 cable, it's not working anymore.

                           iirc, direct connection via rj45 isn't the same networking-wise as having both machines hooked up to a router. My gut feeling is it's always better to have a router or switch involved. I could be wrong though.

                          TroikaTronix Technical Support
                          New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
                          TroikaTronix Support Policy: https://support.troikatronix.com/support/solutions/articles/13000064762
                          TroikaTronix Add-Ons Page: https://troikatronix.com/add-ons/

                          | Isadora 2.6.1 + 3 | Mac Pro (Late 2013), macOS 10.14.6, 3.5GHz 6-core, 1TB SSD, 64GB RAM, Dual AMD FirePro D700s | Macbook Pro (Retina, 15", Mid 2015), macOS 10.11.4, 2.8GHz Intel Core i7, 16GB RAM, Intel Iris Pro 1536 MB |

                          1 Reply Last reply Reply Quote 0
                          • jfg
                            jfg @laurentR last edited by

                            @laurentr

                            it works if you use a crossover cable and use the self-assigned IP from the target computer (VLC). Something like 169.254. … .  …

                            I have just try and it works with Json and XML

                            Jean-François

                            • Izzy 3.2.6, Mac OS 13.2 Ventura:
                            - MacBook Pro M1 Max 16" 64GB RAM
                            • Izzy 3.2.6, Mac OS 10.14.6 (Mojave):
                            - Mac Pro 5.1 middle 2012 (3,33 GHz 6-Core Intel Xeon, 32GB RAM, Radeon RX 580 8 GB )
                            - MacBook Pro 2015 (16GB RAM) 2,8 GHz Intel Core i7;

                            Located in Bremen, Germany

                            1 Reply Last reply Reply Quote 1
                            • laurentR
                              laurentR last edited by laurentR

                              @jfg said:

                              crossover cable

                               Of course, I knew my question was stupid ;-)   I was just using the wrong cable... And now it works!  Merci Jean-Francois

                              MBP 15' 2019 & MBP 13' 2015 - OSX10.14 & MP 2.8Ghz QC Xeon + GTX660 - OSX10.12 / Isadora 2.6.1/3.2 - Located France

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post