Fix build
This commit is contained in:
parent
7e6a45c402
commit
e0f793799a
|
@ -1334,7 +1334,7 @@ namespace Emby.Server.Implementations.Data
|
||||||
{
|
{
|
||||||
if (item is IHasStartDate hasStartDate && reader.TryReadDateTime(index, out var startDate))
|
if (item is IHasStartDate hasStartDate && reader.TryReadDateTime(index, out var startDate))
|
||||||
{
|
{
|
||||||
hasStartDate.StartDate = startDate.Value;
|
hasStartDate.StartDate = startDate;
|
||||||
}
|
}
|
||||||
|
|
||||||
index++;
|
index++;
|
||||||
|
@ -1446,7 +1446,7 @@ namespace Emby.Server.Implementations.Data
|
||||||
{
|
{
|
||||||
if (reader.TryReadDateTime(index++, out var dateLastRefreshed))
|
if (reader.TryReadDateTime(index++, out var dateLastRefreshed))
|
||||||
{
|
{
|
||||||
item.DateLastRefreshed = dateLastRefreshed.Value;
|
item.DateLastRefreshed = dateLastRefreshed;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1510,13 +1510,13 @@ namespace Emby.Server.Implementations.Data
|
||||||
{
|
{
|
||||||
if (reader.TryReadDateTime(index++, out var dateCreated))
|
if (reader.TryReadDateTime(index++, out var dateCreated))
|
||||||
{
|
{
|
||||||
item.DateCreated = dateCreated.Value;
|
item.DateCreated = dateCreated;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (reader.TryReadDateTime(index++, out var dateModified))
|
if (reader.TryReadDateTime(index++, out var dateModified))
|
||||||
{
|
{
|
||||||
item.DateModified = dateModified.Value;
|
item.DateModified = dateModified;
|
||||||
}
|
}
|
||||||
|
|
||||||
item.Id = reader.GetGuid(index++);
|
item.Id = reader.GetGuid(index++);
|
||||||
|
@ -1531,7 +1531,7 @@ namespace Emby.Server.Implementations.Data
|
||||||
|
|
||||||
if (reader.TryGetGuid(index++, out var parentId))
|
if (reader.TryGetGuid(index++, out var parentId))
|
||||||
{
|
{
|
||||||
item.ParentId = parentId.Value;
|
item.ParentId = parentId;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (reader.TryGetString(index++, out var audioString))
|
if (reader.TryGetString(index++, out var audioString))
|
||||||
|
@ -1567,7 +1567,7 @@ namespace Emby.Server.Implementations.Data
|
||||||
{
|
{
|
||||||
if (reader.TryReadDateTime(index++, out var dateLastSaved))
|
if (reader.TryReadDateTime(index++, out var dateLastSaved))
|
||||||
{
|
{
|
||||||
item.DateLastSaved = dateLastSaved.Value;
|
item.DateLastSaved = dateLastSaved;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1695,7 +1695,7 @@ namespace Emby.Server.Implementations.Data
|
||||||
index++;
|
index++;
|
||||||
if (reader.TryGetGuid(index, out var seasonId))
|
if (reader.TryGetGuid(index, out var seasonId))
|
||||||
{
|
{
|
||||||
episode.SeasonId = seasonId.Value;
|
episode.SeasonId = seasonId;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -1713,7 +1713,7 @@ namespace Emby.Server.Implementations.Data
|
||||||
{
|
{
|
||||||
if (reader.TryGetGuid(index, out var seriesId))
|
if (reader.TryGetGuid(index, out var seriesId))
|
||||||
{
|
{
|
||||||
hasSeries.SeriesId = seriesId.Value;
|
hasSeries.SeriesId = seriesId;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1845,7 +1845,7 @@ namespace Emby.Server.Implementations.Data
|
||||||
|
|
||||||
if (reader.TryGetGuid(index, out var ownerId))
|
if (reader.TryGetGuid(index, out var ownerId))
|
||||||
{
|
{
|
||||||
item.OwnerId = ownerId.Value;
|
item.OwnerId = ownerId;
|
||||||
}
|
}
|
||||||
|
|
||||||
return item;
|
return item;
|
||||||
|
@ -1958,7 +1958,7 @@ namespace Emby.Server.Implementations.Data
|
||||||
|
|
||||||
if (reader.TryReadDateTime(3, out var imageDateModified))
|
if (reader.TryReadDateTime(3, out var imageDateModified))
|
||||||
{
|
{
|
||||||
chapter.ImageDateModified = imageDateModified.Value;
|
chapter.ImageDateModified = imageDateModified;
|
||||||
}
|
}
|
||||||
|
|
||||||
return chapter;
|
return chapter;
|
||||||
|
|
|
@ -326,7 +326,7 @@ namespace Emby.Server.Implementations.Security
|
||||||
|
|
||||||
if (reader.TryReadDateTime(9, out var dateLastActivity))
|
if (reader.TryReadDateTime(9, out var dateLastActivity))
|
||||||
{
|
{
|
||||||
info.DateLastActivity = dateLastActivity.Value;
|
info.DateLastActivity = dateLastActivity;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user