update client sync
This commit is contained in:
parent
baf2f80154
commit
cd5615c6ce
|
@ -332,25 +332,8 @@ namespace MediaBrowser.Controller.Entities
|
|||
return Name;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns true if this item should not attempt to fetch metadata
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if [dont fetch meta]; otherwise, <c>false</c>.</value>
|
||||
[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.
|
||||
/// </summary>
|
||||
/// <value>The custom rating.</value>
|
||||
[IgnoreDataMember]
|
||||
public string CustomRating { get; set; }
|
||||
|
||||
/// <summary>
|
||||
|
@ -610,6 +594,7 @@ namespace MediaBrowser.Controller.Entities
|
|||
/// Gets or sets the community rating.
|
||||
/// </summary>
|
||||
/// <value>The community rating.</value>
|
||||
[IgnoreDataMember]
|
||||
public float? CommunityRating { get; set; }
|
||||
|
||||
/// <summary>
|
||||
|
@ -635,6 +620,7 @@ namespace MediaBrowser.Controller.Entities
|
|||
/// This could be episode number, album track number, etc.
|
||||
/// </summary>
|
||||
/// <value>The index number.</value>
|
||||
[IgnoreDataMember]
|
||||
public int? IndexNumber { get; set; }
|
||||
|
||||
/// <summary>
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user