You are here

xmltv_time_correct

2 posts / 0 new
Last post
taylorkit-work
Offline
Joined: 9 years
Last seen: 6 years
xmltv_time_correct

I am upgrading to V2 and trying to time correct one of the files but it is not working with the below error.

Utilty to correct offset start and stop times in xmltv files
Jan van Straaten, Januari 2011

Channel mena_Global not found in xmltv file
channel mena_Global can not be corrected
check channel name!
press any key to continue

I'm using xmltv_time_correct on V1.56.26.0 with no issues.

Does xmltv_time_correct no longer work on V2?

Should I be using the offset time?

 

================ WebGrab++.config.xml

<?xml version="1.0"?>
<!-- Configuration file for WebGrab+Plus, the incremental Electronic-Program-Guide web grabber
by Jan van Straaten, December 2011
Version V1.1.1 -->

<settings>
    <filename>\\svdev01\SystemsAlignment\IPTV_WG2\PRE_TimeAdjust_XML\PreTimeChange_locatetv.xml</filename>
    <mode>m</mode>
    <postprocess run="n" grab="y">mdb</postprocess>
    <proxy>automatic</proxy>
    <user-agent>Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0; yie9)</user-agent>
    <logging>on</logging>
    <retry time-out="8">0</retry>
    <skip>noskip</skip>
    <timespan>8</timespan><!-- Set to 8 -->
    <update>f</update>
    
<channels>  

    <channel update="f" site="bein.net" site_id="mena_sports/Global" xmltv_id="mena_Global">Global</channel>
    <channel update="f" site="bein.net" site_id="mena_sports/News_ar" xmltv_id="mena_News_ar (BeIN)">News_ar</channel>

 

 

</channels>    
    
</settings>

 

========================  chans2correct.xml

<channels>
  <!--
  This file specifies the channels to be 'time' corrected by xmltv_time_correct.exe
  Syntax of this file:
  <channel time_error="+1">channel-name</channel>
  -  time_error : the number of (decimal)hours the channel is 'off',
   (so, if you want all shows of a channel 1 hour later in the output xmltv file, specify time_error="-2",
   for 1:30 minutes earlier, specify time_error="1.5")
  - channel-name, the xmltv_id as in webgrab++.config.xml of the channel you want to correct
  Examples:
  -->
 
 

<channel time_error="-2">mena_Global</channel>
<channel time_error="-2">mena_News_ar (BeIN)</channel>

        
</channels>

=============== PreTimeChange_locatetv.xml

<?xml version="1.0" encoding="UTF-8"?>
<tv generator-info-name="WebGrab+Plus/w MDB &amp; REX Postprocess -- version  V2.0 -- Jan van Straaten" generator-info-url="http://www.webgrabplus.com">
  <channel id="mena_Global">
    <display-name lang="en">Global</display-name>
    <icon src="http://d57e32cb.static.ziggozakelijk.nl/%3Ca%20href%3D"http://epg.beinsports.com/mena_sports/Global.svg?2017">http://epg.beinsports.com/mena_sports/Global.svg?2017" />
    <url>http://www.bein.net</url>
  </channel>
  <channel id="mena_News_ar (BeIN)">
    <display-name lang="en">News_ar</display-name>
    <icon src="http://d57e32cb.static.ziggozakelijk.nl/%3Ca%20href%3D"http://epg.beinsports.com/mena_sports/Global.svg?2017">http://epg.beinsports.com/mena_sports/Global.svg?2017" />
    <url>http://www.bein.net</url>
  </channel>
  <programme start="20170405011500 +0000" stop="20170405030000 +0000" channel="mena_Global">
    <title lang="en">Al Sadd vs Al Rayyan</title>
    <sub-title lang="en">Qatar Stars League 2016/2017 We

 

 

taylorkit-work
Offline
Joined: 9 years
Last seen: 6 years

Blackbear199, Thank you.

I'll give that a go.

Thought I might have been missing something obvious. 

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