mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
update client sync
This commit is contained in:
parent
baf2f80154
commit
cd5615c6ce
@ -332,25 +332,8 @@ namespace MediaBrowser.Controller.Entities
|
|||||||
return Name;
|
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]
|
[IgnoreDataMember]
|
||||||
public bool IsLocked
|
public bool IsLocked { get; set; }
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
|
||||||
return DontFetchMeta;
|
|
||||||
}
|
|
||||||
set
|
|
||||||
{
|
|
||||||
DontFetchMeta = value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public bool IsUnidentified { get; set; }
|
public bool IsUnidentified { get; set; }
|
||||||
|
|
||||||
@ -580,6 +563,7 @@ namespace MediaBrowser.Controller.Entities
|
|||||||
/// Gets or sets the custom rating.
|
/// Gets or sets the custom rating.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>The custom rating.</value>
|
/// <value>The custom rating.</value>
|
||||||
|
[IgnoreDataMember]
|
||||||
public string CustomRating { get; set; }
|
public string CustomRating { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -610,6 +594,7 @@ namespace MediaBrowser.Controller.Entities
|
|||||||
/// Gets or sets the community rating.
|
/// Gets or sets the community rating.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>The community rating.</value>
|
/// <value>The community rating.</value>
|
||||||
|
[IgnoreDataMember]
|
||||||
public float? CommunityRating { get; set; }
|
public float? CommunityRating { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -635,6 +620,7 @@ namespace MediaBrowser.Controller.Entities
|
|||||||
/// This could be episode number, album track number, etc.
|
/// This could be episode number, album track number, etc.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>The index number.</value>
|
/// <value>The index number.</value>
|
||||||
|
[IgnoreDataMember]
|
||||||
public int? IndexNumber { get; set; }
|
public int? IndexNumber { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -197,7 +197,11 @@ namespace MediaBrowser.Server.Implementations.Persistence
|
|||||||
"ChannelId",
|
"ChannelId",
|
||||||
"IsMovie",
|
"IsMovie",
|
||||||
"IsSports",
|
"IsSports",
|
||||||
"IsKids"
|
"IsKids",
|
||||||
|
"CommunityRating",
|
||||||
|
"CustomRating",
|
||||||
|
"IndexNumber",
|
||||||
|
"IsLocked"
|
||||||
};
|
};
|
||||||
|
|
||||||
/// <summary>
|
/// <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;
|
return item;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user