|
|
|
@ -80,6 +80,11 @@ namespace NzbDrone.Core.Download.Clients.QBittorrent
|
|
|
|
|
request.AddFormParameter("category", settings.MusicCategory);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if ((QBittorrentState)settings.InitialState == QBittorrentState.Pause)
|
|
|
|
|
{
|
|
|
|
|
request.AddFormParameter("paused", true);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var result = ProcessRequest(request, settings);
|
|
|
|
|
|
|
|
|
|
// Note: Older qbit versions returned nothing, so we can't do != "Ok." here.
|
|
|
|
@ -100,6 +105,11 @@ namespace NzbDrone.Core.Download.Clients.QBittorrent
|
|
|
|
|
request.AddFormParameter("category", settings.MusicCategory);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if ((QBittorrentState)settings.InitialState == QBittorrentState.Pause)
|
|
|
|
|
{
|
|
|
|
|
request.AddFormParameter("paused", true);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var result = ProcessRequest(request, settings);
|
|
|
|
|
|
|
|
|
|
// Note: Current qbit versions return nothing, so we can't do != "Ok." here.
|
|
|
|
|