mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-09 12:58:37 +02:00
* Add analyzers to MediaBrowser.XbmcMetadata * Enable TreatWarningsAsErrors for MediaBrowser.XbmcMetadata * Add analyzers to MediaBrowser.WebDashboard * Enable TreatWarningsAsErrors for MediaBrowser.WebDashboard * Disable SA1600 in favor of CS1591
29 lines
587 B
C#
29 lines
587 B
C#
#pragma warning disable CS1591
|
|
|
|
using System.Globalization;
|
|
|
|
namespace Emby.Dlna.Common
|
|
{
|
|
public class DeviceIcon
|
|
{
|
|
public string Url { get; set; }
|
|
|
|
public string MimeType { get; set; }
|
|
|
|
public int Width { get; set; }
|
|
|
|
public int Height { get; set; }
|
|
|
|
public string Depth { get; set; }
|
|
|
|
/// <inheritdoc />
|
|
public override string ToString()
|
|
{
|
|
return string.Format(
|
|
CultureInfo.InvariantCulture,
|
|
"{0}x{1}",
|
|
Height,
|
|
Width);
|
|
}
|
|
}
|
|
}
|