mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
restore property values
This commit is contained in:
parent
38ccaad717
commit
27b792afb8
@ -4,13 +4,30 @@ namespace MediaBrowser.Dlna.PlayTo
|
|||||||
{
|
{
|
||||||
public class DeviceInfo
|
public class DeviceInfo
|
||||||
{
|
{
|
||||||
|
public DeviceInfo()
|
||||||
|
{
|
||||||
|
ClientType = "DLNA";
|
||||||
|
Name = "Generic Device";
|
||||||
|
}
|
||||||
|
|
||||||
public string UUID { get; set; }
|
public string UUID { get; set; }
|
||||||
|
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
|
|
||||||
public string ClientType { get; set; }
|
public string ClientType { get; set; }
|
||||||
|
|
||||||
public string DisplayName { get; set; }
|
private string _displayName = string.Empty;
|
||||||
|
public string DisplayName
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return string.IsNullOrEmpty(_displayName) ? Name : _displayName;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
_displayName = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public string ModelName { get; set; }
|
public string ModelName { get; set; }
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user