1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-18 21:35:27 -04:00

Fixed: Manual importing queued items with seriesId to avoid title parsing

This commit is contained in:
Bogdan
2025-03-18 13:20:04 +02:00
committed by Mark McDowall
parent 64956d7be7
commit 08c0c5aa30

View File

@@ -25,7 +25,7 @@ namespace Sonarr.Api.V3.ManualImport
[Produces("application/json")]
public List<ManualImportResource> GetMediaFiles(string folder, string downloadId, int? seriesId, int? seasonNumber, bool filterExistingFiles = true)
{
if (seriesId.HasValue)
if (seriesId.HasValue && downloadId.IsNullOrWhiteSpace())
{
return _manualImportService.GetMediaFiles(seriesId.Value, seasonNumber).ToResource().Select(AddQualityWeight).ToList();
}