diff options
| author | Mark Monteiro <marknr.monteiro@protonmail.com> | 2020-05-17 15:59:13 -0400 |
|---|---|---|
| committer | Mark Monteiro <marknr.monteiro@protonmail.com> | 2020-05-17 15:59:13 -0400 |
| commit | 67edf1b7f5f423ab5fa53644bacdba6974b430db (patch) | |
| tree | 6dc99e6d4886adc0074dc1e2a42953b198a28f19 /MediaBrowser.Model/Providers | |
| parent | 422d5b2b68bdce4da385a19382a7a52060cb10b2 (diff) | |
Do not convert 'Type' value to string unnecessarily, and do not replace 'General' type with null
Diffstat (limited to 'MediaBrowser.Model/Providers')
| -rw-r--r-- | MediaBrowser.Model/Providers/ExternalIdInfo.cs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/MediaBrowser.Model/Providers/ExternalIdInfo.cs b/MediaBrowser.Model/Providers/ExternalIdInfo.cs index ca0c857c41..493c6136ea 100644 --- a/MediaBrowser.Model/Providers/ExternalIdInfo.cs +++ b/MediaBrowser.Model/Providers/ExternalIdInfo.cs @@ -16,11 +16,12 @@ namespace MediaBrowser.Model.Providers public string Key { get; set; } /// <summary> - /// Gets or sets the media type (Album, Artist, etc). - /// This can be null if there is no specific type. - /// This string is also used to localize the media type on the client. + /// Gets or sets the specific media type for this id. /// </summary> - public string Type { get; set; } + /// <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; } /// <summary> /// Gets or sets the URL format string. |
