Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/commit/1fc2866032cbfaf9a833d6807a98de22dd971848
You should set ROOT_URL correctly, otherwise the web may not work correctly.
3 changed files with
13 additions and
7 deletions
@ -87,9 +87,12 @@ namespace NzbDrone.Core.Download.Clients.QBittorrent
public List < QBittorrentTorrent > GetTorrents ( QBittorrentSettings settings )
{
var request = BuildRequest ( settings ) . Resource ( "/query/torrents" )
. AddQueryParam ( "label" , settings . TvCategory )
. AddQueryParam ( "category" , settings . TvCategory ) ;
var request = BuildRequest ( settings ) . Resource ( "/query/torrents" ) ;
if ( settings . TvCategory . IsNotNullOrWhiteSpace ( ) )
{
request . AddQueryParam ( "label" , settings . TvCategory ) ;
request . AddQueryParam ( "category" , settings . TvCategory ) ;
}
var response = ProcessRequest < List < QBittorrentTorrent > > ( request , settings ) ;
return response ;
@ -86,8 +86,11 @@ namespace NzbDrone.Core.Download.Clients.QBittorrent
public List < QBittorrentTorrent > GetTorrents ( QBittorrentSettings settings )
{
var request = BuildRequest ( settings ) . Resource ( "/api/v2/torrents/info" )
. AddQueryParam ( "category" , settings . TvCategory ) ;
var request = BuildRequest ( settings ) . Resource ( "/api/v2/torrents/info" ) ;
if ( settings . TvCategory . IsNotNullOrWhiteSpace ( ) )
{
request . AddQueryParam ( "category" , settings . TvCategory ) ;
}
var response = ProcessRequest < List < QBittorrentTorrent > > ( request , settings ) ;
return response ;
@ -89,11 +89,11 @@ namespace NzbDrone.Core.Download.Clients.RTorrent
foreach ( RTorrentTorrent torrent in torrents )
{
// Don't concern ourselves with categories other than specified
if ( torrent. Category ! = Settings . TvCategory ) continue ;
if ( Settings. TvCategory . IsNotNullOrWhiteSpace ( ) & & torrent. Category ! = Settings . TvCategory ) continue ;
if ( torrent . Path . StartsWith ( "." ) )
{
throw new DownloadClientException ( "Download paths paths must be absolute. Please specify variable \"directory\" in rTorrent.") ;
throw new DownloadClientException ( "Download paths must be absolute. Please specify variable \"directory\" in rTorrent.") ;
}
var item = new DownloadClientItem ( ) ;