Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/commit/bcf45bb68a72e73df57ac1ccf3ca2a8da4a4d78b You should set ROOT_URL correctly, otherwise the web may not work correctly.

Fixed: Send category to qBittorrent when adding torrent/magnet

pull/2440/head
Mark McDowall 7 years ago
parent 9744873e7a
commit bcf45bb68a

@ -75,6 +75,11 @@ namespace NzbDrone.Core.Download.Clients.QBittorrent
.Post()
.AddFormParameter("urls", torrentUrl);
if (settings.TvCategory.IsNotNullOrWhiteSpace())
{
request.AddFormParameter("category", settings.TvCategory);
}
var result = ProcessRequest(request, settings);
// Note: Older qbit versions returned nothing, so we can't do != "Ok." here.
@ -105,6 +110,11 @@ namespace NzbDrone.Core.Download.Clients.QBittorrent
.Post()
.AddFormParameter("hashes", hash);
if (settings.TvCategory.IsNotNullOrWhiteSpace())
{
request.AddFormParameter("category", settings.TvCategory);
}
ProcessRequest(request, settings);
}

Loading…
Cancel
Save