• Isadora
  • Get it
  • Forum
  • Help
  • ADD-ONS
  • Newsletter
  • Impressum
  • Dsgvo
  • Impressum
Forum
    • Categories
    • Recent
    • Popular
    • Tags
    • Register
    • Login

    How do I extract text from TERMINAL and input into isadora?

    Troubleshooting and Bug Reports
    3
    9
    2.9k
    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.
    • A
      alexkillingtime
      last edited by

      I'm using traktor, which I can setup to broadcast a stream and its metadata (arist, title), which I want to display as text in isadora.

      I have this app: http://www.disconova.com/utu/traktor-metadata/ which is a terminal app that sees this metadata and gives me something like this:


      [04-02-2013 23:19:31] Received metadata from "127.0.0.1,50216"...

      • ARTIST => "Alvin Risk"
      • TITLE  => "Pray feat. Jason Aalon Butler"

      Is there a way I can extract this info and get it into izzy as text? ( Alvin Risk - Pray feat Jason Aalon Butler) I'm familiar with using quartz (a bit) and have core.

      Can quartz monitor the metadata directly from traktor perhaps?

      1 Reply Last reply Reply Quote 0
      • SkulptureS
        Skulpture Izzy Guru
        last edited by

        You can save a text file from terminal to your computer;

        For example: I run this code every time a computer starts up at work (it then syncs it via dropbox)
        last> ~/Dropbox/Public/reports/myrebootcycle.txt
        "LAST" is like a small system report but the " > " and the " ~ " make the report save to a location as .txt file.
        [some more info here: [http://ubuntuforums.org/showthread.php?t=989100](http://ubuntuforums.org/showthread.php?t=989100)
        Maybe then you can import the text file (or refresh it) for each track?
        Hope this gets you started.

        Graham Thorne | www.grahamthorne.co.uk
        RIG 1: Windows 11, AMD 7 Ryzen, RTX3070, 16gig RAM. 2 x M.2 SSD. HD. Lenovo Legion 5 gaming laptop.
        RIG 2: Windows 11, Intel i19 12th Gen. RTX3070ti, 16gig RAM (ddr5), 1x M.2 SSD. UHD DELL G15 Gaming laptop.
        RIG 3: Apple rMBP i7, 8gig RAM 256 SSD, HD, OS X 10.12.12

        1 Reply Last reply Reply Quote 0
        • SkulptureS
          Skulpture Izzy Guru
          last edited by

          Oh and as for importing the text file....

          http://vjskulpture.wordpress.com/2012/06/28/isadora-data-array-actor/
          🙂

          Graham Thorne | www.grahamthorne.co.uk
          RIG 1: Windows 11, AMD 7 Ryzen, RTX3070, 16gig RAM. 2 x M.2 SSD. HD. Lenovo Legion 5 gaming laptop.
          RIG 2: Windows 11, Intel i19 12th Gen. RTX3070ti, 16gig RAM (ddr5), 1x M.2 SSD. UHD DELL G15 Gaming laptop.
          RIG 3: Apple rMBP i7, 8gig RAM 256 SSD, HD, OS X 10.12.12

          1 Reply Last reply Reply Quote 0
          • N
            nick
            last edited by

            looks like that program is just monitoring a port on your machine - the isadora ip actors may be able to read it directly

            MacBook Pro 11.5.2

            1 Reply Last reply Reply Quote 0
            • A
              alexkillingtime
              last edited by

              Doesn't the data array only read numbers?

              I'm a sh*t coder, nick, but I've been messing with the TCP IN watcher... I've got it watching the same port that traktor is broadcasting on, but have no idea if I'm getting anything.

              1 Reply Last reply Reply Quote 0
              • A
                alexkillingtime
                last edited by

                There's another program that automatically copies the track name to the clipboard... is there a way to monitor the clipboard and paste automatically?

                1 Reply Last reply Reply Quote 0
                • SkulptureS
                  Skulpture Izzy Guru
                  last edited by

                  I was sure the data array did text too?

                  I need to check... very sorry if I am wrong. 

                  Graham Thorne | www.grahamthorne.co.uk
                  RIG 1: Windows 11, AMD 7 Ryzen, RTX3070, 16gig RAM. 2 x M.2 SSD. HD. Lenovo Legion 5 gaming laptop.
                  RIG 2: Windows 11, Intel i19 12th Gen. RTX3070ti, 16gig RAM (ddr5), 1x M.2 SSD. UHD DELL G15 Gaming laptop.
                  RIG 3: Apple rMBP i7, 8gig RAM 256 SSD, HD, OS X 10.12.12

                  1 Reply Last reply Reply Quote 0
                  • SkulptureS
                    Skulpture Izzy Guru
                    last edited by

                    Just searched the old forum;

                    http://forum.troikatronix.com/cgi-bin/forum/gforum.cgi?post=1068;search_string=text;guest=21859754&t=search_engine#1068
                    Might help?

                    Graham Thorne | www.grahamthorne.co.uk
                    RIG 1: Windows 11, AMD 7 Ryzen, RTX3070, 16gig RAM. 2 x M.2 SSD. HD. Lenovo Legion 5 gaming laptop.
                    RIG 2: Windows 11, Intel i19 12th Gen. RTX3070ti, 16gig RAM (ddr5), 1x M.2 SSD. UHD DELL G15 Gaming laptop.
                    RIG 3: Apple rMBP i7, 8gig RAM 256 SSD, HD, OS X 10.12.12

                    1 Reply Last reply Reply Quote 0
                    • A
                      alexkillingtime
                      last edited by

                      Thanks, Skulpture! I've managed to write my first Applescript that takes the clipboard text (from an app that automatically copies the name of the artist-tracktitle into the clipboard) and gets it into isadora as text and I can trigger the script with osculator, hopefully.

                      I'll continue looking for a more efficient way. It would be nice if the clipboard could be monitored so the script would run on every change.

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