Find Jobs
Hire Freelancers

VB.net script to read values from vMix API

£20-250 GBP

Fullført
Lagt ut nesten 5 år siden

£20-250 GBP

Betalt ved levering
The live-streaming software vMix ([login to view URL]) allows more advanced control of the software via an API and the use of limited VB.net (v3.5). The scripts are run from within the software and usually triggered by keyboard shortcuts. You can learn more at [login to view URL] and see a typical XML response at [login to view URL] also see attached file. I have hacked an existing script to roughly achieve what I need but with limitations ------ Dim url As String url = "[login to view URL]" Dim reader As XmlReader = [login to view URL](url) [login to view URL]("text") Dim status As String = [login to view URL]() if status = "red" Then [login to view URL]("OverlayInput1", Input:="2") ' just a test to see that is works, other actions will go here End If ---- This reads through the following XML --- <vmix> <version>[login to view URL]</version> <edition>4K</edition> <preset>D:\Bitpod\Alex's tests\API test\API [login to view URL]</preset> <inputs> <input key="fc170e1d-896e-40eb-a2e0-8cb8220b9682" number="1" type="Xaml" title="[login to view URL]" state="Paused" position="0" duration="0" loop="False" selectedIndex="0"> [login to view URL] <text index="0" name="Colour">red</text> <text index="1" name="Shape">square</text> <image index="0" name="Object"/> </input> <input key="959aa79b-038c-4b3f-9226-23f41e8969b8" number="2" type="Xaml" title="[login to view URL]" state="Paused" position="0" duration="0" loop="False" selectedIndex="0"> [login to view URL] <text index="0" name="Message">It works</text> <text index="1" name="Title"/> </input> </inputs> <overlays> <overlay number="1"/> <overlay number="2"/> <overlay number="3"/> <overlay number="4"/> <overlay number="5"/> <overlay number="6"/> </overlays> <preview>1</preview> <active>1</active> <fadeToBlack>False</fadeToBlack> <transitions> <transition number="1" effect="Fade" duration="500"/> <transition number="2" effect="Merge" duration="1000"/> <transition number="3" effect="Cube" duration="1000"/> <transition number="4" effect="CrossZoom" duration="1000"/> </transitions> <recording>False</recording> <external>False</external> <streaming>False</streaming> <playList>False</playList> <multiCorder>False</multiCorder> <fullscreen>True</fullscreen> <audio> <master volume="100" muted="False" meterF1="0" meterF2="0" headphonesVolume="100"/> </audio> </vmix> --- The problem with this is that it only looks at the first line '<text index="0" name="Colour">red</text>' and ignores subsequent lines. More importantly it can only have an on/off action rather than if red do this, if blue do that etc. I require an updated script template to achieve the following: 1. Ignore all the inputs other that do not have the key 'fc170e1d-896e-40eb-a2e0-8cb8220b9682' 2. Only trigger if the element attributes are : text index="0" name="Colour" and the element = red 3. Provide a commented template that can run other short subroutines if the element is blue or green etc 4. Provide further examples and comments to instead trigger if: index="1" name="Shape" and then run different actions depending on the element i.e. square, round etc The vMix software is available as a 60 day trial and only runs on a PC, I will need the script testing on the software to make sure it runs ok. Attached is a preset and supporting XAML file for testing. To use, install vMix demo, load preset (you may need to locate the XAML file), create a new script (settings, scripting, Add), call it 'API test' and paste in code at top of page. Press space bar to run the script. If it works (should do in its current basic form) it should toggle the 'It works' message on and off. I can provide more info as needed.
Prosjekt-ID: 19574296

Om prosjektet

6 forslag
Eksternt prosjekt
Aktiv 5 år siden

Ønsker du å tjene penger?

Fordeler med budgivning på Freelancer

Angi budsjettet og tidsrammen
Få betalt for arbeidet ditt
Skisser forslaget ditt
Det er gratis å registrere seg og by på jobber
Tildelt til:
Brukeravatar
Hello I have over 9 years of experience with VB.NET including working with external APIs like this one, and I have several virtual machines for testing
£45 GBP om 2 dager
5,0 (1540 omtaler)
8,0
8,0
6 frilansere byr i gjennomsnitt £93 GBP for denne jobben
Brukeravatar
Hello, I already doen the same project to get data from an api using .Net & C# , I can do your project too just get in touch to discuss more details. Best Regards Fouad
£20 GBP om 10 dager
4,9 (66 omtaler)
6,7
6,7
Brukeravatar
Hi. Great app writer for your projects. I have writen vb.net scraping app for many years. I am ready to write your project. Thank you for visiting my profile
£80 GBP om 3 dager
5,0 (187 omtaler)
6,5
6,5
Brukeravatar
Hello. I 'm expert in "Visual Basic, .NET, Software Architecture, VB.NET" and I have working for 7+ years in this field. I 'm very interest to your project. I have checked your project description carefully and i can do it. I 'll do my best till you satisfy if you want me. Contact me please. Thank you. Yang L.
£150 GBP om 1 dag
4,8 (104 omtaler)
6,0
6,0
Brukeravatar
Hi there My name is Carlos and I'm an expert in .Net and sql server. I have been working in software developement for the last 20 years. I have many experience in desktop and web development. Regards
£111 GBP om 10 dager
4,9 (53 omtaler)
5,5
5,5
Brukeravatar
Hi. I have a lot of experience consuming web service and APIs
£150 GBP om 3 dager
0,0 (0 omtaler)
0,0
0,0

Om klienten

UNITED KINGDOMs flagg
Ottery St Mary, United Kingdom
5,0
6
Betalingsmetode bekreftet
Medlem siden aug. 26, 2010

Klientbekreftelse

Takk! Vi har sendt deg en lenke for at du skal kunne kreve din gratis kreditt.
Noe gikk galt. Vær så snill, prøv på nytt.
Registrerte brukere Publiserte jobber
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Forhåndsvisning innlasting
Tillatelse gitt for geolokalisering.
Påloggingsøkten din er utløpt og du har blitt logget ut. Logg på igjen.