Fleshed out the music interface

This commit is contained in:
tidusjar 2019-07-25 16:37:05 +01:00
commit b5dcacfed2
8 changed files with 241 additions and 31 deletions

View file

@ -8,12 +8,23 @@ namespace Ombi.Core.Models.Search.V2.Music
public string Id { get; set; }
public string StartYear { get; set; }
public string EndYear { get; set; }
public bool IsEnded => EndYear != null;
public string Type { get; set; }
public string Country { get; set; }
public string Region { get; set; }
public string Disambiguation { get; set; }
public List<ReleaseGroup> ReleaseGroups { get; set; }
public List<ArtistLinks> Links { get; set; }
public ArtistLinks Links { get; set; }
public List<BandMember> Members { get; set; }
}
public class BandMember
{
public string Name { get; set; }
public string[] Attributes { get; set; }
public bool IsCurrentMember { get; set; }
public string Start { get; set; }
public string End { get; set; }
}
public class ArtistLinks
@ -22,11 +33,20 @@ namespace Ombi.Core.Models.Search.V2.Music
public string Imdb { get; set; }
public string LastFm { get; set; }
public string Discogs { get; set; }
public string BandsInTown { get; set; }
public string Website { get; set; }
public string AllMusic { get; set; }
public string HomePage { get; set; }
public string YouTube { get; set; }
public string Facebook { get; set; }
public string Twitter { get; set; }
public string BbcMusic { get; set; }
public string MySpace { get; set; }
public string OnlineCommunity { get; set; }
public string Spotify { get; set; }
public string Instagram { get; set; }
public string Vk { get; set; }
public string Deezer { get; set; }
public string Google { get; set; }
public string Apple { get; set; }
}
public class ReleaseGroup