aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Providers/TV
diff options
context:
space:
mode:
authorLuke Foust <luke@foust.com>2020-03-22 12:58:53 -0700
committerLuke Foust <luke@foust.com>2020-03-22 12:58:53 -0700
commit9bdb99fe92edaf06679ef855eae9f8bb69b970df (patch)
treee87d28c3a2255b32f83a94fb27e7f41e4fb98d1a /MediaBrowser.Providers/TV
parentf3213d3bef8a49a5e91cafaba2eaefb5592438c6 (diff)
Add type to externalids to distinguish them in the UI
Diffstat (limited to 'MediaBrowser.Providers/TV')
-rw-r--r--MediaBrowser.Providers/TV/TvExternalIds.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/MediaBrowser.Providers/TV/TvExternalIds.cs b/MediaBrowser.Providers/TV/TvExternalIds.cs
index baf854285..a3c24f7dd 100644
--- a/MediaBrowser.Providers/TV/TvExternalIds.cs
+++ b/MediaBrowser.Providers/TV/TvExternalIds.cs
@@ -14,6 +14,9 @@ namespace MediaBrowser.Providers.TV
public string Key => MetadataProviders.Zap2It.ToString();
/// <inheritdoc />
+ public ExternalIdType Type => ExternalIdType.None;
+
+ /// <inheritdoc />
public string UrlFormatString => "http://tvlistings.zap2it.com/overview.html?programSeriesId={0}";
/// <inheritdoc />
@@ -29,6 +32,9 @@ namespace MediaBrowser.Providers.TV
public string Key => MetadataProviders.Tvdb.ToString();
/// <inheritdoc />
+ public ExternalIdType Type => ExternalIdType.None;
+
+ /// <inheritdoc />
public string UrlFormatString => TvdbUtils.TvdbBaseUrl + "?tab=series&id={0}";
/// <inheritdoc />
@@ -45,6 +51,9 @@ namespace MediaBrowser.Providers.TV
public string Key => MetadataProviders.Tvdb.ToString();
/// <inheritdoc />
+ public ExternalIdType Type => ExternalIdType.Season;
+
+ /// <inheritdoc />
public string UrlFormatString => null;
/// <inheritdoc />
@@ -60,6 +69,9 @@ namespace MediaBrowser.Providers.TV
public string Key => MetadataProviders.Tvdb.ToString();
/// <inheritdoc />
+ public ExternalIdType Type => ExternalIdType.Episode;
+
+ /// <inheritdoc />
public string UrlFormatString => TvdbUtils.TvdbBaseUrl + "?tab=episode&id={0}";
/// <inheritdoc />