@ -650,7 +650,7 @@ namespace MediaBrowser.Api.DefaultTheme
public static IEnumerable<T> Randomize<T>(this IEnumerable<T> sequence, string type = "none")
where T : BaseItem
{
var hour = DateTime.Now.Hour + 2;
var hour = DateTime.Now.Hour + DateTime.Now.Day + 2;
var typeCode = type.GetHashCode();
@ -1013,7 +1013,7 @@ namespace MediaBrowser.Api.UserLibrary
if (episode != null)
var seasonNumber = episode.AirsAfterSeasonNumber ?? episode.AirsBeforeEpisodeNumber ?? episode.ParentIndexNumber;
var seasonNumber = episode.AirsAfterSeasonNumber ?? episode.AirsBeforeSeasonNumber ?? episode.ParentIndexNumber;
return episode.PremiereDate.HasValue && seasonNumber.HasValue && seasonNumber.Value == val;
}