mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-09 07:10:34 +02:00
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
|
/// 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.
|
/// id type so there is no need to be specific.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
None,
|
General,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A music album.
|
/// A music album.
|
||||||
|
|
|
@ -908,7 +908,7 @@ namespace MediaBrowser.Providers.Manager
|
||||||
{
|
{
|
||||||
Name = i.Name,
|
Name = i.Name,
|
||||||
Key = i.Key,
|
Key = i.Key,
|
||||||
Type = i.Type == ExternalIdMediaType.None ? null : i.Type.ToString(),
|
Type = i.Type == ExternalIdMediaType.General ? null : i.Type.ToString(),
|
||||||
UrlFormatString = i.UrlFormatString
|
UrlFormatString = i.UrlFormatString
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@ namespace MediaBrowser.Providers.Movies
|
||||||
public string Key => MetadataProviders.Imdb.ToString();
|
public string Key => MetadataProviders.Imdb.ToString();
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public ExternalIdMediaType Type => ExternalIdMediaType.None;
|
public ExternalIdMediaType Type => ExternalIdMediaType.General;
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public string UrlFormatString => "https://www.imdb.com/title/{0}";
|
public string UrlFormatString => "https://www.imdb.com/title/{0}";
|
||||||
|
|
|
@ -13,7 +13,7 @@ namespace MediaBrowser.Providers.Music
|
||||||
public string Key => "IMVDb";
|
public string Key => "IMVDb";
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public ExternalIdMediaType Type => ExternalIdMediaType.None;
|
public ExternalIdMediaType Type => ExternalIdMediaType.General;
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public string UrlFormatString => null;
|
public string UrlFormatString => null;
|
||||||
|
|
|
@ -13,7 +13,7 @@ namespace MediaBrowser.Providers.Plugins.AudioDb
|
||||||
public string Key => MetadataProviders.AudioDbAlbum.ToString();
|
public string Key => MetadataProviders.AudioDbAlbum.ToString();
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public ExternalIdMediaType Type => ExternalIdMediaType.None;
|
public ExternalIdMediaType Type => ExternalIdMediaType.General;
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public string UrlFormatString => "https://www.theaudiodb.com/album/{0}";
|
public string UrlFormatString => "https://www.theaudiodb.com/album/{0}";
|
||||||
|
|
|
@ -14,7 +14,7 @@ namespace MediaBrowser.Providers.TV
|
||||||
public string Key => MetadataProviders.Zap2It.ToString();
|
public string Key => MetadataProviders.Zap2It.ToString();
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public ExternalIdMediaType Type => ExternalIdMediaType.None;
|
public ExternalIdMediaType Type => ExternalIdMediaType.General;
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public string UrlFormatString => "http://tvlistings.zap2it.com/overview.html?programSeriesId={0}";
|
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();
|
public string Key => MetadataProviders.Tvdb.ToString();
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public ExternalIdMediaType Type => ExternalIdMediaType.None;
|
public ExternalIdMediaType Type => ExternalIdMediaType.General;
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public string UrlFormatString => TvdbUtils.TvdbBaseUrl + "?tab=series&id={0}";
|
public string UrlFormatString => TvdbUtils.TvdbBaseUrl + "?tab=series&id={0}";
|
||||||
|
|
Loading…
Reference in a new issue