Skip to content

Commit 128c4aa

Browse files
committed
Fix live streams for channels with numeral in PID
Closes #165
1 parent 00fd04a commit 128c4aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

get_iplayer

+1-1
Original file line numberDiff line numberDiff line change
@@ -5448,7 +5448,7 @@ sub get_verpids {
54485448
# URL decode url
54495449
$url = main::url_decode( $url );
54505450
# iPlayer LiveTV
5451-
} elsif ( $prog->{type} =~ 'live' && $prog->{pid} =~ /^[a-z_]+$/) {
5451+
} elsif ( $prog->{type} =~ 'live' && $prog->{pid} =~ /^(bbc_|cb)/i) {
54525452
my ($verpid, $version);
54535453
my $hls_pid_map;
54545454
if ( $prog->{type} eq 'livetv' ) {

0 commit comments

Comments
 (0)