At a forum member's request, I uploaded my hacked version (which saves the 'unknown' MP3s) here:
http://www.megaupload.com/?d=91MI1BR2
Sorry about the lamer download site, but hey, it's free.
For those like me that don't trust anonymous jars ;-), here are the changes:
utilSongInfo.java
import java.util.*;
// Change main c'tor:
public SongInfo(String artist, String title) {
if ( null == artist )
this.artist = "unknown";
else
this.artist = artist;
if ( null == title ) {
GregorianCalendar gc = new GregorianCalendar();
this.title = "" +
gc.get(Calendar.YEAR) +
Util.fmt(gc.get(Calendar.MONTH),2) +
Util.fmt(gc.get(Calendar.DAY_OF_MONTH),2) +
Util.fmt(gc.get(Calendar.HOUR_OF_DAY),2) +
Util.fmt(gc.get(Calendar.MINUTE),2) +
Util.fmt(gc.get(Calendar.SECOND),2);
}
else
this.title = title;
}
...
add to util/Util.java:
public static String fmt(int i, int w) {
StringBuffer sb = new StringBuffer();
while (w-- > 0) {
sb.append( (char)('0' + (i % 10)) );
i /= 10;
}
sb.reverse();
return sb.toString();
}
--h