~ubuntu-branches/ubuntu/lucid/xmltv/lucid

« back to all changes in this revision

Viewing changes to grab/dk/tv_grab_dk

  • 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:
83
83
# initializations
84
84
 
85
85
use strict;
86
 
use XMLTV::Version '$Id: tv_grab_dk,v 1.35 2006/07/12 12:58:31 jtoft Exp $ ';
 
86
use XMLTV::Version '$Id: tv_grab_dk,v 1.36 2008/06/05 18:23:47 jtoft Exp $ ';
87
87
use XMLTV::Capabilities qw/baseline manualconfig cache/;
88
88
use XMLTV::Description 'Denmark';
89
89
use Getopt::Long;
620
620
        $prog{subtitles} = [ { type => 'onscreen' } ] if $texted;
621
621
 
622
622
        if (defined $episode_num) {
623
 
            $episode_num = $episode_num - 1;
624
623
            # We do not get any information about seasons, nor the total
625
624
            # amount of episodes. Guess this is better than nothing.
626
 
            $prog{'episode-num'} = [ [ " . $episode_num . ", "xmltv_ns" ] ];
 
625
                my @episode_data = ([ "$episode_num", "onscreen" ]);
 
626
            $episode_num = $episode_num - 1;
 
627
                push @episode_data, [ ". $episode_num .", "xmltv_ns" ];
 
628
            $prog{'episode-num'} = \@episode_data;
627
629
        }
628
630
        $prog{date} = $date if defined $date;
629
631
        if ( defined $genre ) {