public override bool Finish(bool close = true)
{
View.Report("Finalizing");
try
{
UpdateId3Tags();
AddToiTunes();
}
catch (Exception e)
{
// Should have been handled already
View.Report("Invalid file!", true);
CrashHandler.Throw("Invalid file was downloaded!", e);
return false;
}
// Log the song genre to see how SDownload is used
if (Genre != null && !Genre.Equals(String.Empty))
BugSenseHandler.Instance.SendEventAsync(Genre);
base.Finish(close);
return true;
}