mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-02 04:12:53 +01:00
Upgraded Protobuf, and added api support for it
This commit is contained in:
parent
de74609784
commit
cb7f04e4d3
@@ -1,14 +1,23 @@
|
||||
|
||||
using ProtoBuf;
|
||||
|
||||
namespace MediaBrowser.Model.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// Since it can be slow to collect this data, this class helps provide a way to calculate them all at once.
|
||||
/// </summary>
|
||||
[ProtoContract]
|
||||
public class ItemSpecialCounts
|
||||
{
|
||||
[ProtoMember(1)]
|
||||
public int RecentlyAddedItemCount { get; set; }
|
||||
|
||||
[ProtoMember(2)]
|
||||
public int RecentlyAddedUnPlayedItemCount { get; set; }
|
||||
|
||||
[ProtoMember(3)]
|
||||
public int InProgressItemCount { get; set; }
|
||||
|
||||
[ProtoMember(4)]
|
||||
public decimal PlayedPercentage { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user