mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
New: Option to select download client when multiple of the same type are configured
(cherry picked from commit 07f0fbf9a51d54e44681fd0f74df4e048bff561a)
This commit is contained in:
@@ -143,6 +143,7 @@
|
||||
"DatabaseMigration": "Database Migration",
|
||||
"Date": "Date",
|
||||
"Dates": "Dates",
|
||||
"Default": "Default",
|
||||
"DefaultCategory": "Default Category",
|
||||
"DefaultNameCopiedProfile": "{name} - Copy",
|
||||
"Delete": "Delete",
|
||||
@@ -286,6 +287,7 @@
|
||||
"GeneralSettingsSummary": "Port, SSL, username/password, proxy, analytics, and updates",
|
||||
"Genre": "Genre",
|
||||
"GoToApplication": "Go to application",
|
||||
"GrabRelease": "Grab Release",
|
||||
"GrabReleases": "Grab Release(s)",
|
||||
"GrabTitle": "Grab Title",
|
||||
"Grabbed": "Grabbed",
|
||||
@@ -448,6 +450,7 @@
|
||||
"ManageClients": "Manage Clients",
|
||||
"ManageDownloadClients": "Manage Download Clients",
|
||||
"Manual": "Manual",
|
||||
"ManualGrab": "Manual Grab",
|
||||
"MappedCategories": "Mapped Categories",
|
||||
"MappedDrivesRunningAsService": "Mapped network drives are not available when running as a Windows Service. Please see the FAQ for more information",
|
||||
"MassEditor": "Mass Editor",
|
||||
@@ -508,9 +511,12 @@
|
||||
"OnHealthIssueHelpText": "On Health Issue",
|
||||
"OnHealthRestored": "On Health Restored",
|
||||
"OnHealthRestoredHelpText": "On Health Restored",
|
||||
"Open": "Open",
|
||||
"OpenBrowserOnStart": "Open browser on start",
|
||||
"OpenThisModal": "Open This Modal",
|
||||
"Options": "Options",
|
||||
"OverrideAndAddToDownloadClient": "Override and add to download client",
|
||||
"OverrideGrabModalTitle": "Override and Grab - {title}",
|
||||
"PackSeedTime": "Pack Seed Time",
|
||||
"PackSeedTimeHelpText": "The time a pack (season or discography) torrent should be seeded before stopping, empty is app's default",
|
||||
"PackageVersion": "Package Version",
|
||||
@@ -527,6 +533,7 @@
|
||||
"PortNumber": "Port Number",
|
||||
"Presets": "Presets",
|
||||
"Priority": "Priority",
|
||||
"PrioritySettings": "Priority: {priority}",
|
||||
"Privacy": "Privacy",
|
||||
"Private": "Private",
|
||||
"Protocol": "Protocol",
|
||||
@@ -612,6 +619,7 @@
|
||||
"SeedTimeHelpText": "The time a torrent should be seeded before stopping, empty is app's default",
|
||||
"Seeders": "Seeders",
|
||||
"SelectAll": "Select All",
|
||||
"SelectDownloadClientModalTitle": "{modalTitle} - Select Download Client",
|
||||
"SelectIndexers": "Select Indexers",
|
||||
"SelectedCountOfCountReleases": "Selected {selectedCount} of {itemCount} releases",
|
||||
"SemiPrivate": "Semi-Private",
|
||||
|
@@ -1,6 +1,7 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text.Json.Serialization;
|
||||
using NzbDrone.Core.Indexers;
|
||||
using NzbDrone.Core.Parser;
|
||||
using NzbDrone.Core.Parser.Model;
|
||||
@@ -55,6 +56,9 @@ namespace Prowlarr.Api.V1.Search
|
||||
return $"{Title}{extension}";
|
||||
}
|
||||
}
|
||||
|
||||
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
|
||||
public int? DownloadClientId { get; set; }
|
||||
}
|
||||
|
||||
public static class ReleaseResourceMapper
|
||||
|
@@ -74,7 +74,7 @@ namespace Prowlarr.Api.V1.Search
|
||||
|
||||
try
|
||||
{
|
||||
await _downloadService.SendReportToClient(releaseInfo, source, host, indexerDef.Redirect, null);
|
||||
await _downloadService.SendReportToClient(releaseInfo, source, host, indexerDef.Redirect, release.DownloadClientId);
|
||||
}
|
||||
catch (ReleaseDownloadException ex)
|
||||
{
|
||||
|
Reference in New Issue
Block a user