private bool Migrate_33 ()
{
// We used to have a bug where MimeType didn't get set for tracks we ripped,
// so set any blank ones now. See BGO #536590
foreach (var ext in new string [] {"mp3", "ogg", "flac", "aac", "oga", "wma", "wm"}) {
Execute (String.Format (
"UPDATE CoreTracks SET MimeType = 'taglib/{0}' WHERE PrimarySourceId = 1 AND (MimeType IS NULL OR MimeType = '') AND Uri LIKE '%.{0}'", ext
));
}
return true;
}