aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Library/SimilarItemReference.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2026-05-15 10:00:53 +0200
committerGitHub <noreply@github.com>2026-05-15 10:00:53 +0200
commit8e602f982f79201cc316f64baf018a5a536d38f6 (patch)
tree94af198766ed00d736b31918b709e366f226845b /MediaBrowser.Controller/Library/SimilarItemReference.cs
parent097097300a473c7abe9d578169f60c39174345f1 (diff)
parent0b209fe66b33bfeed1b1259efba31ceb643c4e0e (diff)
Merge pull request #15970 from Shadowghost/similarity
Implement similarity providers
Diffstat (limited to 'MediaBrowser.Controller/Library/SimilarItemReference.cs')
-rw-r--r--MediaBrowser.Controller/Library/SimilarItemReference.cs22
1 files changed, 22 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Library/SimilarItemReference.cs b/MediaBrowser.Controller/Library/SimilarItemReference.cs
new file mode 100644
index 0000000000..2a40c93bdd
--- /dev/null
+++ b/MediaBrowser.Controller/Library/SimilarItemReference.cs
@@ -0,0 +1,22 @@
+namespace MediaBrowser.Controller.Library;
+
+/// <summary>
+/// A reference to a similar item by provider ID with a similarity score.
+/// </summary>
+public class SimilarItemReference
+{
+ /// <summary>
+ /// Gets or sets the provider name (e.g., "Tmdb", "MusicBrainzArtist").
+ /// </summary>
+ public required string ProviderName { get; set; }
+
+ /// <summary>
+ /// Gets or sets the provider ID value.
+ /// </summary>
+ public required string ProviderId { get; set; }
+
+ /// <summary>
+ /// Gets or sets the similarity score (0.0 to 1.0).
+ /// </summary>
+ public float? Score { get; set; }
+}