Menu

#200 Problems with tv_grab_dk_dr_2012

0.5.67
closed
nobody
5
2015-04-13
2015-04-06
No

I'm not sure if this is the right place to report these problems, but here goes.

I have discovered a couple of problems with tv_grab_dk_dr_2012 rev. 181 in conjunction with JSON 2.90 and Date::Manip 6.49.

The problem with Date::Manip 6.49 is that it gives this warning:

WARNING: the TZ Date::Manip config variable is deprecated
         and will be removed in March 2016.  Please use
         the SetDate or ForceDate config variables instead.

At the moment it is nothing more than a minor nuisance, but starting March 2016 I'm guessing the grabber won't work anymore.

The problem with JSON 2.90 is a bit bigger. With the 2.90 version, there is no description in the xml output from the grabber:

  <programme start="20150406070000 +0200" stop="20150406075000 +0200" channel="046.dr.dk">
    <title lang="da">Rachael Ray</title>
    <title lang="en">Rachael Ray</title>
    <category lang="da">Natur</category>
  </programme>

With the 2.61 version of JSON, the output is as follows:

  <programme start="20150406070000 +0200" stop="20150406075000 +0200" channel="046.dr.dk">
    <title lang="da">Rachael Ray</title>
    <title lang="en">Rachael Ray</title>
    <desc lang="da">Rachael Ray er en madinteresseret og inspirerende programleder, der i sine talk shows får besøg af kendisser og artister. Vi får del i nyttige eksperttips om mad, der kan holde os sunde, og Rachael deler også ud af sine egne kundskaber i køkkenet.</desc>
    <category lang="da">Natur</category>
  </programme>

Discussion

  • Jørgen Rasmussen

    A better programmer than I (Peter Meyland) has determined, that changing line 393 from:

      if ($listing->{'HasDescription'} eq 'true') {
    

    to:

      if ($listing->{'HasDescription'} eq 'true' || $listing->{'HasDescription'} eq 1) {
    

    will make the grabber work with JSON 2.90.

     
  • Geoff

    Geoff - 2015-04-13

    Thanks for the fix (note you also need to change 'IsRerun').

    The issue with Date::Manip has already been reported https://sourceforge.net/p/xmltv/bugs/500/

     
  • Geoff

    Geoff - 2015-04-13
    • labels: --> tv_grab_dk_dr
    • status: open --> closed
    • Group: 0.5.66 --> 0.5.67
     

Log in to post a comment.