Mnyb wrote:
> It would be here.
>
> /usr/lib/perl5/vendor_perl/Slim/Plugin/LMA/Plugin.pm
>
>
> Or just at the SSH prompt type "cat
> /usr/lib/perl5/vendor_perl/Slim/Plugin/LMA/Plugin.pm" (remove the "")
package Slim::Plugin::LMA::Plugin;
# $Id$
# Load Live Music Archive data via an OPML file - so we can ride on top
of the Podcast Browser
use strict;
use base qw(Slim::Plugin::OPMLBased);
use Slim::Networking::SqueezeNetwork;
sub initPlugin {
my $class = shift;
Slim::Player::ProtocolHandlers->registerIconHandler(
qr/(?:archive\.org|squeezenetwork\.com.*\/lma\/)/,
sub { return $class->_pluginDataFor('icon'); }
);
$class->SUPER::initPlugin(
feed => 'http://uesmartradio.com/api/lma/v1/opml',
tag => 'lma',
menu => 'music_services',
style => 'albumcurrent',
weight => 60,
is_app => 1,
);
}
sub getDisplayName {
return 'PLUGIN_LMA_MODULE_NAME';
}
# Don't add this item to any menu
sub playerMenu { }
1;
------------------------------------------------------------------------
garym's Profile: http://forums.slimdevices.com/member.php?userid=17325
View this thread: http://forums.slimdevices.com/showthread.php?t=96265
_______________________________________________
Radio mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/radio