logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
gilar  
#1 Posted : Wednesday, October 14, 2020 11:24:22 AM(UTC)
gilar

Rank: Member

Groups: Registered
Joined: 8/22/2020(UTC)
Posts: 10
Indonesia
Location: Depok, West Java

Was thanked: 7 time(s) in 4 post(s)
Hi .... i dont know if it is a bug or not
Maybe someone here could explain about my case

I'm create a text field with multi line inside it
Then I put text inside it like this

Matt
Aaron
Taylor
Jeffrey
Kawika
Daniel
Micah
Maxwell
Benjamin
Jake

Case 1
when i request XML to vMix ----> Request: XML\r\n
Then vMix give this repons (vMixRespons 1.xml)

unproper XML
Quote:
<vmix><version>23.0.0.60</version><edition>Trial</edition><inputs><input key="d220e090-2e46-4929-b552-531c6530d175" number="1" type="GT" title="CT2.gtzip" shortTitle="CT2.gtzip" state="Paused" position="0" duration="0" loop="False" selectedIndex="0">CT2.gtzip<text index="0" name="KANAN.Text">Matt



Case 2
Then when i delete all the text inside multi line text field and I request XML to vMix ----> Request: XML\r\n
vMix give this respons (vMixRespons 1.xml)

Proper XML
Quote:
<vmix><version>23.0.0.60</version><edition>Trial</edition><inputs><input key="d220e090-2e46-4929-b552-531c6530d175" number="1" type="GT" title="CT2.gtzip" shortTitle="CT2.gtzip" state="Paused" position="0" duration="0" loop="False" selectedIndex="0">CT2.gtzip<text index="0" name="KANAN.Text"></text><text index="1" name="KIRI.Text"></text></input><input key="0baff97f-9502-42b5-a688-4241e74e1d60" number="2" type="Colour" title="Colour Bars" shortTitle="Colour Bars" state="Paused" position="0" duration="0" loop="False">Colour Bars</input></inputs><overlays><overlay number="1" /><overlay number="2" /><overlay number="3" /><overlay number="4" /><overlay number="5" /><overlay number="6" /></overlays><preview>2</preview><active>1</active><fadeToBlack>False</fadeToBlack><transitions><transition number="1" effect="Fade" duration="1000" /><transition number="2" effect="Merge" duration="1000" /><transition number="3" effect="Wipe" duration="1000" /><transition number="4" effect="CubeZoom" duration="1000" /></transitions><recording>False</recording><external>False</external><streaming>False</streaming><playList>False</playList><multiCorder>False</multiCorder><fullscreen>False</fullscreen><audio><master volume="100" muted="False" meterF1="0" meterF2="0" headphonesVolume="100" /></audio></vmix>


Case 1
It seem vMix does not feed proper XML
I think vMix need to give XML character entity for CRLF


all comment would be apreciate



Best Regarads



Gilar Kadarsah


NOTE:
I'm using vMix Trial 23.0.0.60 x64


admin  
#2 Posted : Wednesday, October 14, 2020 11:37:52 AM(UTC)
admin

Rank: Administration

Groups: Administrators
Joined: 1/13/2010(UTC)
Posts: 5,211
Man
Location: Gold Coast, Australia

Was thanked: 4301 time(s) in 1523 post(s)
The code you are using to read the XML, is stopping at the first line.
You will need to read all the data in order to see everything.

If you are using the TCP API, it notes the full length of the XML to read as per the documentation.
gilar  
#3 Posted : Wednesday, October 14, 2020 11:42:26 AM(UTC)
gilar

Rank: Member

Groups: Registered
Joined: 8/22/2020(UTC)
Posts: 10
Indonesia
Location: Depok, West Java

Was thanked: 7 time(s) in 4 post(s)
Originally Posted by: admin Go to Quoted Post
The code you are using to read the XML, is stopping at the first line.
You will need to read all the data in order to see everything.

If you are using the TCP API, it notes the full length of the XML to read as per the documentation.


Hi thanks for replay ... i will check my TCP code

Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.