mirror of https://github.com/jellyfin/jellyfin.git
Merge pull request #8505 from JJS/CompilerWarnings
This commit is contained in:
commit
9ff918cb14
|
@ -93,6 +93,7 @@ namespace Emby.Server.Implementations.Images
|
||||||
returnItems.Shuffle();
|
returnItems.Shuffle();
|
||||||
return returnItems;
|
return returnItems;
|
||||||
}
|
}
|
||||||
|
|
||||||
returnItems = items
|
returnItems = items
|
||||||
.Where(i => i.HasImage(ImageType.Primary))
|
.Where(i => i.HasImage(ImageType.Primary))
|
||||||
.ToList();
|
.ToList();
|
||||||
|
|
|
@ -2779,7 +2779,7 @@ namespace Emby.Server.Implementations.Library
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.Where(i => i != null)
|
.Where(i => i != null)
|
||||||
.Where(i => query.User == null ?
|
.Where(i => query.User == null ?
|
||||||
true :
|
true :
|
||||||
i.IsVisible(query.User))
|
i.IsVisible(query.User))
|
||||||
.ToList();
|
.ToList();
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
using MediaBrowser.Controller.LiveTv;
|
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
using MediaBrowser.Controller.LiveTv;
|
||||||
|
|
||||||
namespace Emby.Server.Implementations.LiveTv.EmbyTV
|
namespace Emby.Server.Implementations.LiveTv.EmbyTV
|
||||||
{
|
{
|
||||||
|
@ -56,7 +56,7 @@ namespace Emby.Server.Implementations.LiveTv.EmbyTV
|
||||||
}
|
}
|
||||||
|
|
||||||
tmpName += " " + info.EpisodeTitle;
|
tmpName += " " + info.EpisodeTitle;
|
||||||
// Since the filename will be used with file ext. (.mp4, .ts, etc)
|
// Since the filename will be used with file ext. (.mp4, .ts, etc)
|
||||||
if (Encoding.UTF8.GetByteCount(tmpName) < 250)
|
if (Encoding.UTF8.GetByteCount(tmpName) < 250)
|
||||||
{
|
{
|
||||||
name = tmpName;
|
name = tmpName;
|
||||||
|
|
|
@ -5,7 +5,6 @@ namespace MediaBrowser.Model.Configuration
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public enum EmbeddedSubtitleOptions
|
public enum EmbeddedSubtitleOptions
|
||||||
{
|
{
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Allow all embedded subs.
|
/// Allow all embedded subs.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -26,5 +25,4 @@ namespace MediaBrowser.Model.Configuration
|
||||||
/// </summary>
|
/// </summary>
|
||||||
AllowNone = 3,
|
AllowNone = 3,
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,7 @@ using MediaBrowser.Model.MediaInfo;
|
||||||
|
|
||||||
namespace MediaBrowser.Model.Dlna
|
namespace MediaBrowser.Model.Dlna
|
||||||
{
|
{
|
||||||
public class ContentFeatureBuilder
|
public static class ContentFeatureBuilder
|
||||||
{
|
{
|
||||||
public static string BuildImageHeader(
|
public static string BuildImageHeader(
|
||||||
DeviceProfile profile,
|
DeviceProfile profile,
|
||||||
|
|
|
@ -100,7 +100,7 @@ namespace MediaBrowser.Model.Search
|
||||||
public BaseItemKind Type { get; set; }
|
public BaseItemKind Type { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets a value indicating whether this instance is folder.
|
/// Gets or sets a value indicating whether this instance is folder.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value><c>true</c> if this instance is folder; otherwise, <c>false</c>.</value>
|
/// <value><c>true</c> if this instance is folder; otherwise, <c>false</c>.</value>
|
||||||
public bool? IsFolder { get; set; }
|
public bool? IsFolder { get; set; }
|
||||||
|
|
Loading…
Reference in New Issue