danco Wrote:
> But I think that ideally in that case the error message should appear in
> several places. First, on the Squeezebox. Second, in slimserver.log if
> that is possible. And perhaps in other places.We might be able to add a
> message to the Web UI. For Windows I have
added the following code:
Code:
--------------------
# Check for mplayer - Windows only for now
if (Slim::Utils::OSDetect::OS() eq "win")
{
my $path = Slim::Utils::Misc::findbin('mplayer');
if (!$path)
{
$::d_plugins && msg("AlienBBC - mplayer not found\n");
$warning = string('PLUGIN_ALIENBBC_MPLAYER_NOT_FOUND');
}
}
--------------------
This was taken from the code that searches for lame could we do
something similar for the Mac. If you have time could you try
changing:
if (Slim::Utils::OSDetect::OS() eq "win")
to
if (Slim::Utils::OSDetect::OS() eq "mac")
(line 1143 in plug.pm)
Neil
--
Neil Sleightholm
------------------------------------------------------------------------
Neil Sleightholm's Profile: http://forums.slimdevices.com/member.php?userid=131
View this thread: http://forums.slimdevices.com/showthread.php?t=22476
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins