Rename external id type 'None' to 'General'

This commit is contained in:
Mark Monteiro 2020-05-17 15:29:53 -04:00
parent 526e47c362
commit e5c857ac36
6 changed files with 7 additions and 7 deletions

View File

@ -12,7 +12,7 @@ namespace MediaBrowser.Controller.Providers
/// There is no specific media type associated with the external id, or the external provider only has one
/// id type so there is no need to be specific.
/// </summary>
None,
General,
/// <summary>
/// A music album.

View File

@ -908,7 +908,7 @@ namespace MediaBrowser.Providers.Manager
{
Name = i.Name,
Key = i.Key,
Type = i.Type == ExternalIdMediaType.None ? null : i.Type.ToString(),
Type = i.Type == ExternalIdMediaType.General ? null : i.Type.ToString(),
UrlFormatString = i.UrlFormatString
});
}

View File

@ -16,7 +16,7 @@ namespace MediaBrowser.Providers.Movies
public string Key => MetadataProviders.Imdb.ToString();
/// <inheritdoc />
public ExternalIdMediaType Type => ExternalIdMediaType.None;
public ExternalIdMediaType Type => ExternalIdMediaType.General;
/// <inheritdoc />
public string UrlFormatString => "https://www.imdb.com/title/{0}";

View File

@ -13,7 +13,7 @@ namespace MediaBrowser.Providers.Music
public string Key => "IMVDb";
/// <inheritdoc />
public ExternalIdMediaType Type => ExternalIdMediaType.None;
public ExternalIdMediaType Type => ExternalIdMediaType.General;
/// <inheritdoc />
public string UrlFormatString => null;

View File

@ -13,7 +13,7 @@ namespace MediaBrowser.Providers.Plugins.AudioDb
public string Key => MetadataProviders.AudioDbAlbum.ToString();
/// <inheritdoc />
public ExternalIdMediaType Type => ExternalIdMediaType.None;
public ExternalIdMediaType Type => ExternalIdMediaType.General;
/// <inheritdoc />
public string UrlFormatString => "https://www.theaudiodb.com/album/{0}";

View File

@ -14,7 +14,7 @@ namespace MediaBrowser.Providers.TV
public string Key => MetadataProviders.Zap2It.ToString();
/// <inheritdoc />
public ExternalIdMediaType Type => ExternalIdMediaType.None;
public ExternalIdMediaType Type => ExternalIdMediaType.General;
/// <inheritdoc />
public string UrlFormatString => "http://tvlistings.zap2it.com/overview.html?programSeriesId={0}";
@ -32,7 +32,7 @@ namespace MediaBrowser.Providers.TV
public string Key => MetadataProviders.Tvdb.ToString();
/// <inheritdoc />
public ExternalIdMediaType Type => ExternalIdMediaType.None;
public ExternalIdMediaType Type => ExternalIdMediaType.General;
/// <inheritdoc />
public string UrlFormatString => TvdbUtils.TvdbBaseUrl + "?tab=series&id={0}";