TV guide is an hour off...listings are correct though (1 Viewer)

mtlca401

New Member
March 6, 2010
3
0
MediaPortal Version: 1.1.0
MediaPortal Skin: StreamedMP
Windows Version: Win7
1. TV Card: Haupaugge 500MCE
1. TV Card Type: Analog
Satelite/CableTV Provider: Charter

All of the guide info is correct. It is just at the wrong times. I'm assuming this is because the grabber is using the wrong timezone. I use mc2xml w/microsoft legacy to grap epg. then I use the xmltv plugin.

And how do I sort the channels by number. I don't really like the fact the the guide starts with ch 99 then ch 57, 56, 55, 48, 47, 68, etc.
 

arion_p

Retired Team Member
  • Premium Supporter
  • February 7, 2007
    3,373
    1,626
    Athens
    Home Country
    Greece Greece
    In XMLTV importer there is a Hours:Minutes option that allows you to offset all imported times by a certain amount of time. So in you case you would enter 1:00 or -1:00 (you don't say if they are 1 hour early or late).

    There is also an option "Apply time compensation..." that you can use to take into account the source timezone (if available). In this case you should enter your timezone in Hours:Minutes and it will be taken into account along with the timezones in tvguide.xml
     

    mtlca401

    New Member
    March 6, 2010
    3
    0
    Evidently, the "Apply time compensation..." either doesn't work right or I am not setting it right. The problem I am having is the hours and minutes fields in the xmltv pluggin gave me the impression that it would reimport guide info based on the time I select. So, when I first set it up I put 1 in the hour field. I changed it back to 0 and everything is correct. I would not have figured that out had you not told me about that.

    I still cannot figure out how to sort the guide by channel number. channels 60 through 69 are between 30 and 40 and channels 20 are at the beginning of the list.
     

    vvulture

    MP Donator
  • Premium Supporter
  • June 3, 2006
    483
    8
    52
    Sydney
    Home Country
    Australia Australia
    The XMLTV plugin is very buggy...
    My XML file, which is porvided by IceTV ( paid subscription ) , already has the correct times for every show.
    However, for some strange reason i have to apply a 11Hr compensation in the plugin and have the " Timezone Compensation" box ticked.
    The next step is to untick the box .
    It's only at that point that all my times are correct in the guide.

    For me, its been like this for a many, many MP releases.... I just put up with it..

    You're not the only one... :)

    cheers
     

    arion_p

    Retired Team Member
  • Premium Supporter
  • February 7, 2007
    3,373
    1,626
    Athens
    Home Country
    Greece Greece
    If you untick "Timezone Compensation" and leave hours:mins to 0:0 XmlTVImporter will assume all times in TvGuide.xml are local times and leave them unchanged. If you tick "Timezone Compensation" it will try to parse the date/time as a full date/time+timezone and then convert it to UTC time.
    If you enter anything other than 0:0 for hours:mins it will be added to whatever time has been calculated in the previous step.

    Some examples:
    Code:
    tvguide.xml           | TZ Comp off      | TZ Comp on       | TZ Comp off      | TZ Comp on       |
    time                  | hh:mm = 00:00    | hh:mm = 00:00    | hh:mm = 03:00    | hh:mm = 03:00    |
    ----------------------+------------------+------------------+------------------+------------------+
    2010-03-08 10:00      | 2010-03-08 10:00 | 2010-03-08 10:00 | 2010-03-08 13:00 | 2010-03-08 13:00 |
    2010-03-08 10:00+0400 | 2010-03-08 10:00 | 2010-03-08 06:00 | 2010-03-08 13:00 | 2010-03-08 09:00 |
    2010-03-08 10:00+0100 | 2010-03-08 10:00 | 2010-03-08 09:00 | 2010-03-08 13:00 | 2010-03-08 12:00 |
    2010-03-08 10:00-0500 | 2010-03-08 10:00 | 2010-03-08 15:00 | 2010-03-08 13:00 | 2010-03-08 18:00 |
     

    vvulture

    MP Donator
  • Premium Supporter
  • June 3, 2006
    483
    8
    52
    Sydney
    Home Country
    Australia Australia
    If you untick "Timezone Compensation" and leave hours:mins to 0:0 XmlTVImporter will assume all times in TvGuide.xml are local times and leave them unchanged. If you tick "Timezone Compensation" it will try to parse the date/time as a full date/time+timezone and then convert it to UTC time.
    If you enter anything other than 0:0 for hours:mins it will be added to whatever time has been calculated in the previous step.


    Thats the theory anyway.. but it doesn't work that way..

    I have tried to do it your way many, many times.. but my times were always out until i did what i mentioned in my previous post.

    cheers
     

    Users who are viewing this thread

    Top Bottom