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
palco5  
#1 Posted : Sunday, September 30, 2018 2:05:04 AM(UTC)
palco5

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
admin  
#2 Posted : Sunday, September 30, 2018 3:00:59 AM(UTC)
admin

Rank: Administration

Groups: Administrators
Joined: 1/13/2010(UTC)
Posts: 5,211
Man
Location: Gold Coast, Australia

Was thanked: 4300 time(s) in 1523 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

Siroki  
#3 Posted : Sunday, September 30, 2018 4:29:30 AM(UTC)
Siroki

Rank: Advanced Member

Groups: Registered
Joined: 10/10/2015(UTC)
Posts: 322
Man
Bosnia and Herzegovina
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š
thanks 1 user thanked Siroki for this useful post.
palco5 on 9/30/2018(UTC)
palco5  
#4 Posted : Sunday, September 30, 2018 5:44:02 AM(UTC)
palco5

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 22 time(s).

You cannot view/download attachments. Try to login or register.
doggy  
#5 Posted : Sunday, September 30, 2018 6:45:51 AM(UTC)
doggy

Rank: Advanced Member

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

Thanks: 293 times
Was thanked: 955 time(s) in 790 post(s)
Siroki  
#6 Posted : Sunday, September 30, 2018 1:38:57 PM(UTC)
Siroki

Rank: Advanced Member

Groups: Registered
Joined: 10/10/2015(UTC)
Posts: 322
Man
Bosnia and Herzegovina
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

doggy  
#7 Posted : Sunday, September 30, 2018 2:33:05 PM(UTC)
doggy

Rank: Advanced Member

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

Thanks: 293 times
Was thanked: 955 time(s) in 790 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 ?
doggy  
#8 Posted : Sunday, September 30, 2018 2:55:56 PM(UTC)
doggy

Rank: Advanced Member

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

Thanks: 293 times
Was thanked: 955 time(s) in 790 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"
palco5  
#9 Posted : Sunday, September 30, 2018 3:11:57 PM(UTC)
palco5

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/
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.