$loop(%_path%,1)0,$if2($replace($lower(%genre%),others,0,other,0,cabaret,1,blues,2,folk,2,schlagers,3,carribean,4,country,5,chanson,6,disco,7,easy listening,8,feest,9,oldies,10,bruin café,11,instrumentaal,12,jazz,13,accordeon,13,karaoke,14,kerst,15,christmas,15,xmas,15,kerstmis,15,classical,16,classics,16,classic,16,piratenhits,17,smartlap,18,live,19,nederpop,20,pop,21),0),$if2(%year%,0),0,0,0,%_path% $loop(%_path%,1)0,$if2($replace($lower(%genre%),rock,22,r&b,23,soul,23,top40,24,top 40,24,soundtracks,25,soundtrack,25,kinder,26,jeugd,26,reggae,27,rock&roll,28,nationaal,29,nederlandstalig,29,nederlands,29,nederland,29,international,30,sport,31,musical,32,rock,33,rock ballads,34,apres ski,35,newwave,36,new wave,36,new age,36,newage,36,grappig,37,parodie,37,remix,38,12 inch,38,rap,39,hiphop,39,lovesongs,40,carnaval,41),0),$if2(%year%,0),0,0,0,%_path% $loop(%_path%,1)0,$if2($replace($lower(%genre%),zuid-amerikaans,42,latin,42,funk,43,freestyle,44,60s,45,70s,46,'80s',47,90s,48),0),$if2(%year%,0),0,0,0,%_path% $loopend() $loopend() $loopend() $regexp(%_datetime%,x,y) counter =%_counter% max loop = %_max_counter% short date =%_date%