aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Library/SimilarItemReference.cs
diff options
context:
space:
mode:
authorShadowghost <Ghost_of_Stone@web.de>2026-05-03 23:43:01 +0200
committerShadowghost <Ghost_of_Stone@web.de>2026-05-03 23:43:01 +0200
commit4ebce3907062ade1937440628eebd665440b338d (patch)
tree23b94df3c1fc76de39345f1480d0198b6d7f0ac1 /MediaBrowser.Controller/Library/SimilarItemReference.cs
parent622947e37425f3620432995cde5d4a0809d91694 (diff)
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; }
+}