aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/System
diff options
context:
space:
mode:
authorCody Robibero <cody@robibe.ro>2023-09-23 10:59:13 -0600
committerCody Robibero <cody@robibe.ro>2023-09-23 11:04:53 -0600
commitba7e3bfd82aeee3c74a99fa1f4ca94deca8b4dbe (patch)
tree2cc018ba10941f0aadcf24f79db42bc92b3d06b9 /MediaBrowser.Model/System
parent25faf8b1d990218e73509d6e3d63734b27e10999 (diff)
Migrate to customizable cast receiver config
Diffstat (limited to 'MediaBrowser.Model/System')
-rw-r--r--MediaBrowser.Model/System/CastReceiverApplication.cs17
-rw-r--r--MediaBrowser.Model/System/SystemInfo.cs6
2 files changed, 23 insertions, 0 deletions
diff --git a/MediaBrowser.Model/System/CastReceiverApplication.cs b/MediaBrowser.Model/System/CastReceiverApplication.cs
new file mode 100644
index 000000000..6a49a5cac
--- /dev/null
+++ b/MediaBrowser.Model/System/CastReceiverApplication.cs
@@ -0,0 +1,17 @@
+namespace MediaBrowser.Model.System;
+
+/// <summary>
+/// The cast receiver application model.
+/// </summary>
+public class CastReceiverApplication
+{
+ /// <summary>
+ /// Gets or sets the cast receiver application id.
+ /// </summary>
+ public required string Id { get; set; }
+
+ /// <summary>
+ /// Gets or sets the cast receiver application name.
+ /// </summary>
+ public required string Name { get; set; }
+}
diff --git a/MediaBrowser.Model/System/SystemInfo.cs b/MediaBrowser.Model/System/SystemInfo.cs
index bd0099af7..d9544b40f 100644
--- a/MediaBrowser.Model/System/SystemInfo.cs
+++ b/MediaBrowser.Model/System/SystemInfo.cs
@@ -2,6 +2,7 @@
#pragma warning disable CS1591
using System;
+using System.Collections.Generic;
using System.Runtime.InteropServices;
using MediaBrowser.Model.Updates;
@@ -129,6 +130,11 @@ namespace MediaBrowser.Model.System
public string TranscodingTempPath { get; set; }
/// <summary>
+ /// Gets or sets the list of cast receiver applications.
+ /// </summary>
+ public IReadOnlyList<CastReceiverApplication> CastReceiverApplications { get; set; }
+
+ /// <summary>
/// Gets or sets a value indicating whether this instance has update available.
/// </summary>
/// <value><c>true</c> if this instance has update available; otherwise, <c>false</c>.</value>