mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-01-09 01:05:48 +01:00
Fixed: (Torznab) Overwrite description only if it's null
This commit is contained in:
parent
b86a4fd670
commit
b0e01fefdc
2 changed files with 2 additions and 3 deletions
|
|
@ -88,7 +88,7 @@ public override IEnumerable<ProviderDefinition> DefaultDefinitions
|
|||
{
|
||||
get
|
||||
{
|
||||
yield return GetDefinition("AnimeTosho", "", GetSettings("https://feed.animetosho.org"));
|
||||
yield return GetDefinition("AnimeTosho", "Anime NZB/DDL mirror", GetSettings("https://feed.animetosho.org"));
|
||||
yield return GetDefinition("MoreThanTV", "Private torrent tracker for TV / MOVIES", GetSettings("https://www.morethantv.me", apiPath: @"/api/torznab"));
|
||||
yield return GetDefinition("Generic Torznab", "A Newznab-like api for torrents.", GetSettings(""));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@
|
|||
using NzbDrone.Core.IndexerVersions;
|
||||
using NzbDrone.Core.Messaging.Events;
|
||||
using NzbDrone.Core.ThingiProvider;
|
||||
using NzbDrone.Core.ThingiProvider.Events;
|
||||
|
||||
namespace NzbDrone.Core.Indexers
|
||||
{
|
||||
|
|
@ -209,7 +208,7 @@ public override void SetProviderCharacteristics(IIndexer provider, IndexerDefini
|
|||
definition.IndexerUrls = provider.IndexerUrls;
|
||||
definition.LegacyUrls = provider.LegacyUrls;
|
||||
definition.Privacy = provider.Privacy;
|
||||
definition.Description = provider.Description;
|
||||
definition.Description ??= provider.Description;
|
||||
definition.Encoding = provider.Encoding;
|
||||
definition.Language = provider.Language;
|
||||
definition.Capabilities = provider.Capabilities;
|
||||
|
|
|
|||
Loading…
Reference in a new issue