mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-25 18:16:56 +01:00
Remove 'General' as an ExternalIdMediaType, and instead use 'null' to represent a general external id type
This commit is contained in:
@@ -20,11 +20,13 @@ namespace MediaBrowser.Model.Providers
|
||||
/// <summary>
|
||||
/// Gets or sets 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="Name"/> to localize the external id on the client.
|
||||
/// </remarks>
|
||||
public ExternalIdMediaType Type { get; set; }
|
||||
public ExternalIdMediaType? Type { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the URL format string.
|
||||
|
||||
@@ -8,12 +8,6 @@ namespace MediaBrowser.Model.Providers
|
||||
/// </remarks>
|
||||
public enum ExternalIdMediaType
|
||||
{
|
||||
/// <summary>
|
||||
/// 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>
|
||||
General = 0,
|
||||
|
||||
/// <summary>
|
||||
/// A music album.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user