Headphones - added releaseID to generic RequestedModel and passing that through to HP request. Their API doesn't request via the MusicBrainzId.

This commit is contained in:
smcpeck 2017-02-24 16:14:16 -06:00
commit 2178881895
3 changed files with 4 additions and 1 deletions

View file

@ -68,6 +68,8 @@ namespace Ombi.Store
[JsonIgnore]
public bool CanApprove => !Approved && !Available;
public string ReleaseId { get; set; }
public bool UserHasRequested(string username)
{
return AllUsers.Any(x => x.Equals(username, StringComparison.OrdinalIgnoreCase));