aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Persistence
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2015-09-11 12:26:06 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2015-09-11 12:26:06 -0400
commitcd5615c6ce4c4de44f7c9118d2ca0454fadd0868 (patch)
tree8d3318f117318186eed5282fc23f8b897cc3628d /MediaBrowser.Server.Implementations/Persistence
parentbaf2f801549a284501ee836053aa113adf5b1503 (diff)
update client sync
Diffstat (limited to 'MediaBrowser.Server.Implementations/Persistence')
-rw-r--r--MediaBrowser.Server.Implementations/Persistence/SqliteItemRepository.cs26
1 files changed, 25 insertions, 1 deletions
diff --git a/MediaBrowser.Server.Implementations/Persistence/SqliteItemRepository.cs b/MediaBrowser.Server.Implementations/Persistence/SqliteItemRepository.cs
index 9fa650bdf..5ad6449b3 100644
--- a/MediaBrowser.Server.Implementations/Persistence/SqliteItemRepository.cs
+++ b/MediaBrowser.Server.Implementations/Persistence/SqliteItemRepository.cs
@@ -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;
}