bpa;668678 Wrote:
> In another thread a user has noted that with the change to "iplayer://"
> the description field that is displayed in WebUI and Squeezeplay
> context menu (Radio "+" or Touch long press) before playing an item has
> been omitted.
>
> I think the description field can be added back by the following change
> in BBCXMLParser.pm The changed lines are in red.
>
> >
Code:
--------------------
> >
> $byDay{$day}{$start} = {
> 'name' => sprintf("%02d:%02d %s", $hour, $min,
$title),
> 'url' => $url,
> 'icon' => $icon,
> 'type' => 'audio',
> 'description' => $entry->{'synopsis'},
> } if ($opts->{'byday'});
>
> $byKey{$key}{$start} = {
> 'name' => sprintf("%02d:%02d %s", $hour, $min,
$day == $today ? 'Today' : $weekdays[$wday]),
> 'url' => $url,
> 'icon' => $icon,
> 'type' => 'audio',
> 'description' => $entry->{'synopsis'},
> } if ($opts->{'bykey'});
>
> $list{$start} = {
> 'name' => sprintf("%02d:%02d %s - %s", $hour,
$min, $day == $today ? 'Today' : $weekdays[$wday], $title),
> 'url' => $url,
> 'icon' => $icon,
> 'type' => 'audio',
> 'description' => $entry->{'synopsis'},
> } unless ($opts->{'byday'} || $opts->{'bykey'});
>
--------------------
> >
Thanks Bryan - I obviously took a bit too much out. Will look to
include in an update soon.
--
Triode
------------------------------------------------------------------------
Triode's Profile: http://forums.slimdevices.com/member.php?userid=17
View this thread: http://forums.slimdevices.com/showthread.php?t=53229
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins