Great - the log now works and it tells me that it either didn't or
couldn't open the addon directory. You could double check permission
and that naming especially upper/lower case the pathname must be
"Plugins/Alien/AlienAddon"
More help could be got by adding debug messages.
In Alien/Plugin.pm - there is a routine called installedAddons which
searches for the files. The following fragement has two additional
debug message ("$::d_plugins && msg")- you could add them to your
Plugin.pm and then see what appears in the debug log.
Code:
--------------------
sub installedAddons
{
my @AddonDirList = ();
my %addonlist = ();
if (!scalar @AddonDirList) {
if (Slim::Utils::OSDetect::OS() eq 'mac') {
push @AddonDirList, $ENV{'HOME'} .
"/Library/SlimDevices/Plugins/Alien/AlienAddon";
push @AddonDirList,
"/Library/SlimDevices/Plugins/Alien/AlienAddon";
}
push @AddonDirList, catdir($Bin, "Plugins/Alien/AlienAddon");
}
for my $addondir (@AddonDirList) {
$::d_plugins && msg("Opening Addon directory $addondir\n");
opendir(DIR, $addondir) || next;
for my $addon ( sort(readdir(DIR)) ) {
$::d_plugins && msg("Opening Addon file $addon\n");
next if ($addon =~ m/^\./i);
--------------------
--
bpa
------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=24533
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins