Moonbase;408471 Wrote: 
> 
> Q1: Will "oneof" follow a sequence if more than one given tag is
> found?
> 
> Like left-to-right, the last one found overwrites the previous — or:
> priority left-to-right, the leftmost one "wins"?
> 
leftmost wins

Moonbase;408471 Wrote: 
> 
> With current logic, I might have to map:
> >   > a  > 
  - DECADE=combine YEAR(exp=^(\d\d\d))|YEAR(text=0)
  - ORIGDECADE=combine ORIGYEAR(exp=^(\d\d\d))|ORIGYEAR(text=0)
  - MIXDECADE=oneof ORIGDECADE|DECADE
  > > > 
> 
> Q2: Would this work? (i.e., "constructing" a new tag and using it
> immediately?)
> 
I don't think this will work at the moment but I'll try to add it in
the next version. Currently the virtual tag expression needs to consist
of real tags.


Moonbase;408471 Wrote: 
> 
> Q3: By giving the sequence "oneof ORIGDECADE|DECADE", could I be sure
> ORIGDECADE is preferred over DECADE, if both are there?
> 
Yes

Moonbase;408471 Wrote: 
> 
> Q4: I could -not- use something like this, right?
> -DECADE=oneof (combine
> ORIGYEAR(exp=^(\d\d\d))|ORIGYEAR(text=0))|(combine
> YEAR(exp=^(\d\d\d))|YEAR(text=0))-
> 
No
I think it will be easier to implement your first thought to use
virtual tags in the expression.


-- 
erland

Erland Isaksson
'My homepage' (http://erland.isaksson.info) 'My download page'
(http://erland.isaksson.info/download)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan,  Custom Skip, Multi Library, Title Switcher and Database
Query plugins'
(http://wiki.erland.isaksson.info/index.php/Category:SlimServer))
------------------------------------------------------------------------
erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=49483

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to