Migrate to customizable cast receiver config

This commit is contained in:
Cody Robibero
2023-09-23 10:59:13 -06:00
parent 25faf8b1d9
commit ba7e3bfd82
13 changed files with 1064 additions and 257 deletions

View File

@@ -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; }
}

View File

@@ -2,6 +2,7 @@
#pragma warning disable CS1591
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using MediaBrowser.Model.Updates;
@@ -128,6 +129,11 @@ namespace MediaBrowser.Model.System
/// <value>The transcode path.</value>
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>