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
gerrit  
#1 Posted : Sunday, March 18, 2018 8:19:28 AM(UTC)
gerrit

Rank: Newbie

Groups: Registered
Joined: 3/18/2018(UTC)
Posts: 9
Location: amsterdam

I use Album art of our radio broadcast system in the Title Overlay.
By Image1 the pad (browse) to my image is C:\Test\NowPlaying.jpg
This won't refresh. Anyone a suggestion?

By source I see txt and sheets etc. But I can't find info how to work with a picture that way.
(Now playing text by source works great!)
doggy  
#2 Posted : Sunday, March 18, 2018 2:41:05 PM(UTC)
doggy

Rank: Advanced Member

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

Thanks: 293 times
Was thanked: 955 time(s) in 790 post(s)
are you refering to using datasources ?
gerrit  
#3 Posted : Sunday, March 18, 2018 3:38:16 PM(UTC)
gerrit

Rank: Newbie

Groups: Registered
Joined: 3/18/2018(UTC)
Posts: 9
Location: amsterdam

Yes I want to use datasources.
doggy  
#4 Posted : Sunday, March 18, 2018 4:36:40 PM(UTC)
doggy

Rank: Advanced Member

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

Thanks: 293 times
Was thanked: 955 time(s) in 790 post(s)
gerrit  
#5 Posted : Tuesday, March 20, 2018 4:57:47 PM(UTC)
gerrit

Rank: Newbie

Groups: Registered
Joined: 3/18/2018(UTC)
Posts: 9
Location: amsterdam

Thx!
So I make an xml by Openoffice.... See attachement.
I use insert>picture>NowPlaying.jpg

The xml doesn't seem to consist an picture. What's goes wrong?
Because of this i can't find my xpath.

doggy  
#6 Posted : Wednesday, March 21, 2018 4:04:03 AM(UTC)
doggy

Rank: Advanced Member

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

Thanks: 293 times
Was thanked: 955 time(s) in 790 post(s)
What is the file supposed to contain ? as is xml file is NOT usefull at all !
gerrit  
#7 Posted : Wednesday, March 21, 2018 4:20:55 PM(UTC)
gerrit

Rank: Newbie

Groups: Registered
Joined: 3/18/2018(UTC)
Posts: 9
Location: amsterdam

Ok, I see my fault.

Now it contains:

<root>
<HeaderText>
<HeaderText>Dan Testing</HeaderText>
</HeaderText>
<Image>
<img src="file:///C:/Test/NowPlaying1.jpg"/>
</Image>
<BodyText>
<p>This is a test of the body text<br /></p>
</BodyText>
<ShowLinkArrow>false</ShowLinkArrow>
</root>


Xpath is /root/Image/img

This results in>>> src1 > file:///C:/Test/NowPlaying1.jpg

This gives text but no picture in preview (Title editor in Vmix)

Help! Thx
doggy  
#8 Posted : Wednesday, March 21, 2018 5:18:28 PM(UTC)
doggy

Rank: Advanced Member

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

Thanks: 293 times
Was thanked: 955 time(s) in 790 post(s)
It should not be "file:///C:/Test/NowPlaying1.jpg" but "C:/Test/NowPlaying1.jpg"

Should have been clear from the link i gave previously
gerrit  
#9 Posted : Thursday, March 22, 2018 3:56:59 AM(UTC)
gerrit

Rank: Newbie

Groups: Registered
Joined: 3/18/2018(UTC)
Posts: 9
Location: amsterdam

I already tried that. But this gives the same result.
It loads text instead off a picture
doggy  
#10 Posted : Thursday, March 22, 2018 4:32:02 AM(UTC)
doggy

Rank: Advanced Member

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

Thanks: 293 times
Was thanked: 955 time(s) in 790 post(s)
are you sure you are trying to replace an image rather then a text field in the title ?

i tried your xml (corrected) and it woks ok
gerrit  
#11 Posted : Thursday, March 22, 2018 4:56:18 AM(UTC)
gerrit

Rank: Newbie

Groups: Registered
Joined: 3/18/2018(UTC)
Posts: 9
Location: amsterdam

Thx for your reply.

Yes I'm sure.
See attachement.
Text>>> text file with artist and song title

Xml>>> picture of the album art

The screenshot show a picture of album art this is because I put it in with the title editor (browse). After that I give the picture a pad in Vmix >>>xml file
gerrit attached the following image(s):
vmix.jpg (444kb) downloaded 14 time(s).

You cannot view/download attachments. Try to login or register.
doggy  
#12 Posted : Thursday, March 22, 2018 5:39:04 AM(UTC)
doggy

Rank: Advanced Member

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

Thanks: 293 times
Was thanked: 955 time(s) in 790 post(s)
have you tried to specify the collumn instead of auto ?
gerrit  
#13 Posted : Thursday, March 22, 2018 6:01:44 AM(UTC)
gerrit

Rank: Newbie

Groups: Registered
Joined: 3/18/2018(UTC)
Posts: 9
Location: amsterdam

Yes. This works collumn is now src1

But one thing. When the next song plays the picture (NowPlaying1.jpg) is re-writen (same name).
The picture in title Vmix doesn't refresh
doggy  
#14 Posted : Thursday, March 22, 2018 12:45:35 PM(UTC)
doggy

Rank: Advanced Member

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

Thanks: 293 times
Was thanked: 955 time(s) in 790 post(s)
It doesnt respond as there no real change (same filename), its the same data. I do not know the criteria on which datasource changes is based on

I actually wonder why you would change the album image to the same name while i imagine they are all individual seperate items you can select based on te song or whatever criteria you are using.

There is somewhere in this forum a title with script posted by Martin (vMix) that deals with reloading an image based on it being edited/updated

edit: found it ; https://forums.vmix.com/default....osts&m=5025#post5025
gerrit  
#15 Posted : Thursday, March 22, 2018 7:23:10 PM(UTC)
gerrit

Rank: Newbie

Groups: Registered
Joined: 3/18/2018(UTC)
Posts: 9
Location: amsterdam

I could work with different names. Artist or Song name or even time stamp.
But the Xml file works with a hard route >>> C:\Test\Madonna.jpg
next song is Micheal.jpg but the xml file doesn't now if I don't change it manual.
doggy  
#16 Posted : Friday, March 23, 2018 12:46:25 AM(UTC)
doggy

Rank: Advanced Member

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

Thanks: 293 times
Was thanked: 955 time(s) in 790 post(s)
The whole point of the Datasources is the get UPDATES/CHANGES on data it contains.
Would be bad practise to reload and redisplay , especially big files, just for the heck of it and loose focus on vMix's main purpose.

Think you rather need to look into properly changing your data collection approach.

Users browsing this topic
Guest (6)
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.