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!)
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,225 Location: Belgium Thanks: 293 times Was thanked: 955 time(s) in 790 post(s)
|
are you refering to using datasources ?
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 3/18/2018(UTC) Posts: 9 Location: amsterdam
|
Yes I want to use datasources.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,225 Location: Belgium Thanks: 293 times Was thanked: 955 time(s) in 790 post(s)
|
|
|
|
|
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.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,225 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 !
|
|
|
|
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
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,225 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
|
|
|
|
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
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,225 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
|
|
|
|
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.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,225 Location: Belgium Thanks: 293 times Was thanked: 955 time(s) in 790 post(s)
|
have you tried to specify the collumn instead of auto ?
|
|
|
|
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
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,225 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
|
|
|
|
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.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,225 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.
|
|
|
|
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.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close