I am trying to get my plugin's icon to display correctly on Material Skin. I can get it working on the "normal" web UI. Here are some code extracts. That I have tried having read various posts. The first one works on the normal UI.
Slim::Web::Pages->addPageLinks("icons", { $class->getDisplayName => '/plugins/SqueezeDSP/images/SqueezeDSP_300x300_f.png' });
#Slim::Web::Pages->addPageFunction("/plugins/SqueezeDSP/HTML/images/SqueezeDSP_300x300_f.png", \&handleWebStatic);
Slim::Plugin::OnlineLibrary::Plugin->addLibraryIconProvider('SqueezeDSP', '/plugins/SqueezeDSP/images/SqueezeDSP_MTL_icon_.png');
#Slim::Web::Pages->addPageLinks("icons", { $class->getDisplayName => '/Plugins/SqueezeDSP/SqueezeDSP.png' });
Any suggestions on how to get the icon displayed correctly in the extras space on both normal and material web interfaces?
Slim::Web::Pages->addPageLinks("icons", { $class->getDisplayName => '/plugins/SqueezeDSP/images/SqueezeDSP_300x300_f.png' });
#Slim::Web::Pages->addPageFunction("/plugins/SqueezeDSP/HTML/images/SqueezeDSP_300x300_f.png", \&handleWebStatic);
Slim::Plugin::OnlineLibrary::Plugin->addLibraryIconProvider('SqueezeDSP', '/plugins/SqueezeDSP/images/SqueezeDSP_MTL_icon_.png');
#Slim::Web::Pages->addPageLinks("icons", { $class->getDisplayName => '/Plugins/SqueezeDSP/SqueezeDSP.png' });
Any suggestions on how to get the icon displayed correctly in the extras space on both normal and material web interfaces?
Comment