I fixed it. with a lot of tinkering around.
alias mp3s.amount { var %mp3s.all = $findfile($get.mp3.ini(mp3,dir),*.mp3,0) | $put.mp3.ini(mp3,amount,%mp3s.all) }
alias mp3s.all { return $get.mp3.ini(mp3,amount) }
then i just use
alias mp3s.all { return $get.mp3.ini(mp3,amount) }
and in the dialog use
%mp3 = $findfile($mp3.dir,*.mp3,$rand(1,$mp3s.all))
did -ra mp3random 1 $remove($nopath(%mp3),.mp3)
And when i init the dialog i just use
mp3s.amount to get total mp3 amount
Now speeds are back to where they were in 6.16
Last edited by davjak; 29/04/06 03:46 PM.