Spanish WebEpg grabbers updates. (1 Viewer)

Status
Not open for further replies.

Manuelito

MP Donator
  • Premium Supporter
  • August 23, 2007
    98
    42
    Home Country
    Spain Spain
    Manuelito, try my fix.

    As for timezones, I see:
    <Info availableDays="7" timezone="" version="2.0" />

    in your:
    www_ono_es.xml
    www_formulatv_com.xml
    www_laguiatv_com.xml
    www_miguiatv_com.xml

    and in arj2000's post:
    www_mundoplustv_tv.xml

    As far as I understand, in this case my PC, which is Russian Standard Time, will download TV-listings thinking that those sites also use Russian Standard Time.
    As a result, the info will be inserted into database in a wrong way.

    If you correct all your grabbers this way:
    <Info availableDays="7" timezone="W. Europe Standard Time" />
    my PC will download TV-listings and then will make time compensation (+2 hours), which is correct

    Sorry bounguine.

    I did the test with modifications but I forgot to update the post with them.

    I do now.

    And tested el_pais grabber (and uploaded and I think that works great). Thanks again.
     

    arj2000

    Portal Member
    October 6, 2010
    39
    15
    Home Country
    Spain Spain
    elpais error:

    Code:
    2010-12-15 19:11:38.480468 [WebEPGImporter(7)]: WebEPG: Reading http://www.elpais.es/parrillatv/40-latino/[COLOR="Blue"]miércoles[/COLOR]/ POST:

    "miércoles" should be "miercoles"
     

    bounguine

    Portal Pro
    November 7, 2005
    233
    15
    50
    St.Petersburg
    Home Country
    Russian Federation Russian Federation
    If you mean my fix, which I posted on 2010-12-07, I don't have errors in it:

    2010-12-15 21:13:32.875000 [WebEPGImporter(3)]: WebEPG: Reading .../parrillatv/antena-3/miercoles/... POST: - Delay: 500ms
    2010-12-15 21:13:52.421875 [WebEPGImporter(3)]: HTMLPage: GetInternal encoding: iso-8859-15
    2010-12-15 21:13:56.984375 [WebEPGImporter(3)]: WebEPG: Listing Count 17
    2010-12-15 21:13:57.078125 [WebEPGImporter(3)]: WebEPG: Guide, Program Info: 20101215080000 - Las noticias de la mañana
    2010-12-15 21:13:57.218750 [WebEPGImporter(3)]: WebEPG: Program starts in the past, ignoring it.
     

    bounguine

    Portal Pro
    November 7, 2005
    233
    15
    50
    St.Petersburg
    Home Country
    Russian Federation Russian Federation
    Could you do this:
    1. Put the XML from my post into you grabbers directory.
    2. Uncheck and then check WebEPG in plugins (TVServer console).
    3. Do the mapping for 1 channel.
    4. Put "7" for "Grab days"
    5. Delete the old tv.log
    6. Choose 13.12.2010 on your PC (Monday)
    7. Grab TV-listings
    8. Post the new tv.log here (I posted mine)
     

    arj2000

    Portal Member
    October 6, 2010
    39
    15
    Home Country
    Spain Spain
    I tried several configurations and I found that the code
    Code:
        <Site url="http://www.elpais.es/parrillatv/[ID]/[WEEKDAY]/" post="" external="false" encoding="" />
        <Search startOffset="-1" maxlistings="0" startPage="0" endPage="0" language="[COLOR="Blue"]es-ES[/COLOR]">
          <WeekDayNames>
            <WeekDay>lunes</WeekDay>
            <WeekDay>martes</WeekDay>
            <WeekDay>miercoles</WeekDay>
            <WeekDay>jueves</WeekDay>
            <WeekDay>viernes</WeekDay>
            <WeekDay>sabado</WeekDay>
            <WeekDay>domingo</WeekDay>
          </WeekDayNames>
    gets this weekdays: lunes, martes, miércoles, jueves, viernes, sábado, domingo. And this one
    Code:
        <Site url="http://www.elpais.es/parrillatv/[ID]/[WEEKDAY]/" post="" external="false" encoding="" />
        <Search startOffset="-1" maxlistings="0" startPage="0" endPage="0" language="[COLOR="Blue"]en-US[/COLOR]">
          <WeekDayNames>
            <WeekDay>lunes</WeekDay>
            <WeekDay>martes</WeekDay>
            <WeekDay>miercoles</WeekDay>
            <WeekDay>jueves</WeekDay>
            <WeekDay>viernes</WeekDay>
            <WeekDay>sabado</WeekDay>
            <WeekDay>domingo</WeekDay>
          </WeekDayNames>
    gets this weekdays: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday.

    So WEEKDAY is not getting names from WEEKDAYNAMES section. There is only one way to get "custom" day names:
    Code:
        <Site url="http://www.elpais.es/parrillatv/[ID]/[COLOR="blue"][DAY_NAME][/COLOR]/" post="" external="false" encoding="" />
        <Search startOffset="-1" maxlistings="0" startPage="0" endPage="0" language="[COLOR="Red"]indiferent[/COLOR]">
    [COLOR="Blue"]      <DayNames>
            <Day>lunes</Day>
            <Day>martes</Day>
            <Day>miercoles</Day>
            <Day>jueves</Day>
            <Day>viernes</Day>
            <Day>sabado</Day>
            <Day>domingo</Day>
          </DayNames>[/COLOR]
    with the disadvantage that "lunes" is always "today".
     

    bounguine

    Portal Pro
    November 7, 2005
    233
    15
    50
    St.Petersburg
    Home Country
    Russian Federation Russian Federation
    Strange enough, but it works in my case (you may see it in my tv.log, which I posted above):

    <Site url="http://www.elpais.es/parrillatv/[ID]/[WEEKDAY]/" post="" external="false" encoding="" />
    <Search startOffset="-1" maxlistings="0" startPage="0" endPage="0" language="es-ES">
    <WeekDayNames>
    <WeekDay>lunes</WeekDay>
    <WeekDay>martes</WeekDay>
    <WeekDay>miercoles</WeekDay>
    <WeekDay>jueves</WeekDay>
    <WeekDay>viernes</WeekDay>
    <WeekDay>sabado</WeekDay>
    <WeekDay>domingo</WeekDay>
    </WeekDayNames>
    </Search>

    The grabber gets the day from PC, makes startOffset="-1" (I think, due to the fact that in my case the week starts on Monday, but not Sunday) and then uses the correct <WeekDay> for substitution.

    The only difference I can see is the number of versions:

    yours:
    WebEPG 1.1.2.20622
    TvLibrary.Interfaces 1.1.2.20631

    mine:
    WebEPG 1.1.5.16168
    TvLibrary.Interfaces 1.1.5.16177
     

    arj2000

    Portal Member
    October 6, 2010
    39
    15
    Home Country
    Spain Spain
    I had the one that comes with MediaPortal 1.1.2. Where did you get this versions?
     
    Status
    Not open for further replies.

    Users who are viewing this thread

    Top Bottom