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
tubbis_2  
#1 Posted : Saturday, November 23, 2013 2:31:03 PM(UTC)
tubbis_2

Rank: Advanced Member

Groups: Registered
Joined: 11/21/2013(UTC)
Posts: 32
Location: Stockholm

Thanks: 2 times
Was thanked: 5 time(s) in 5 post(s)
I try to update an image in a title that i made thru the web API.
I can update the text easy but when I try to update the image by sending this command
http://127.0.0.1:8088/API/?Function=SetImage&Input=1&SelectedName=Bild&Value="file:///C:/Program Files (x86)/vMix/titles/pinkturbo.jpg"
I get Invalid image format reply.
What am I doing wrong?
doggy  
#2 Posted : Saturday, November 23, 2013 3:03:04 PM(UTC)
doggy

Rank: Advanced Member

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

Thanks: 284 times
Was thanked: 920 time(s) in 759 post(s)
http://127.0.0.1:8088/API/?Function=SetImage&Input=1&SelectedName=Bild&Value=C:/Program Files (x86)/vMix/titles/pinkturbo.jpg

no quotes
if only one image is in the title it appears you dont even have to specify the SelectedName
thanks 1 user thanked doggy for this useful post.
tubbis_2 on 11/23/2013(UTC)
tubbis_2  
#3 Posted : Saturday, November 23, 2013 3:49:11 PM(UTC)
tubbis_2

Rank: Advanced Member

Groups: Registered
Joined: 11/21/2013(UTC)
Posts: 32
Location: Stockholm

Thanks: 2 times
Was thanked: 5 time(s) in 5 post(s)
Thank you so much doggy!!

Just a little note to myself:
This command changes the background image:
http://127.0.0.1:8088/API/?Function=SetImage&Input=1&Value=C:/Program Files (x86)/vMix/titles/xxx.jpg

And this command changes the second picture
http://127.0.0.1:8088/API/?Function=SetImage&Input=1&SelectedName=Image1&Value=C:/Program Files (x86)/vMix/titles/xxx.jpg
thanks 1 user thanked tubbis_2 for this useful post.
Jup on 11/24/2013(UTC)
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.