"labelenum" type in Scraper Settings

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
redtapemedia Offline
UMM Project
Posts: 545
Joined: Mar 2009
Post: #1
Okay I've been playing around with the labelenum type and it appears to me that it can't be used for conditionals, only $INFO[] type vars within the scraper. Is this correct or am I missing something?
The reason I am asking is Rotten Tomatoes has three types of ratings (default, cream of the crop and community ratings) and I would like to add the ability to select which one to scrape. It doesn't make much sense to have three separate Boolean values, especially as you then induce the possibility of overwriting if more than one Boolean value is true.

Thanks.
find quote
spiff Offline
Grumpy Bastard Developer
Posts: 12,234
Joined: Nov 2003
Reputation: 82
Post: #2
correct, not possible atm. can be faked with relative ease though.stuff the value in your input buffer and require it at the start of the input for the relevant expression to match.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
redtapemedia Offline
UMM Project
Posts: 545
Joined: Mar 2009
Post: #3
spiff Wrote:correct, not possible atm. can be faked with relative ease though.stuff the value in your input buffer and require it at the start of the input for the relevant expression to match.

Thanks for the workaround, I'll give that a shot.
find quote