I hope the answer to this is simple.
How do I determine if a plugin, specifically Material Skin, is installed
using the CLI? Is there a way?
R Greg Dawson
Squeezelite-X
rgdawson's Profile: http://forums.slimdevices.com
rgdawson wrote:
> How do I determine if a plugin, specifically Material Skin, is installed
> using the CLI?
Call
Code:
["can","material-skin","items","?"]
this will return the following if Material is installed:
Code:
"res
cpd73 wrote:
> Call >
Code:
> > ["can","material-skin","items","?"]
> > this will return the following if Material is installed:>
Code:
> > "result":{"_can":1}
> >
>
> -"_can":0- => Material is *not*
Thanks much, Craig.
Please not that Craig's suggestion works for his plugin. In general
you'd ask the "can" question for any command a plugin implements. This
of course would not work with plugins that don't provide any custom
commands.
--
Michael
__