...
 
Commits (2)
......@@ -70,7 +70,8 @@ var addFolder = function(folder, callback) {
song.albumArtist = artistCorrections[song.albumArtist];
}
song.compare = song.albumArtist.toLowerCase() + '/' + song.year + '/' + song.album.toLowerCase() + '/' + song.discNumber + '/' + ("0000" + song.trackNumber).slice(-4);
// why was i using song year in the comparison ... why does that matter?
song.compare = song.albumArtist.toLowerCase() + '/' + song.album.toLowerCase() + '/' + song.discNumber + '/' + ("0000" + song.trackNumber).slice(-4);
songs.push( song );
next();
return;
......@@ -126,7 +127,7 @@ var addFolder = function(folder, callback) {
compare: ''
};
song.compare = song.albumArtist.toLowerCase() + '/' + song.year + '/' + song.album.toLowerCase() + '/' + song.discNumber + '/' + ("0000" + song.trackNumber).slice(-4);
song.compare = song.albumArtist.toLowerCase() + '/' + song.album.toLowerCase() + '/' + song.discNumber + '/' + ("0000" + song.trackNumber).slice(-4);
currentSongsCache[filename] = song;
songs.push( song );
......