mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-20 06:30:57 +01:00
fix SA1508
This commit is contained in:
@@ -158,7 +158,6 @@ namespace MediaBrowser.Model.Dlna
|
||||
|
||||
return new MediaFormatProfile[] { ValueOf(string.Format("VC1_TS_HD_DTS{0}", suffix)) };
|
||||
}
|
||||
|
||||
}
|
||||
else if (string.Equals(videoCodec, "mpeg4", StringComparison.OrdinalIgnoreCase) || string.Equals(videoCodec, "msmpeg4", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
|
||||
@@ -15,7 +15,6 @@ namespace MediaBrowser.Model.Dlna
|
||||
public ProfileCondition(ProfileConditionType condition, ProfileConditionValue property, string value)
|
||||
: this(condition, property, value, false)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public ProfileCondition(ProfileConditionType condition, ProfileConditionValue property, string value, bool isRequired)
|
||||
|
||||
@@ -10,7 +10,6 @@ namespace MediaBrowser.Model.Dlna
|
||||
|
||||
public SortCriteria(string value)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -109,7 +109,6 @@ namespace MediaBrowser.Model.Dlna
|
||||
}
|
||||
|
||||
return 1;
|
||||
|
||||
}).ThenBy(i =>
|
||||
{
|
||||
switch (i.PlayMethod)
|
||||
@@ -121,7 +120,6 @@ namespace MediaBrowser.Model.Dlna
|
||||
default:
|
||||
return 1;
|
||||
}
|
||||
|
||||
}).ThenBy(i =>
|
||||
{
|
||||
switch (i.MediaSource.Protocol)
|
||||
@@ -131,7 +129,6 @@ namespace MediaBrowser.Model.Dlna
|
||||
default:
|
||||
return 1;
|
||||
}
|
||||
|
||||
}).ThenBy(i =>
|
||||
{
|
||||
if (maxBitrate > 0)
|
||||
@@ -143,7 +140,6 @@ namespace MediaBrowser.Model.Dlna
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
}).ThenBy(streams.IndexOf);
|
||||
}
|
||||
|
||||
|
||||
@@ -208,7 +208,6 @@ namespace MediaBrowser.Model.Entities
|
||||
|
||||
if (Type == MediaStreamType.Video)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
return null;
|
||||
|
||||
@@ -36,6 +36,5 @@ namespace MediaBrowser.Model.Entities
|
||||
/// Gets or sets the time of review.
|
||||
/// </summary>
|
||||
public DateTime timestamp { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -41,6 +41,5 @@ namespace MediaBrowser.Model.LiveTv
|
||||
/// </summary>
|
||||
/// <value>The program information.</value>
|
||||
public BaseItemDto ProgramInfo { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,7 +28,6 @@ namespace MediaBrowser.Model.Net
|
||||
public HttpException(string message, Exception innerException)
|
||||
: base(message, innerException)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -51,6 +51,5 @@ namespace MediaBrowser.Model.Providers
|
||||
|
||||
public RemoteSearchResult[] Artists { get; set; }
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user