mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-19 21:13:28 -07:00
Fixed: Queue conflicts with the same download in multiple clients
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
This commit is contained in:
parent
66ef8fd551
commit
e9762b6919
1 changed files with 1 additions and 8 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue