mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-21 22:04:31 -04:00
New: Detect audio vs text from newznab categories
This commit is contained in:
@@ -159,6 +159,7 @@ namespace NzbDrone.Core.Indexers
|
||||
releaseInfo.BasicAuthString = GetBasicAuth();
|
||||
releaseInfo.InfoUrl = GetInfoUrl(item);
|
||||
releaseInfo.CommentUrl = GetCommentUrl(item);
|
||||
releaseInfo.Categories = GetCategories(item);
|
||||
|
||||
try
|
||||
{
|
||||
@@ -230,6 +231,11 @@ namespace NzbDrone.Core.Indexers
|
||||
return ParseUrl((string)item.Element("comments"));
|
||||
}
|
||||
|
||||
protected virtual List<int> GetCategories(XElement item)
|
||||
{
|
||||
return new List<int>();
|
||||
}
|
||||
|
||||
protected virtual long GetSize(XElement item)
|
||||
{
|
||||
if (UseEnclosureLength)
|
||||
|
||||
Reference in New Issue
Block a user