Skip to content
This repository has been archived by the owner on Jan 3, 2019. It is now read-only.

Commit

Permalink
Updated to get_iplayer v2.90-3-g3e1f09d
Browse files Browse the repository at this point in the history
  • Loading branch information
dinkypumpkin committed Nov 3, 2014
1 parent 84a66ef commit 57e5bde
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion get_iplayer.pl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#
#
package main;
my $version = 2.89;
my $version = 2.90;
my $version_text;
$version_text = sprintf("v%.2f", $version) unless $version_text;
#
Expand Down Expand Up @@ -6083,6 +6083,8 @@ sub get_metadata {
$episodenum = main::convert_words_to_number( $1 );
} elsif ( "$name $episode" =~ m{$regex_1}i ) {
$episodenum = main::convert_words_to_number( $1 );
} elsif ( $prog->{episode} =~ m{$regex_2}i ) {
$episodenum = main::convert_words_to_number( $1 );
} elsif ( $episode =~ m{$regex_2}i ) {
$episodenum = main::convert_words_to_number( $1 );
} elsif ( $episodetitle =~ m{$regex_2}i ) {
Expand Down Expand Up @@ -7042,6 +7044,7 @@ sub channels {
'bbc_two' => 'BBC Two',
'bbc_three' => 'BBC Three',
'bbc_four' => 'BBC Four',
'bbc_sport' => 'BBC Sport',
'cbbc' => 'CBBC',
'cbeebies' => 'CBeebies',
'bbc_news24' => 'BBC News',
Expand Down

0 comments on commit 57e5bde

Please sign in to comment.