protected override void OnDownloadStatusChanged (OssiferDownloadStatus status, string mimetype, string destinationUri)
{
// FIXME: handle the error case
if (status != OssiferDownloadStatus.Finished) {
return;
}
if (IsEmusicContentType (mimetype)) {
Log.Debug ("OssiferWebView: downloaded purchase list", destinationUri);
Banshee.ServiceStack.ServiceManager.Get<EmusicService> ()
.ImportEmx (new SafeUri (destinationUri).LocalPath);
Reload ();
}
}