mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-05 07:18:47 +01:00
add option to refresh metadata every N number of days
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user