~davewalker/xmltv/544522

« back to all changes in this revision

Viewing changes to lib/XMLTV.pm.in

  • Committer: Bazaar Package Importer
  • Author(s): Mario Limonciello
  • Date: 2008-02-20 09:32:36 UTC
  • mfrom: (1.2.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20080220093236-4e57hpj6ax3399hy
Tags: 0.5.51-2ubuntu1
* Merge from debian unstable, remaining changes:
  - Fixes multiple broken grabbers (LP: #193703)
  - Update 06_grab_no.dpatch

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# -*- perl -*-
2
 
# $Id: XMLTV.pm.in,v 1.132 2007/11/05 08:14:27 rmeden Exp $
 
2
# $Id: XMLTV.pm.in,v 1.134 2008/02/17 07:08:59 rmeden Exp $
3
3
package XMLTV;
4
4
 
5
5
use strict;
12
12
# the xmltv package as a whole.  This number should be checked by the
13
13
# mkdist tool.
14
14
#
15
 
our $VERSION = '0.5.50';
 
15
our $VERSION = '0.5.51';
16
16
 
17
17
# Work around changing behaviour of XML::Twig.  On some systems (like
18
18
# mine) it always returns UTF-8 data unless KeepEncoding is specified.
1311
1311
            $value =~ /^\d+:\d+$/ or warn "bad aspect ratio: $value";
1312
1312
            $r{aspect} = $value;
1313
1313
        }
 
1314
        elsif ($name eq 'quality') {
 
1315
            warn "'quality' seen twice" if defined $r{quality};
 
1316
            $r{quality} = $value;
 
1317
        }
1314
1318
    }
1315
1319
    return \%r;
1316
1320
};