mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-19 12:44:19 +01:00
Add type to externalids to distinguish them in the UI
This commit is contained in:
@@ -13,6 +13,9 @@ namespace MediaBrowser.Providers.Tmdb.BoxSets
|
||||
/// <inheritdoc />
|
||||
public string Key => MetadataProviders.TmdbCollection.ToString();
|
||||
|
||||
/// <inheritdoc />
|
||||
public ExternalIdType Type => ExternalIdType.BoxSet;
|
||||
|
||||
/// <inheritdoc />
|
||||
public string UrlFormatString => TmdbUtils.BaseTmdbUrl + "collection/{0}";
|
||||
|
||||
|
||||
@@ -14,6 +14,9 @@ namespace MediaBrowser.Providers.Tmdb.Movies
|
||||
/// <inheritdoc />
|
||||
public string Key => MetadataProviders.Tmdb.ToString();
|
||||
|
||||
/// <inheritdoc />
|
||||
public ExternalIdType Type => ExternalIdType.Movie;
|
||||
|
||||
/// <inheritdoc />
|
||||
public string UrlFormatString => TmdbUtils.BaseTmdbUrl + "movie/{0}";
|
||||
|
||||
|
||||
@@ -12,6 +12,9 @@ namespace MediaBrowser.Providers.Tmdb.People
|
||||
/// <inheritdoc />
|
||||
public string Key => MetadataProviders.Tmdb.ToString();
|
||||
|
||||
/// <inheritdoc />
|
||||
public ExternalIdType Type => ExternalIdType.Person;
|
||||
|
||||
/// <inheritdoc />
|
||||
public string UrlFormatString => TmdbUtils.BaseTmdbUrl + "person/{0}";
|
||||
|
||||
|
||||
@@ -12,6 +12,9 @@ namespace MediaBrowser.Providers.Tmdb.TV
|
||||
/// <inheritdoc />
|
||||
public string Key => MetadataProviders.Tmdb.ToString();
|
||||
|
||||
/// <inheritdoc />
|
||||
public ExternalIdType Type => ExternalIdType.Series;
|
||||
|
||||
/// <inheritdoc />
|
||||
public string UrlFormatString => TmdbUtils.BaseTmdbUrl + "tv/{0}";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user