mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-22 01:54:42 +01:00
remove trailing whitespace
This commit is contained in:
@@ -2100,7 +2100,7 @@ namespace MediaBrowser.Controller.Entities
|
||||
}
|
||||
else
|
||||
{
|
||||
var list =
|
||||
var list =
|
||||
Studios = current.Concat(new [] { name }).ToArray();
|
||||
}
|
||||
}
|
||||
@@ -2915,7 +2915,7 @@ namespace MediaBrowser.Controller.Entities
|
||||
return GetExtras();
|
||||
}
|
||||
|
||||
public virtual bool IsHD {
|
||||
public virtual bool IsHD {
|
||||
get
|
||||
{
|
||||
return Height >= 720;
|
||||
|
||||
@@ -62,13 +62,13 @@ namespace MediaBrowser.Controller.Entities
|
||||
item.SetImagePath(imageType, BaseItem.FileSystem.GetFileInfo(file));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Copies all properties on object. Skips properties that do not exist.
|
||||
/// </summary>
|
||||
/// <param name="source">The source object.</param>
|
||||
/// <param name="dest">The destination object.</param>
|
||||
public static void DeepCopy<T, TU>(this T source, TU dest)
|
||||
public static void DeepCopy<T, TU>(this T source, TU dest)
|
||||
where T : BaseItem
|
||||
where TU : BaseItem
|
||||
{
|
||||
@@ -82,7 +82,7 @@ namespace MediaBrowser.Controller.Entities
|
||||
if (destProps.Any(x => x.Name == sourceProp.Name))
|
||||
{
|
||||
var p = destProps.First(x => x.Name == sourceProp.Name);
|
||||
p.SetValue(dest, sourceProp.GetValue(source, null), null);
|
||||
p.SetValue(dest, sourceProp.GetValue(source, null), null);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -93,7 +93,7 @@ namespace MediaBrowser.Controller.Entities
|
||||
/// Copies all properties on newly created object. Skips properties that do not exist.
|
||||
/// </summary>
|
||||
/// <param name="source">The source object.</param>
|
||||
public static TU DeepCopy<T, TU>(this T source)
|
||||
public static TU DeepCopy<T, TU>(this T source)
|
||||
where T : BaseItem
|
||||
where TU : BaseItem, new()
|
||||
{
|
||||
|
||||
@@ -1705,7 +1705,7 @@ namespace MediaBrowser.Controller.Entities
|
||||
{
|
||||
get
|
||||
{
|
||||
// These are just far too slow.
|
||||
// These are just far too slow.
|
||||
if (this is ICollectionFolder)
|
||||
{
|
||||
return false;
|
||||
|
||||
@@ -3,7 +3,7 @@ namespace MediaBrowser.Controller.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// Marker interface to denote a class that supports being hidden underneath it's boxset.
|
||||
/// Just about anything can be placed into a boxset,
|
||||
/// Just about anything can be placed into a boxset,
|
||||
/// but movies should also only appear underneath and not outside separately (subject to configuration).
|
||||
/// </summary>
|
||||
public interface ISupportsBoxSetGrouping
|
||||
|
||||
@@ -158,7 +158,7 @@ namespace MediaBrowser.Controller.Entities
|
||||
public bool EnableGroupByMetadataKey { get; set; }
|
||||
public bool? HasChapterImages { get; set; }
|
||||
|
||||
public ValueTuple<string, SortOrder>[] OrderBy { get; set; }
|
||||
public ValueTuple<string, SortOrder>[] OrderBy { get; set; }
|
||||
|
||||
public DateTime? MinDateCreated { get; set; }
|
||||
public DateTime? MinDateLastSaved { get; set; }
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace MediaBrowser.Controller.Entities
|
||||
public static IXmlSerializer XmlSerializer { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// From now on all user paths will be Id-based.
|
||||
/// From now on all user paths will be Id-based.
|
||||
/// This is for backwards compatibility.
|
||||
/// </summary>
|
||||
public bool UsesIdForConfigurationPath { get; set; }
|
||||
|
||||
@@ -90,7 +90,7 @@ namespace MediaBrowser.Controller.Entities
|
||||
public int? SubtitleStreamIndex { get; set; }
|
||||
|
||||
public const double MinLikeValue = 6.5;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// This is an interpreted property to indicate likes or dislikes
|
||||
/// This should never be serialized.
|
||||
|
||||
Reference in New Issue
Block a user