mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-06-23 15:30:56 -04:00
Fix minor warnings in Emby.Server.Implementations (#2149)
This commit is contained in:
parent
927fe33d3a
commit
0b8faf5db4
@ -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();
|
||||||
|
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user