mirror of
https://github.com/jellyfin/jellyfin-plugin-bookshelf.git
synced 2024-11-23 13:49:45 +00:00
Fix non user specific lib data being returned
Fix so that the impersonation user is always used in queries that return secific video and music items.
This commit is contained in:
parent
16cbf06eab
commit
0933a2dd53
@ -472,7 +472,7 @@ namespace MediaBrowser.Plugins.Dlna.Model
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.MBItem.RecursiveChildren.OfType<MediaBrowser.Controller.Entities.TV.Season>().Select(i => (ModelBase)(new VideoSeasonContainer(this.User, mbItem: i, parent: this)));
|
||||
return this.MBItem.GetRecursiveChildren(this.User).OfType<MediaBrowser.Controller.Entities.TV.Season>().Select(i => (ModelBase)(new VideoSeasonContainer(this.User, mbItem: i, parent: this)));
|
||||
}
|
||||
}
|
||||
|
||||
@ -502,7 +502,7 @@ namespace MediaBrowser.Plugins.Dlna.Model
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.MBItem.RecursiveChildren.OfType<Video>().Select(i => (ModelBase)(new VideoItem(this.User, mbItem: i, parent: this)));
|
||||
return this.MBItem.GetRecursiveChildren(this.User).OfType<Video>().Select(i => (ModelBase)(new VideoItem(this.User, mbItem: i, parent: this)));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user