vMix Forums
»
General
»
General Discussion
»
XML for EPG (TV Guide) in Data source
Rank: Member
Groups: Registered
Joined: 1/3/2016(UTC) Posts: 24
Thanks: 2 times
|
I need to import from the XML page what I'm currently up to on TV channels. I tried more XML.Direct url and as a file in Data Source, but Vmix does not want anything to import. Do I not know how to properly enter Xpath? Example: http://tvprofil.net/xmlt...pink.sr_tvprofil.net.xml for one channel
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 1/13/2010(UTC) Posts: 5,228 Location: Gold Coast, Australia Was thanked: 4332 time(s) in 1528 post(s)
|
I believe the XPATH would be "tv/programme" in this case.
XPATH is basically some text used to search for a particular set of "nodes" (the <###> bits in XML).
An easy way to find a bunch of nodes regardless of where they appear in the XML is to use two forward slashes followed by the node name. For example //programme would also work in this instance.
Regards,
Martin vMix
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 10/10/2015(UTC) Posts: 322 Location: Siroki Brijeg Thanks: 8 times Was thanked: 27 time(s) in 24 post(s)
|
Palco5 I sent you private message reply
Poslao sam ti ja na privatno vidi je li to što hoćeš
|
1 user thanked Siroki for this useful post.
|
|
|
Rank: Member
Groups: Registered
Joined: 1/3/2016(UTC) Posts: 24
Thanks: 2 times
|
Thanks Martin and Siroki. And for this XML file, to be Xpath, if possible File Attachment(s): new 4.zip (1kb) downloaded 24 time(s).You cannot view/download attachments. Try to login or register.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,244 Location: Belgium Thanks: 294 times Was thanked: 961 time(s) in 795 post(s)
|
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 10/10/2015(UTC) Posts: 322 Location: Siroki Brijeg Thanks: 8 times Was thanked: 27 time(s) in 24 post(s)
|
I manage to pull data from his xml but he needs a data to be taken from EPG (TV schedule) for 2 moments:
1. What is right now specific channel (actual program title) for every channel (for example Now: Eurosport | UEFA CL: Man UTD - Chelsea) 2. What is next on specific channel (for example Next: Sport1: 20:00 Bundesliga: Bayern - Hertha)
He needs active data from tv guide (xml) to see what hours are right now, to check program from specific channel to export actual content what is on TV and what is next on channel and to scroll or switch every few seconds content from different channels
Hope you undestand what I mean
Thx
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,244 Location: Belgium Thanks: 294 times Was thanked: 961 time(s) in 795 post(s)
|
Siroki wrote:I manage to pull data from his xml but he needs a data to be taken from EPG (TV schedule) for 2 moments:
1. What is right now specific channel (actual program title) for every channel (for example Now: Eurosport | UEFA CL: Man UTD - Chelsea) 2. What is next on specific channel (for example Next: Sport1: 20:00 Bundesliga: Bayern - Hertha)
He needs active data from tv guide (xml) to see what hours are right now, to check program from specific channel to export actual content what is on TV and what is next on channel and to scroll or switch every few seconds content from different channels
Hope you undestand what I mean
Thx
good luck from the given xml and http://tvprofil.net/xmltv/ they appear just a daily (or weekly schedule) not what is currently on etc unless you have a formula to compare your current time with the schedule ?
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,244 Location: Belgium Thanks: 294 times Was thanked: 961 time(s) in 795 post(s)
|
some quick google searches tell me as mentioned before its just daily (weekly) schedules and any comparison with time ie what is currently on etc has to be calculated yourself or to translate in a "updated" visualisation .
Seems like scripting/programming is in order
You might have a Gsearch on "xmltv epg grabber"
|
|
|
|
Rank: Member
Groups: Registered
Joined: 1/3/2016(UTC) Posts: 24
Thanks: 2 times
|
@Siroki explained everything nicely and in detail. Thank you and @doggy for wanting to help. Something like this is necessary. Of course without graphics, only text. http://tvprofil.net/gadgets/
|
|
|
|
vMix Forums
»
General
»
General Discussion
»
XML for EPG (TV Guide) in Data source
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