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
sg93  
#1 Posted : Friday, October 31, 2025 6:21:10 AM(UTC)
sg93

Rank: Newbie

Groups: Registered
Joined: 10/31/2025(UTC)
Posts: 2
Germany

Hi,
I would REALLY appreciate if it was possible to access event texts via API which is not possible to my knowledge.

Thanks
doggy  
#2 Posted : Friday, October 31, 2025 8:49:37 PM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,449
Belgium
Location: Belgium

Thanks: 311 times
Was thanked: 1006 time(s) in 830 post(s)
Originally Posted by: sg93 Go to Quoted Post
Hi,
I would REALLY appreciate if it was possible to access event texts via API which is not possible to my knowledge.

Thanks


can you elaborate pls, goal ?
gre2gor  
#3 Posted : Friday, October 31, 2025 11:43:11 PM(UTC)
gre2gor

Rank: Advanced Member

Groups: Registered
Joined: 12/14/2018(UTC)
Posts: 85
Slovenia

Was thanked: 18 time(s) in 7 post(s)
I asked for the same in this post:

https://forums.vmix.com/...cted-replay-event-in-API
sg93  
#4 Posted : Saturday, November 1, 2025 12:36:12 AM(UTC)
sg93

Rank: Newbie

Groups: Registered
Joined: 10/31/2025(UTC)
Posts: 2
Germany

@doggy
What @gre2gor says basically:
Access single replay events and extract its attributes (the text added to a camera angle in my case)
2025-10-31 15_41_06-vMix Pro - 29.0.0.35 x64.png (3kb) downloaded 17 time(s).
doggy  
#5 Posted : Saturday, November 1, 2025 1:35:36 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,449
Belgium
Location: Belgium

Thanks: 311 times
Was thanked: 1006 time(s) in 830 post(s)
Originally Posted by: sg93 Go to Quoted Post
@doggy
What @gre2gor says basically:
Access single replay events and extract its attributes (the text added to a camera angle in my case)



As gre2gor mentioned the info is available in the replay2.xml file so one can retrieve it from there but takes some xml knowledge to do so using a script as one has to take into account for which camera , if its angle actually set to true , has to match the event number etc


one could export the even and retrieve the text from the saved file name again taking into account if selected angle is set etc ;-)

Technically possible but not so practical (even to create an API call)


Also mind you that this xml file does not get updated regarding these texts unless one stops/start the IR recording!
doggy  
#6 Posted : Saturday, November 1, 2025 2:53:12 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,449
Belgium
Location: Belgium

Thanks: 311 times
Was thanked: 1006 time(s) in 830 post(s)
strait retrieval , manual set event and camera

Code:


'Load the XML file in XmlDocument.
Dim doc As New XmlDocument()
doc.Load("E:\New folder\replay2.xml")

Console.WriteLine("" )

'retrieve tag for single event of single camera
dim evnt as integer = 0
dim cam as  integer = 1
Console.WriteLine("Tag: " & doc.SelectSingleNode("//event[id='" & evnt &  "']/description[" & cam  &"]").InnerText)

Console.WriteLine("" )


'retrieve text of all cameras for one event
for cam  = 1 to 8
     Console.WriteLine("Tag Cam " & cam & ": " & doc.SelectSingleNode("//event[id='0']/description[" & cam  &"]").InnerText)
next
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.