Rename external id type 'None' to 'General'
This commit is contained in:
parent
526e47c362
commit
e5c857ac36
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
});
|
||||
}
|
||||
|
|
|
@ -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}";
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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}";
|
||||
|
|
|
@ -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}";
|
||||
|
|
Loading…
Reference in New Issue
Block a user