Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Prowlarr/commit/a443a876039dbccf325af33ebe7503b837d36049?style=unified&whitespace=show-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
13 additions and
2 deletions
@ -16,7 +16,7 @@ namespace NzbDrone.Core.Indexers.Definitions.Avistaz
{
public override bool SupportsRss = > true ;
public override bool SupportsSearch = > true ;
public override bool SupportsPagination = > tru e;
public override bool SupportsPagination = > fals e;
public override int PageSize = > 50 ;
public override TimeSpan RateLimit = > TimeSpan . FromSeconds ( 6 ) ;
public override IndexerCapabilities Capabilities = > SetCapabilities ( ) ;
@ -69,11 +69,22 @@ namespace NzbDrone.Core.Indexers.Definitions.Avistaz
DownloadVolumeFactor = row . DownloadMultiply ,
UploadVolumeFactor = row . UploadMultiply ,
MinimumRatio = 1 ,
MinimumSeedTime = 172800, // 48 hours
MinimumSeedTime = 259200, // 72 hours
Languages = row . Audio ? . Select ( x = > x . Language ) . ToList ( ) ? ? new List < string > ( ) ,
Subs = row . Subtitle ? . Select ( x = > x . Language ) . ToList ( ) ? ? new List < string > ( )
} ;
if ( row . FileSize is > 0 )
{
var sizeGigabytes = row . FileSize . Value / Math . Pow ( 1024 , 3 ) ;
release . MinimumSeedTime = sizeGigabytes switch
{
> 50.0 = > ( long ) ( ( 100 * Math . Log ( sizeGigabytes ) ) - 219.2023 ) * 3600 ,
_ = > 259200 + ( long ) ( sizeGigabytes * 7200 )
} ;
}
if ( row . MovieTvinfo ! = null )
{
release . ImdbId = ParseUtil . GetImdbId ( row . MovieTvinfo . Imdb ) . GetValueOrDefault ( ) ;