Method, Variable, Class Renames in Readarr.Core

Co-Authored-By: ta264 <ta264@users.noreply.github.com>
This commit is contained in:
Qstick
2020-05-12 22:48:46 -04:00
parent 56aedcc467
commit 8547af9fae
572 changed files with 6584 additions and 6597 deletions
@@ -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())
{