diff options
Diffstat (limited to 'MediaBrowser.Providers/Music/AudioDbExternalIds.cs')
| -rw-r--r-- | MediaBrowser.Providers/Music/AudioDbExternalIds.cs | 62 |
1 files changed, 13 insertions, 49 deletions
diff --git a/MediaBrowser.Providers/Music/AudioDbExternalIds.cs b/MediaBrowser.Providers/Music/AudioDbExternalIds.cs index fcb7c338db..3e1022d7d4 100644 --- a/MediaBrowser.Providers/Music/AudioDbExternalIds.cs +++ b/MediaBrowser.Providers/Music/AudioDbExternalIds.cs @@ -1,4 +1,4 @@ -using MediaBrowser.Controller.Entities.Audio; +using MediaBrowser.Controller.Entities.Audio; using MediaBrowser.Controller.Providers; using MediaBrowser.Model.Entities; @@ -6,20 +6,11 @@ namespace MediaBrowser.Providers.Music { public class AudioDbAlbumExternalId : IExternalId { - public string Name - { - get { return "TheAudioDb"; } - } + public string Name => "TheAudioDb"; - public string Key - { - get { return MetadataProviders.AudioDbAlbum.ToString(); } - } + public string Key => MetadataProviders.AudioDbAlbum.ToString(); - public string UrlFormatString - { - get { return "https://www.theaudiodb.com/album/{0}"; } - } + public string UrlFormatString => "https://www.theaudiodb.com/album/{0}"; public bool Supports(IHasProviderIds item) { @@ -29,20 +20,11 @@ namespace MediaBrowser.Providers.Music public class AudioDbOtherAlbumExternalId : IExternalId { - public string Name - { - get { return "TheAudioDb Album"; } - } + public string Name => "TheAudioDb Album"; - public string Key - { - get { return MetadataProviders.AudioDbAlbum.ToString(); } - } + public string Key => MetadataProviders.AudioDbAlbum.ToString(); - public string UrlFormatString - { - get { return "https://www.theaudiodb.com/album/{0}"; } - } + public string UrlFormatString => "https://www.theaudiodb.com/album/{0}"; public bool Supports(IHasProviderIds item) { @@ -52,20 +34,11 @@ namespace MediaBrowser.Providers.Music public class AudioDbArtistExternalId : IExternalId { - public string Name - { - get { return "TheAudioDb"; } - } + public string Name => "TheAudioDb"; - public string Key - { - get { return MetadataProviders.AudioDbArtist.ToString(); } - } + public string Key => MetadataProviders.AudioDbArtist.ToString(); - public string UrlFormatString - { - get { return "https://www.theaudiodb.com/artist/{0}"; } - } + public string UrlFormatString => "https://www.theaudiodb.com/artist/{0}"; public bool Supports(IHasProviderIds item) { @@ -75,20 +48,11 @@ namespace MediaBrowser.Providers.Music public class AudioDbOtherArtistExternalId : IExternalId { - public string Name - { - get { return "TheAudioDb Artist"; } - } + public string Name => "TheAudioDb Artist"; - public string Key - { - get { return MetadataProviders.AudioDbArtist.ToString(); } - } + public string Key => MetadataProviders.AudioDbArtist.ToString(); - public string UrlFormatString - { - get { return "https://www.theaudiodb.com/artist/{0}"; } - } + public string UrlFormatString => "https://www.theaudiodb.com/artist/{0}"; public bool Supports(IHasProviderIds item) { |
