You are here

(Solved) Merge xmltv with EPG URL

10 posts / 0 new
Last post
victorypoint
Offline
Joined: 3 years
Last seen: 3 years
(Solved) Merge xmltv with EPG URL

I have a question regarding the merging of xmltv files using this guide @ http://www.webgrabplus.com/sites/default/files/download/ini/info/zip/Misc_merge-xmltv.zip. The merge-xmltv.ini is designed to merge 2 or more local xmltv files. However, can it be used to merge an xmltv file with an epg url? I tried this list in the ini but it spit out an error and didn't like the URL:

subpage.format subpage.format {list|C:\test\my-epg.xml|http://some-epg-link.xml}

Note that I used actual working local and url xml files in the above example but still got an error about the url.

Any help with this issue is greatly appreciated.

-Al

victorypoint
Offline
Joined: 3 years
Last seen: 3 years

Thank-you Blackbear! That solution works great. Much appreciated!

-Al

Lovefall
Offline
Joined: 7 years
Last seen: 2 years

Hi, 

I´m struggling with this now and can´t get it to work... I have one local xml-file and I have an url with xml that I want to combine. 

I have tried this: 

subpage.format {list|/share/CACHEDEV1_DATA/.qpkg/xmltv/conf/tv_grab_file.xml|http://ace-tv.xyz:25461/xmltv.php?username=xxxxxx&password=xxxxxxxx

url_index{url||subpage|}

Result: 

Unhandled Exception

Index was outside the bounds of the array.

  at WGconsole.Program.ConsoleApplication (System.String[] args) [0x01cfa] in <274ad6f9740e441a95b86a1d1148edca>:0

  at WGconsole.Program.Main (System.String[] args) [0x00016] in <274ad6f9740e441a95b86a1d1148edca>:0

 

Then I try this:

subpage.format {list|/file://share/CACHEDEV1_DATA/.qpkg/xmltv/conf/tv_grab_file.xmltv|http://ace-tv.xyz:xxxxx/xmltv.php?username=xxxxxx&password=xxxxxxxx}  

url_index{url||subpage|}

I got this result

file file://share/CACHEDEV1_DATA/.qpkg/xmltv/conf/tv_grab_file.xmltv doesn't exist

I´m getting crazy soon... Please help!

/Niklas

Lovefall
Offline
Joined: 7 years
Last seen: 2 years

I have tried that to, then the result is: 

update requested for - 1 - out of - 1 - channels for 16 day(s)

(   1/1   ) MERGE-XMLTV -- chan. (xmltv_id=dummy) -- mode Force

i

file file://http://ace-tv.xyz:25461/xmltv.php?username=xxxxxxxxxx&password=xxxxxxxxxx doesn't exist

Lovefall
Offline
Joined: 7 years
Last seen: 2 years

Ok, thx.

This downloaded xml-files looks a little bit different from my Webgrab files, there is no spaces between ></channel><channel id=

Should webgrab be able to read the information in this file for combining: 

<?xml version="1.0" encoding="utf-8" ?><!DOCTYPE tv SYSTEM "xmltv.dtd"><tv generator-info-name="IPTV" generator-info-url="http://ace-tv.xyz:25461/"><channel id="CAPITAL TV"><display-name>UK: CAPITAL TV</display-name><icon src="http://d57e32cb.static.ziggozakelijk.nl/%3Ca%20href%3D"http://www.tv-logo.com/pt-data/uploads/images/logo/capital_tv_uk.jpg">http://www.tv-logo.com/pt-data/uploads/images/logo/capital_tv_uk.jpg" /></channel><channel id="Heart TV"><display-name>UK: HEART TV</display-name><icon src="http://d57e32cb.static.ziggozakelijk.nl/%3Ca%20href%3D"http://www.tv-logo.com/pt-data/uploads/images/logo/heart_tv_uk.jpg">http://www.tv-logo.com/pt-data/uploads/images/logo/heart_tv_uk.jpg" /></channel><channel id="Sky Action"><display-name>UK: SKY CINEMA ACTION &amp; ADVENTURE</display-name><icon src="http://d57e32cb.static.ziggozakelijk.nl/%3Ca%20href%3D"http://www.tv-logo.com/pt-data/uploads/images/logo/sky_uk_movies_action_adventure.jpg">http://www.tv-logo.com/pt-data/uploads/images/logo/sky_uk_movies_action_..." /></channel><channel id="Sky Action"><display-name>UK: SKY CINEMA ACTION &amp; ADVENTURE HD</display-name><icon src="http://d57e32cb.static.ziggozakelijk.nl/%3Ca%20href%3D"http://www.tv-logo.com/pt-data/uploads/images/logo/sky_uk_movies_action_adventure_hd.jpg">http://www.tv-logo.com/pt-data/uploads/images/logo/sky_uk_movies_action_..." /></channel><channel id="Sky Comedy"><display-name>UK: SKY CINEMA COMEDY</display-name><icon src="http://d57e32cb.static.ziggozakelijk.nl/%3Ca%20href%3D"http://www.tv-logo.com/pt-data/uploads/images/logo/sky_uk_movies_comedy.jpg">http://www.tv-logo.com/pt-data/uploads/images/logo/sky_uk_movies_comedy.jpg" /></channel><channel id="Sky Comedy"><display-name>UK: SKY CINEMA COMEDY HD</display-name><icon src="http://d57e32cb.static.ziggozakelijk.nl/%3Ca%20href%3D"http://www.tv-logo.com/pt-data/uploads/images/logo/sky_uk_movies_comedy_hd.jpg">http://www.tv-logo.com/pt-data/uploads/images/logo/sky_uk_movies_comedy_..." /></channel>

 

</programme><programme start="20171013140000 +0100" stop="20171013150000 +0100" channel="CBS Action" ><title>NCIS: Los Angeles</title><desc>Part two of two. Hetty and the NCIS team continue trying to find the elusive black book, but face competition from foreign security agencies keen to discover the secrets it contains - and Kensi is kidnapped as the search narrows(n)</desc></programme><programme start="20171013140000 +0100" stop="20171013150000 +0100" channel="CBS Drama" ><title>Medium</title><desc>Allison dreams about a husband and wife who die in suspicious circumstances and discovers that her vision may be useful to one of Devalos&apos;s colleagues. However, she finds he is not very receptive to her methods. Patricia Arquette stars(n)</desc></programme><programme start="20171013140000 +0100" stop="20171013143000 +0100" channel="Sky Arts" ><title>Auction</title><desc>Raphael&apos;s Head of a Young Apostle breaks records at an auction at Sotheby&apos;s. A desk believed to have been made for Madame de Pompadour also goes under the hammer in London(n)</desc></programme>

/Niklas

Edit: I see now that icons is from webgrabplus.com! :) 

cvxcvx
Offline
Donator
Joined: 4 years
Last seen: 1 week

Hi. Am have problem from this atrybut

merge-xmltv not grabe this

  <date>2016</ate>
   <country>USA</country>
    <episode-num system="xmltv_ns">s.2, e.21</episode-num>

bam
Offline
Joined: 11 months
Last seen: 9 months

Hello, I'm new here and for some reason I don't see any answers with the solution.
Could you please re-post it again?

Also, I wonder if merging two EPG URLs possible?
PS:
Well, actually I have XMLTV URL and "normal" EPG URL which need parsing and merging against with.

mat8861
Offline
WG++ Team memberDonator
Joined: 5 years
Last seen: 17 min

Did you start with webgrabplus-siteinipack\siteini.pack\Misc\merge-xmltv.ini ?

bam
Offline
Joined: 11 months
Last seen: 9 months

Yes I did but merge-xmltv.ini has only local xml merge out of box so I wonder how could I achieve remote merging also without saving local files first.

mosli
Offline
Donator
Joined: 1 month
Last seen: 2 weeks

If someone else is still looking for a way to merge multiple epg xmls, I would like to recommend you the tool you can download at http://xmltv.org. It works with a very simple bash command:

xmltv tv_cat epg1.xml epg2.xml > myepg.xml

Log in or register to post comments

Brought to you by Jan van Straaten

Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl