~davewalker/xmltv/544522

« back to all changes in this revision

Viewing changes to grab/huro/tv_grab_huro.in

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Lesicnik
  • Date: 2008-08-07 07:25:45 UTC
  • mfrom: (1.2.10 upstream) (4.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080807072545-ttu7eljrarkzon1p
Tags: 0.5.52-1ubuntu1
* Merge from debian unstable, remaining changes: (LP: #255450)
  - Fixes multiple broken grabbers (LP: #193703)
  - Update 06_grab_no.dpatch
* Deleted 07_grab_pt.patch from debian/patches as it is now in Debian.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
# vi:noet:ts=4
3
3
 
4
4
#-------------------------------------------------------------------------------
5
 
# $Id: tv_grab_huro.in,v 1.22 2007/11/04 20:28:15 mattiasholmlund Exp $
 
5
# $Id: tv_grab_huro.in,v 1.23 2008/03/25 22:49:50 attila_nagy Exp $
6
6
#-------------------------------------------------------------------------------
7
7
 
8
8
#-------------------------------------------------------------------------------
121
121
#-------------------------------------------------------------------------------
122
122
 
123
123
use strict;
124
 
use XMLTV::Version '$Id: tv_grab_huro.in,v 1.22 2007/11/04 20:28:15 mattiasholmlund Exp $';
 
124
use XMLTV::Version '$Id: tv_grab_huro.in,v 1.23 2008/03/25 22:49:50 attila_nagy Exp $';
125
125
use XMLTV::Capabilities qw/baseline manualconfig cache/;
126
126
use XMLTV::Description 'Hungary/Romania';
127
127
use XMLTV::Supplement qw/GetSupplement/;
541
541
                        }
542
542
                }
543
543
                worker("base-parsing");
 
544
                
 
545
                # Setting stop date for the previous programm
 
546
                # Last program in the grabbed list has no stop attribute, sorry.
 
547
                # Port.hu uses a virtual program as the last programme
 
548
                # anyway
 
549
                if ((defined($prev)) && $prev->{start} ne $prog->{start}) {
 
550
                        $prev->{stop} = $prog->{start};
 
551
                }
 
552
                
544
553
                push @r, $prog;
545
554
 
546
555
                if ((defined($prev)) && $prev->{start} eq $prog->{start}) {