bpa wrote:
> It's a big BBC issue - the programs are not playable through the browser
> BBC Sounds
Hopefully BBC will resolve it, then. :)
Before learning that, I did note, in the log:
Code:
--------------------
[20-06-26 17:49:05.7736] Plugins::BBCiPlayer::PlaylistParser::parse (42)
Playlist URL =http://www.bbc.co.uk/programmes/m000k9rw/playlist.json
[20-06-26 17:49:05.7749] Plugins::BBCiPlayer::PlaylistParser::parse (43)
Options selected for parser :$VAR1 = \{
'dash' =>
'http://open.live.bbc.co.uk/mediaselector/6/redir/version/2.0/mediaset/audio-syndication-dash/proto/http/vpid/m000k9rv',
'mp3' => 'https://www.bbc.co.uk/sounds/play/m000k9rw',
'desc' =>
'Matthew%20Bannister%20on%20an%20actor%2C%20an%20ambassador%2C%20an%20agent%20and%20a%20singer.',
'icon' => 'http://ichef.bbci.co.uk/images/ic/160x160/p08j00gw.jpg',
'hls' =>
'http://open.live.bbc.co.uk/mediaselector/6/redir/version/2.0/vpid/m000k9rv/mediaset/audio-syndication/proto/http',
'dur' => '1800',
'title' =>
'Last%20Word%3A%20Sir%20Ian%20Holm%2C%20Jean%20Kennedy%20Smith%2C%20Felicity%20Bryan%20MBE%2C%20Lily%20Lian'
};
[20-06-26 17:49:05.7752] Plugins::BBCiPlayer::PlaylistParser::parse (65)
playlistitem no radioprogramme or programme found
$VAR1 = {
'items' => []
};
--------------------
Premature to think about patches until the BBC has settled, I guess. But
the following patch is giving me some service, by removing the
-PlaylistParser- from the mix, i.e. using -iplayer- URLs.
Code:
--------------------
diff --git a/BBCXMLParser.pm b/BBCXMLParser.pm
index f524e93..73eb3ec 100644
--- a/BBCXMLParser.pm
+++ b/BBCXMLParser.pm
@@ -269,12 +269,10 @@ if (0) {
$byDay{$day}{$start} = {
'name' => sprintf("%02d:%02d %s", $hour, $min, $title),
- 'url' => $playlist_url,
+ 'url' => "iplayer://aod?" . $iplayerparms,
'icon' => $icon,
- 'type' => 'playlist',
+ 'type' => 'audio',
'description' => $entry->{'synopsis'},
- 'on_select' => 'play',
- 'parser' =>
"Plugins::BBCiPlayer::PlaylistParser?$iplayerparms",
} if ($opts->{'byday'});
@@ -303,22 +301,18 @@ if (0) {
$byKeyTitle =~ s/^\Q${key}\E:\s*//g;
$byKey{$key}{$start} = {
'name' => sprintf("%s - %02d:%02d %s", $byKeyTitle, $hour, $min, $day
== $today ? 'Today' : $weekdays[$wday]),
- 'url' => $playlist_url,
+ 'url' => "iplayer://aod?" .
$iplayerparms,
'icon' => $icon,
- 'type' => 'playlist',
+ 'type' => 'audio',
'description' => $entry->{'synopsis'},
- 'on_select' => 'play',
- 'parser' =>
"Plugins::BBCiPlayer::PlaylistParser?$iplayerparms",
} if ($opts->{'bykey'});
$list{$start} = {
'name' => sprintf("%02d:%02d %s - %s", $hour, $min, $day == $today ?
'Today' : $weekdays[$wday], $title),
- 'url' => $playlist_url,
+ 'url' => "iplayer://aod?" .
$iplayerparms,
'icon' => $icon,
- 'type' => 'playlist',
+ 'type' => 'audio',
'description' => $entry->{'synopsis'},
- 'on_select' => 'play',
- 'parser' =>
"Plugins::BBCiPlayer::PlaylistParser?$iplayerparms",
} unless ($opts->{'byday'} || $opts->{'bykey'});
$programmeSeen{$version_pid} = 1 if $version_pid;
}
--------------------
------------------------------------------------------------------------
mrw's Profile: http://forums.slimdevices.com/member.php?userid=38299
View this thread: http://forums.slimdevices.com/showthread.php?t=109826
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins