Hello pippin and erland,

i managed to open provided PDF's, images or other internet links inside
of iPeng by adding the 'weblink' property to the "Custom Browse"-Plugin
of erland as suggested here:

http://forums.slimdevices.com/showthread.php?95494-Suggested-plugin-PDF-viewer

Very nice. But there remains a problem: the weblink is only working with
iPeng, when there are no 'actions' defined for the used item. I even had
to remove the 'base' properties of the menu, which brakes almost all
other functionality of Custom Browse. I am not sure, but my feeling is
that this could/should be solved in iPeng. What do you think?

Thanks.

Some code example:

my $weblink =
"http://".Slim::Utils::Network::serverAddr().":9000/".$item->{$item->{'itemformat'}};

# weblink doesn't work with set 'actions' in iPeng, also 'base' property
has do be undefined
$request->addResult('base',{});
                                
$request->addResultLoop('item_loop',$cnt,'text',$name);
$request->addResultLoop('item_loop',$cnt,'weblink',$weblink);


------------------------------------------------------------------------
MaLu's Profile: http://forums.slimdevices.com/member.php?userid=56586
View this thread: http://forums.slimdevices.com/showthread.php?t=51929

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to