• Products
    • Isadora
    • Get It
    • ADD-ONS
    • IzzyCast
    • Get It
  • Forum
  • Help
  • Werkstatt
  • Newsletter
  • Impressum
  • Dsgvo
  • Press
  • Isadora
  • Get It
  • ADD-ONS
  • IzzyCast
  • Get It
  • Press
  • Dsgvo
  • Impressum
FORUM

Navigation

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

    [ANSWERED] Controling VLC within Isadora

    How To... ?
    5
    13
    1871
    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.
    • 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 Izzy Guru @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 STD 4.2 | USB 3.6 | + Beta
        MBP 16” 2019 2.4 GHz Intel i9 64GB AMD Radeon Pro 5500 8 GB 4TB SSD | 14.5 Sonoma
        Mac Studio 2023 M2 Ultra 128GB | OSX 15.3 Sequoia
        A range of deployable older Macs

        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 Izzy Guru @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 STD 4.2 | USB 3.6 | + Beta
            MBP 16” 2019 2.4 GHz Intel i9 64GB AMD Radeon Pro 5500 8 GB 4TB SSD | 14.5 Sonoma
            Mac Studio 2023 M2 Ultra 128GB | OSX 15.3 Sequoia
            A range of deployable older Macs

            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: https://support.troikatronix.com/support/tickets/new
              Support Policy: https://support.troikatronix.com/support/solutions/articles/13000064762
              Add-Ons: https://troikatronix.com/add-ons/ & https://troikatronix.com/add-ons/?u=woland
              Professional Services: https://support.troikatronix.com/support/solutions/articles/13000109444

              | Isadora Version: all of them | Mac Pro (Late 2013), macOS 10.14.6, 3.5GHz 6-core, 1TB SSD, 64GB RAM, Dual AMD FirePro D700s |

              1 Reply Last reply Reply Quote 1
              • bonemap
                bonemap Izzy Guru @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 STD 4.2 | USB 3.6 | + Beta
                MBP 16” 2019 2.4 GHz Intel i9 64GB AMD Radeon Pro 5500 8 GB 4TB SSD | 14.5 Sonoma
                Mac Studio 2023 M2 Ultra 128GB | OSX 15.3 Sequoia
                A range of deployable older Macs

                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: https://support.troikatronix.com/support/tickets/new
                      Support Policy: https://support.troikatronix.com/support/solutions/articles/13000064762
                      Add-Ons: https://troikatronix.com/add-ons/ & https://troikatronix.com/add-ons/?u=woland
                      Professional Services: https://support.troikatronix.com/support/solutions/articles/13000109444

                      | Isadora Version: all of them | Mac Pro (Late 2013), macOS 10.14.6, 3.5GHz 6-core, 1TB SSD, 64GB RAM, Dual AMD FirePro D700s |

                      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
                        - MacBook Pro M1 Max 16" 64GB RAM, Mac OS 15.3.2 Sequoia
                        - Mac Pro 5.1 middle 2012 (3,33 GHz 6-Core Intel Xeon, 32GB RAM, Radeon RX 580 8 GB ),
                        Mac OS 10.14.6 (Mojave)
                        - Mac mini Pro M4, Mac OS 15.3.2 Sequoia

                        • A range of deployable older Macs
                          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