2019-09-05 02:04:20 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
namespace Roadie.Library.Configuration
|
|
|
|
|
{
|
|
|
|
|
[Serializable]
|
|
|
|
|
public class Dlna : IDlna
|
|
|
|
|
{
|
|
|
|
|
public bool IsEnabled { get; set; }
|
|
|
|
|
|
|
|
|
|
public int? Port { get; set; }
|
|
|
|
|
|
|
|
|
|
public string FriendlyName { get; set; }
|
|
|
|
|
|
|
|
|
|
public string Description { get; set; }
|
|
|
|
|
|
2019-10-23 13:45:36 +00:00
|
|
|
|
public IEnumerable<string> AllowedIps { get; set; } = new string[0];
|
|
|
|
|
public IEnumerable<string> AllowedUserAgents { get; set; } = new string[0];
|
2019-09-05 02:04:20 +00:00
|
|
|
|
|
|
|
|
|
public Dlna()
|
|
|
|
|
{
|
|
|
|
|
IsEnabled = true;
|
|
|
|
|
FriendlyName = "Roadie Music Server";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|