mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-16 02:02:55 -07:00
Package update/refresh
This commit is contained in:
parent
e5cc355dfe
commit
ae9a4e3b1c
13 changed files with 44 additions and 48 deletions
|
@ -69,6 +69,12 @@ namespace Ombi.Core.Engine
|
|||
};
|
||||
}
|
||||
|
||||
if(album?.artist == null)
|
||||
{
|
||||
// Lookup the artist
|
||||
//album.artist = await _lidarrApi.ArtistLookup(album.artist, s.ApiKey, s.FullUri);
|
||||
}
|
||||
|
||||
var userDetails = await GetUser();
|
||||
|
||||
var requestModel = new AlbumRequest
|
||||
|
@ -83,7 +89,7 @@ namespace Ombi.Core.Engine
|
|||
Title = album.title,
|
||||
Disk = album.images?.FirstOrDefault(x => x.coverType.Equals("disc"))?.url,
|
||||
Cover = album.images?.FirstOrDefault(x => x.coverType.Equals("cover"))?.url,
|
||||
ForeignArtistId = album?.artist?.foreignArtistId ?? string.Empty,
|
||||
ForeignArtistId = album?.artist?.foreignArtistId ?? string.Empty, // This needs to be populated to send to Lidarr for new requests
|
||||
RequestedByAlias = model.RequestedByAlias
|
||||
};
|
||||
if (requestModel.Cover.IsNullOrEmpty())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue