Timezones in TVServer’s WebEPG (1 Viewer)

arion_p

Retired Team Member
  • Premium Supporter
  • February 7, 2007
    3,367
    1,642
    Athens
    Home Country
    Greece Greece
    Since 1.1.0 Beta (or is it Alpha?).:)
    Latest SVN has some improvements and bug fixes too.
     

    micmanm

    Portal Pro
    May 22, 2009
    95
    16
    Home Country
    Ukraine Ukraine
    Exit from a situation when sites do not give the information on a time zone, I see only one:
    To create some copies of grabbers with instructions of a correct time zone (+1, 0-1, +2) in everyone, and then in to select "necessary" grabber under "necessary" channel
    ---------------
    www_vsetv_com.xml - UTC-0
    ..
    <Site url = "http://www.vsetv.com/schedule_channel _ [ID] _day _ [YYYY] - [MM] - [DD] _print_wd.html? dset11=2&amp; dset21=2&amp; meridian=0" encoding = "Windows-1251"/>
    ---------------
    www_vsetv_com_p1.xml - UTC+1
    ..
    <Site url = "http://www.vsetv.com/schedule_channel _ [ID] _day _ [YYYY] - [MM] - [DD] _print_wd.html? dset11=2&amp; dset21=2&amp; meridian=1" encoding = "Windows-1251"/>
    ---------------
    www_vsetv_com_m1.xml - UTC-1
    ..
    <Site url = "http://www.vsetv.com/schedule_channel _ [ID] _day _ [YYYY] - [MM] - [DD] _print_wd.html? dset11=2&amp; dset21=2&amp; meridian =-1" encoding = "Windows-1251"/>
    ---------------
    www_vsetv_com_p2.xml - UTC+2
    ..
    <Site url = "http://www.vsetv.com/schedule_channel _ [ID] _day _ [YYYY] - [MM] - [DD] _print_wd.html? dset11=2&amp; dset21=2&amp; ----
    meridian=2" encoding = "Windows-1251"/>
    ---------------

    Crookedly, but should work
     

    arion_p

    Retired Team Member
  • Premium Supporter
  • February 7, 2007
    3,367
    1,642
    Athens
    Home Country
    Greece Greece
    I cannot understand why you keep on with this. With WebEPG none of the above is needed. A grabber in WebEPG crawls pages of a single site. That site will show times in one timezone. That timezone has to be specified in the grabber definition as in (taken from de/www_tvtoday_de.xml):
    Code:
    <Grabber>
      <Info language="de" availableDays="7" [B]timezone="W. Europe Standard Time"[/B] version="2.0" />
      <Channels>
    This is not meant to be done by the user, it is for the grabber developer to set it right. If this declaration is right, it is used along with your local timezone to adjust program times. Nothing else is needed.

    Note: it is always better to specify timezone using a generic name as above, because this way daylight saving is also taken into account. Using just number (+/-NNNN) you cannot specify DST details (summer time start, end, difference etc)
     

    wpmjones

    New Member
    May 20, 2009
    2
    0
    Home Country
    United States of America United States of America
    Does anyone know the standards for the text timezones? I'm in the US Eastern Standard Time. (GMT -5). The grabbers for the US do not have tiemzones so I'm having to add the info manually, but don't know what exactly to type in there.

    Thanks!
     

    arion_p

    Retired Team Member
  • Premium Supporter
  • February 7, 2007
    3,367
    1,642
    Athens
    Home Country
    Greece Greece
    You can see all timezones using regedit under keys:
    Code:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Time Zones
    Each subkey is a timezone.The subkey name is the "language invariant" name of the timezone while the localized name can found in the Std entry of the subkey.

    In the grabber you should use the "language invariant" timezone name.
    (See also https://forum.team-mediaportal.com/webepg-136/webepg-designer-error-72300/#post524981)
     

    Users who are viewing this thread

    Top Bottom