update client sync

This commit is contained in:
Luke Pulverenti
2015-09-11 12:26:06 -04:00
parent baf2f80154
commit cd5615c6ce
2 changed files with 29 additions and 19 deletions

View File

@@ -197,7 +197,11 @@ namespace MediaBrowser.Server.Implementations.Persistence
"ChannelId",
"IsMovie",
"IsSports",
"IsKids"
"IsKids",
"CommunityRating",
"CustomRating",
"IndexNumber",
"IsLocked"
};
/// <summary>
@@ -558,6 +562,26 @@ namespace MediaBrowser.Server.Implementations.Persistence
}
}
if (!reader.IsDBNull(9))
{
item.CommunityRating = reader.GetFloat(9);
}
if (!reader.IsDBNull(10))
{
item.CustomRating = reader.GetString(10);
}
if (!reader.IsDBNull(11))
{
item.IndexNumber = reader.GetInt32(11);
}
if (!reader.IsDBNull(12))
{
item.IsLocked = reader.GetBoolean(12);
}
return item;
}