add option to refresh metadata every N number of days

This commit is contained in:
Luke Pulverenti
2017-03-14 15:44:11 -04:00
parent a0934e6226
commit 8d72c7e881
5 changed files with 15 additions and 16 deletions

View File

@@ -491,7 +491,7 @@ namespace Emby.Server.Implementations.Dto
}
}
//if (!(item is LiveTvProgram) || fields.Contains(ItemFields.PlayAccess))
if (!(item is LiveTvProgram) || fields.Contains(ItemFields.PlayAccess))
{
dto.PlayAccess = item.GetPlayAccess(user);
}
@@ -1639,7 +1639,7 @@ namespace Emby.Server.Implementations.Dto
var width = size.Width;
var height = size.Height;
if (width == 0 || height == 0)
if (width.Equals(0) || height.Equals(0))
{
return null;
}