|
|
@ -19,6 +19,24 @@ namespace Emby.Server.Implementations.Sorting
|
|
|
|
/// <value>The user.</value>
|
|
|
|
/// <value>The user.</value>
|
|
|
|
public User User { get; set; }
|
|
|
|
public User User { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
/// Gets the name.
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
/// <value>The name.</value>
|
|
|
|
|
|
|
|
public string Name => ItemSortBy.PlayCount;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
/// Gets or sets the user data repository.
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
/// <value>The user data repository.</value>
|
|
|
|
|
|
|
|
public IUserDataManager UserDataRepository { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
/// Gets or sets the user manager.
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
/// <value>The user manager.</value>
|
|
|
|
|
|
|
|
public IUserManager UserManager { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// Compares the specified x.
|
|
|
|
/// Compares the specified x.
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
@ -41,23 +59,5 @@ namespace Emby.Server.Implementations.Sorting
|
|
|
|
|
|
|
|
|
|
|
|
return userdata == null ? 0 : userdata.PlayCount;
|
|
|
|
return userdata == null ? 0 : userdata.PlayCount;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
/// Gets the name.
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
/// <value>The name.</value>
|
|
|
|
|
|
|
|
public string Name => ItemSortBy.PlayCount;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
/// Gets or sets the user data repository.
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
/// <value>The user data repository.</value>
|
|
|
|
|
|
|
|
public IUserDataManager UserDataRepository { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
/// Gets or sets the user manager.
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
/// <value>The user manager.</value>
|
|
|
|
|
|
|
|
public IUserManager UserManager { get; set; }
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|