mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-12 11:15:43 +02:00
New: Improve messaging when imports are left in queue
This commit is contained in:
parent
c897608bab
commit
863d24996c
@ -94,7 +94,7 @@ public void Check(TrackedDownload trackedDownload)
|
|||||||
|
|
||||||
if (series == null)
|
if (series == null)
|
||||||
{
|
{
|
||||||
trackedDownload.Warn("Series title mismatch; automatic import is not possible.");
|
trackedDownload.Warn("Series title mismatch; automatic import is not possible. Check the download troubleshooting entry on the wiki for common causes.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -104,7 +104,7 @@ public void Check(TrackedDownload trackedDownload)
|
|||||||
// Show a warning if the release was matched by ID and the source is not interactive search
|
// Show a warning if the release was matched by ID and the source is not interactive search
|
||||||
if (seriesMatchType == SeriesMatchType.Id && releaseSource != ReleaseSourceType.InteractiveSearch)
|
if (seriesMatchType == SeriesMatchType.Id && releaseSource != ReleaseSourceType.InteractiveSearch)
|
||||||
{
|
{
|
||||||
trackedDownload.Warn("Found matching series via grab history, but release was matched to series by ID. Automatic import is not possible.");
|
trackedDownload.Warn("Found matching series via grab history, but release was matched to series by ID. Automatic import is not possible. See the FAQ for details.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -163,7 +163,7 @@ public void Import(TrackedDownload trackedDownload)
|
|||||||
|
|
||||||
var statusMessages = new List<TrackedDownloadStatusMessage>
|
var statusMessages = new List<TrackedDownloadStatusMessage>
|
||||||
{
|
{
|
||||||
new TrackedDownloadStatusMessage("One or more episodes expected in this release were not imported or missing", new List<string>())
|
new TrackedDownloadStatusMessage("One or more episodes expected in this release were not imported or missing from the release", new List<string>())
|
||||||
};
|
};
|
||||||
|
|
||||||
if (importResults.Any(c => c.Result != ImportResultType.Imported))
|
if (importResults.Any(c => c.Result != ImportResultType.Imported))
|
||||||
@ -242,7 +242,7 @@ public bool VerifyImport(TrackedDownload trackedDownload, List<ImportResult> imp
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
_logger.Debug("Not all episodes have been imported for {0}", trackedDownload.DownloadItem.Title);
|
_logger.Debug("Not all episodes have been imported for the release '{0}'", trackedDownload.DownloadItem.Title);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -264,7 +264,7 @@ private bool ValidatePath(TrackedDownload trackedDownload)
|
|||||||
if ((OsInfo.IsWindows && !downloadItemOutputPath.IsWindowsPath) ||
|
if ((OsInfo.IsWindows && !downloadItemOutputPath.IsWindowsPath) ||
|
||||||
(OsInfo.IsNotWindows && !downloadItemOutputPath.IsUnixPath))
|
(OsInfo.IsNotWindows && !downloadItemOutputPath.IsUnixPath))
|
||||||
{
|
{
|
||||||
trackedDownload.Warn("[{0}] is not a valid local path. You may need a Remote Path Mapping.", downloadItemOutputPath);
|
trackedDownload.Warn("[{0}] is not a valid local path. You may need a Remote Path Mapping. Check the download troubleshooting entry on the wiki for details.", downloadItemOutputPath);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user