PDA

View Full Version : stringcompare problem (plugins)


Jeroen
2009-03-01, 17:31
-please delete/ignore this post, i'm an idiot-

I'm using

<visible>stringcompare(container.folderpath,plugin://video/)</visible>

to conditionaly display
$INFO[Container.PluginName]
and $INFO[Container.Property(PluginCategory)]

In the AMT plugin for instance it would display these fine when I implemented this a while ago. It doesn't seem to work anymore though, and I can't remember changing anything to my code.

Did something break or is it just me again? ;)


note: the space in plugin:// is not in my code, seems to be a forum quirk

Nuka1195
2009-03-01, 17:42
not sure how that works, do you have to limit the length?

<visible>stringcompare(container.folderpath,plugin://video/,15)</visible>

since the folderpath would be plugin://video/pluginname/?