public static void AddToCollection(Collection col, BeatmapEntry entry)
 {
     if (string.IsNullOrEmpty(col.ImagePath))
     {
         OsuFile osuFile =
             new OsuFile(Path.Combine(Domain.OsuSongPath, entry.FolderName, entry.BeatmapFileName));
         if (osuFile.Events.BackgroundInfo != null)
         {
             var imgPath = Path.Combine(Domain.OsuSongPath, entry.FolderName, osuFile.Events.BackgroundInfo.Filename);
             if (File.Exists(imgPath))
             {
                 col.ImagePath = imgPath;
                 DbOperator.UpdateCollection(col);
             }
         }
     }
     DbOperator.AddMapToCollection(entry, col);
 }