diff --git a/MediaBrowser.Controller/Entities/BaseItem.cs b/MediaBrowser.Controller/Entities/BaseItem.cs
index 6d0a270da6..54267490df 100644
--- a/MediaBrowser.Controller/Entities/BaseItem.cs
+++ b/MediaBrowser.Controller/Entities/BaseItem.cs
@@ -332,25 +332,8 @@ namespace MediaBrowser.Controller.Entities
return Name;
}
- ///
- /// Returns true if this item should not attempt to fetch metadata
- ///
- /// true if [dont fetch meta]; otherwise, false.
- [Obsolete("Please use IsLocked instead of DontFetchMeta")]
- public bool DontFetchMeta { get; set; }
-
[IgnoreDataMember]
- public bool IsLocked
- {
- get
- {
- return DontFetchMeta;
- }
- set
- {
- DontFetchMeta = value;
- }
- }
+ public bool IsLocked { get; set; }
public bool IsUnidentified { get; set; }
@@ -580,6 +563,7 @@ namespace MediaBrowser.Controller.Entities
/// Gets or sets the custom rating.
///
/// The custom rating.
+ [IgnoreDataMember]
public string CustomRating { get; set; }
///
@@ -610,6 +594,7 @@ namespace MediaBrowser.Controller.Entities
/// Gets or sets the community rating.
///
/// The community rating.
+ [IgnoreDataMember]
public float? CommunityRating { get; set; }
///
@@ -635,6 +620,7 @@ namespace MediaBrowser.Controller.Entities
/// This could be episode number, album track number, etc.
///
/// The index number.
+ [IgnoreDataMember]
public int? IndexNumber { get; set; }
///
diff --git a/MediaBrowser.Server.Implementations/Persistence/SqliteItemRepository.cs b/MediaBrowser.Server.Implementations/Persistence/SqliteItemRepository.cs
index 9fa650bdf6..5ad6449b3d 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"
};
///
@@ -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;
}