StringCompare(info,$INFO[]) not working
#1
I'm trying to use StringCompare(info,$INFO[]) but it's not working anymore.

Has there been any changes to this lately that could be causing the problem?

Thanks.
Reply
#2
any easy way to reproduce it?
Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first

My previous forum/trac nickname: grajen3
Reply
#3
I'll make something up for Confluence.
Reply
#4
Try without $INFO[], StringCompare(Window(Home).Property(NextAired.1.ShowTitle),ListItem.TVShowTitle) works... I think there are some problems because it shouldn't work without $INFO imo.
Image
Reply
#5
That fixed it, thanks Black.

So is this the intended behaviour now?
Reply
#6
I don't think so, will need to check what changed that
Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first

My previous forum/trac nickname: grajen3
Reply
#7
ok, got some more info on this matter:

You can use $INFO but there is a catch: if You are using $INFO it will just convert $INFO[whatever here] to constant string when window is loading and will always compare to that constant string - so listitems are out of luck here currently as they are dynamicly created after window is loaded

This is common for StringCompare and SubString and IMO it shouldn't be like this propably
Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first

My previous forum/trac nickname: grajen3
Reply

Logout Mark Read Team Forum Stats Members Help
StringCompare(info,$INFO[]) not working0