bpa wrote:
> To get pictures back into Listen Again add the lines in red into the
> BBCXMLParser.pm file around line 132 (depends on how patched the file
> is)
> >
Code:
--------------------
> >
> .
> .
> my $key;
> if ($opts->{'bykey'}) {
> if ($entry->{'brand'} ) { $key = $entry->{'brand'};
$filter{$key} = "?filter:brand=$key"; }
> elsif ($entry->{'series'}) { $key = $entry->{'series'};
$filter{$key} = "?filter:series=$key"; }
> else { $key = $title;
$filter{$key} = "?filter:title=$key"; }
> }
>
> my $icon = $entry->{'images'}->{'image'};
> $icon =~ s/512x288/256x144/;
>
> my $url =
"iplayer://aod?ms=$entry->{url}&dur=$duration&icon=$icon&title=" .
uri_escape_utf8($title) .
> "&desc=" . uri_escape_utf8($entry->{'synopsis'});
>
--------------------
> >
Very nice! :)
------------------------------------------------------------------------
majones's Profile: http://forums.slimdevices.com/member.php?userid=13029
View this thread: http://forums.slimdevices.com/showthread.php?t=53229
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins