Fixed: Queue conflicts with the same download in multiple clients

Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
pull/2566/head
Qstick 3 years ago
parent 66ef8fd551
commit e9762b6919

@ -92,14 +92,7 @@ namespace NzbDrone.Core.Queue
DownloadForced = downloadForced
};
if (album != null)
{
queue.Id = HashConverter.GetHashInt31(string.Format("trackedDownload-{0}-album{1}", trackedDownload.DownloadItem.DownloadId, album.Id));
}
else
{
queue.Id = HashConverter.GetHashInt31(string.Format("trackedDownload-{0}", trackedDownload.DownloadItem.DownloadId));
}
queue.Id = HashConverter.GetHashInt31($"trackedDownload-{trackedDownload.DownloadClient}-{trackedDownload.DownloadItem.DownloadId}-album{album?.Id ?? 0}");
if (queue.Timeleft.HasValue)
{

Loading…
Cancel
Save