using MediaBrowser.Controller.Entities.Audio;
using MediaBrowser.Controller.Providers;
using MediaBrowser.Model.Entities;
using MediaBrowser.Model.Providers;
namespace MediaBrowser.Providers.Plugins.MusicBrainz;
///
/// MusicBrainz album external id.
///
public class MusicBrainzAlbumExternalId : IExternalId
{
///
public string ProviderName => "MusicBrainz";
///
public string Key => MetadataProvider.MusicBrainzAlbum.ToString();
///
public ExternalIdMediaType? Type => ExternalIdMediaType.Album;
///
public string UrlFormatString => Plugin.Instance!.Configuration.Server + "/release/{0}";
///
public bool Supports(IHasProviderIds item) => item is Audio || item is MusicAlbum;
}