mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-25 22:59:10 -04:00
26 lines
668 B
C#
26 lines
668 B
C#
using System.Collections.Generic;
|
|
using NzbDrone.Common.Extensions;
|
|
|
|
namespace NzbDrone.Core.IndexerSearch.Definitions
|
|
{
|
|
public class MusicSearchCriteria : SearchCriteriaBase
|
|
{
|
|
public string Album { get; set; }
|
|
public string Artist { get; set; }
|
|
public string Label { get; set; }
|
|
|
|
public override bool RssSearch
|
|
{
|
|
get
|
|
{
|
|
if (SearchTerm.IsNullOrWhiteSpace() && Album.IsNullOrWhiteSpace() && Artist.IsNullOrWhiteSpace() && Label.IsNullOrWhiteSpace())
|
|
{
|
|
return true;
|
|
}
|
|
|
|
return false;
|
|
}
|
|
}
|
|
}
|
|
}
|