aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Providers
diff options
context:
space:
mode:
authorJoshua M. Boniface <joshua@boniface.me>2025-03-13 21:08:18 -0400
committerGitHub <noreply@github.com>2025-03-13 21:08:18 -0400
commit79437f85c5033d965eab1282362e455f6e2c2a01 (patch)
treed4cbca83395c10ece392226cfdcae4dc77835b70 /MediaBrowser.Model/Providers
parent8cb5ea60d68bb49350a310857d043b67e10ab8b7 (diff)
parent260f1323d8bf73d4fc671991ed743d90cfe4aade (diff)
Merge pull request #13175 from Shadowghost/external-url-providers
Migrate to IExternalUrlProvider
Diffstat (limited to 'MediaBrowser.Model/Providers')
-rw-r--r--MediaBrowser.Model/Providers/ExternalIdInfo.cs14
1 files changed, 1 insertions, 13 deletions
diff --git a/MediaBrowser.Model/Providers/ExternalIdInfo.cs b/MediaBrowser.Model/Providers/ExternalIdInfo.cs
index 1f5163aa8..e7a309924 100644
--- a/MediaBrowser.Model/Providers/ExternalIdInfo.cs
+++ b/MediaBrowser.Model/Providers/ExternalIdInfo.cs
@@ -1,5 +1,3 @@
-using System;
-
namespace MediaBrowser.Model.Providers
{
/// <summary>
@@ -13,15 +11,11 @@ namespace MediaBrowser.Model.Providers
/// <param name="name">Name of the external id provider (IE: IMDB, MusicBrainz, etc).</param>
/// <param name="key">Key for this id. This key should be unique across all providers.</param>
/// <param name="type">Specific media type for this id.</param>
- /// <param name="urlFormatString">URL format string.</param>
- public ExternalIdInfo(string name, string key, ExternalIdMediaType? type, string? urlFormatString)
+ public ExternalIdInfo(string name, string key, ExternalIdMediaType? type)
{
Name = name;
Key = key;
Type = type;
-#pragma warning disable CS0618 // Type or member is obsolete - Remove 10.11
- UrlFormatString = urlFormatString;
-#pragma warning restore CS0618 // Type or member is obsolete
}
/// <summary>
@@ -46,11 +40,5 @@ namespace MediaBrowser.Model.Providers
/// 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.
- /// </summary>
- [Obsolete("Obsolete in 10.10, to be removed in 10.11")]
- public string? UrlFormatString { get; set; }
}
}