by P3rv3rt B3ar on Wed Jul 05, 2006 10:26 am
foreach item in cat{ // in pseudo, really implemented like moveTo
if(Xhelper.ConvertVariable("%"+cat+">"+played+"%")="") Xhelper.SendCommand("command:category:variable set:"+cat+":playing:false");
}
then do custom search for false... in this case u will have only problems if there is no items with false... that case all items are presented in custom search AFAIK.
point was that i know for certain that convertvariable behaves ok with empty items... as long field exist... if it doesnt im not certain about behaviour.... but i presumed u have created the field for each item...