mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-08 23:00:51 +02:00
Set isRoot to true
This commit is contained in:
parent
224c48821e
commit
d0537a3271
|
@ -21,6 +21,15 @@ namespace MediaBrowser.Controller.Entities
|
||||||
{
|
{
|
||||||
private List<Guid> _childrenIds = null;
|
private List<Guid> _childrenIds = null;
|
||||||
private readonly object _childIdsLock = new object();
|
private readonly object _childIdsLock = new object();
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Initializes a new instance of the <see cref="UserRootFolder"/> class.
|
||||||
|
/// </summary>
|
||||||
|
public UserRootFolder()
|
||||||
|
{
|
||||||
|
IsRoot = true;
|
||||||
|
}
|
||||||
|
|
||||||
protected override List<BaseItem> LoadChildren()
|
protected override List<BaseItem> LoadChildren()
|
||||||
{
|
{
|
||||||
lock (_childIdsLock)
|
lock (_childIdsLock)
|
||||||
|
|
Loading…
Reference in a new issue