1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-14 11:23:42 +02:00

New: Improve messaging when imports are left in queue

This commit is contained in:
bakerboy448 2023-01-21 17:28:33 -06:00 committed by GitHub
parent c897608bab
commit 863d24996c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -94,7 +94,7 @@ public void Check(TrackedDownload trackedDownload)
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;
}
@ -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
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;
}
}
@ -163,7 +163,7 @@ public void Import(TrackedDownload trackedDownload)
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))
@ -242,7 +242,7 @@ public bool VerifyImport(TrackedDownload trackedDownload, List<ImportResult> imp
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;
}
@ -264,7 +264,7 @@ private bool ValidatePath(TrackedDownload trackedDownload)
if ((OsInfo.IsWindows && !downloadItemOutputPath.IsWindowsPath) ||
(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;
}