aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller
diff options
context:
space:
mode:
authorMark Monteiro <marknr.monteiro@protonmail.com>2020-05-23 16:08:51 -0400
committerMark Monteiro <marknr.monteiro@protonmail.com>2020-05-23 16:08:51 -0400
commit4f6e5591ece8d9344385d13f923384abfc07b709 (patch)
tree4b0ab10e17e47b6a996526d1e2736cfe14e247ff /MediaBrowser.Controller
parent07897ec7af468f5e71fd901a8dad05911e19daf5 (diff)
Remove 'General' as an ExternalIdMediaType, and instead use 'null' to represent a general external id type
Diffstat (limited to 'MediaBrowser.Controller')
-rw-r--r--MediaBrowser.Controller/Providers/IExternalId.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/Providers/IExternalId.cs b/MediaBrowser.Controller/Providers/IExternalId.cs
index 96d1e4622..5e38446bc 100644
--- a/MediaBrowser.Controller/Providers/IExternalId.cs
+++ b/MediaBrowser.Controller/Providers/IExternalId.cs
@@ -22,11 +22,13 @@ namespace MediaBrowser.Controller.Providers
/// <summary>
/// Gets the specific media type for this id. This is used to distinguish between the different
/// external id types for providers with multiple ids.
+ /// A null value indicates there is no specific media type associated with the external id, or this is the
+ /// default id for the external provider so there is no need to specify a type.
/// </summary>
/// <remarks>
/// This can be used along with the <see cref="ProviderName"/> to localize the external id on the client.
/// </remarks>
- ExternalIdMediaType Type { get; }
+ ExternalIdMediaType? Type { get; }
/// <summary>
/// Gets the URL format string for this id.