You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
74 lines
1.7 KiB
74 lines
1.7 KiB
using Emby.Dlna.Common;
|
|
using MediaBrowser.Model.Dlna;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Emby.Dlna.PlayTo
|
|
{
|
|
public class DeviceInfo
|
|
{
|
|
public DeviceInfo()
|
|
{
|
|
Name = "Generic Device";
|
|
}
|
|
|
|
public string UUID { get; set; }
|
|
|
|
public string Name { get; set; }
|
|
|
|
public string ModelName { get; set; }
|
|
|
|
public string ModelNumber { get; set; }
|
|
|
|
public string ModelDescription { get; set; }
|
|
|
|
public string ModelUrl { get; set; }
|
|
|
|
public string Manufacturer { get; set; }
|
|
|
|
public string SerialNumber { get; set; }
|
|
|
|
public string ManufacturerUrl { get; set; }
|
|
|
|
public string PresentationUrl { get; set; }
|
|
|
|
private string _baseUrl = string.Empty;
|
|
public string BaseUrl
|
|
{
|
|
get
|
|
{
|
|
return _baseUrl;
|
|
}
|
|
set
|
|
{
|
|
_baseUrl = value;
|
|
}
|
|
}
|
|
|
|
public DeviceIcon Icon { get; set; }
|
|
|
|
private readonly List<DeviceService> _services = new List<DeviceService>();
|
|
public List<DeviceService> Services
|
|
{
|
|
get
|
|
{
|
|
return _services;
|
|
}
|
|
}
|
|
|
|
public DeviceIdentification ToDeviceIdentification()
|
|
{
|
|
return new DeviceIdentification
|
|
{
|
|
Manufacturer = Manufacturer,
|
|
ModelName = ModelName,
|
|
ModelNumber = ModelNumber,
|
|
FriendlyName = Name,
|
|
ManufacturerUrl = ManufacturerUrl,
|
|
ModelUrl = ModelUrl,
|
|
ModelDescription = ModelDescription,
|
|
SerialNumber = SerialNumber
|
|
};
|
|
}
|
|
}
|
|
}
|