mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-22 22:14:44 -04:00
Fixed: Allow downloading any search result (#525)
* Allow downloading any search result Ones that couldn't be parsed get a red icon * Not required - initialized to false * Add a warning the the queue page for manual downloads
This commit is contained in:
@@ -94,10 +94,20 @@ namespace NzbDrone.Core.DecisionEngine
|
||||
if (remoteAlbum.Artist == null)
|
||||
{
|
||||
decision = new DownloadDecision(remoteAlbum, new Rejection("Unknown Artist"));
|
||||
// shove in the searched artist in case of forced download in interactive search
|
||||
if (searchCriteria != null)
|
||||
{
|
||||
remoteAlbum.Artist = searchCriteria.Artist;
|
||||
remoteAlbum.Albums = searchCriteria.Albums;
|
||||
}
|
||||
}
|
||||
else if (remoteAlbum.Albums.Empty())
|
||||
{
|
||||
decision = new DownloadDecision(remoteAlbum, new Rejection("Unable to parse albums from release name"));
|
||||
if (searchCriteria != null)
|
||||
{
|
||||
remoteAlbum.Albums = searchCriteria.Albums;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user