mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-20 21:54:25 -04:00
Method, Variable, Class Renames in Readarr.Core
Co-Authored-By: ta264 <ta264@users.noreply.github.com>
This commit is contained in:
@@ -72,8 +72,8 @@ namespace NzbDrone.Core.Indexers.Newznab
|
||||
{
|
||||
releaseInfo = base.ProcessItem(item, releaseInfo);
|
||||
|
||||
releaseInfo.Artist = GetArtist(item);
|
||||
releaseInfo.Album = GetAlbum(item);
|
||||
releaseInfo.Author = GetArtist(item);
|
||||
releaseInfo.Book = GetAlbum(item);
|
||||
|
||||
return releaseInfo;
|
||||
}
|
||||
@@ -116,7 +116,7 @@ namespace NzbDrone.Core.Indexers.Newznab
|
||||
|
||||
protected virtual string GetArtist(XElement item)
|
||||
{
|
||||
var artistString = TryGetNewznabAttribute(item, "artist");
|
||||
var artistString = TryGetNewznabAttribute(item, "author");
|
||||
|
||||
if (!artistString.IsNullOrWhiteSpace())
|
||||
{
|
||||
@@ -128,7 +128,7 @@ namespace NzbDrone.Core.Indexers.Newznab
|
||||
|
||||
protected virtual string GetAlbum(XElement item)
|
||||
{
|
||||
var albumString = TryGetNewznabAttribute(item, "album");
|
||||
var albumString = TryGetNewznabAttribute(item, "book");
|
||||
|
||||
if (!albumString.IsNullOrWhiteSpace())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user