I interpreted your change as this:
Change this:
----------------------------------
if (file.getName().indexOf("access") != -1) {
if (!foundBuffer) {
tmpMp3File1 = file;
foundBuffer = true;
} else {
tmpMp3File2 = file;
break;
}
}
-------------------------------------
to this:
------------------------------------
try{
Long.parseLong(file.getName());
if (!foundBuffer) {
tmpMp3File1 = file;
foundBuffer = true;
} else {
tmpMp3File2 = file;
break;
}
}catch(NumberFormatException e){}
--------------------------------------
I assume this is incorrect since it also didn't work for me.