jellyfin/MediaBrowser.Controller
Claus Vium b2ffad9ce9 Set Parent to current query Item if ParentId is empty (#680)
**Changes**
Fixed a faulty change in logic that occurred during the Christmas GPL nightmare.

I stepped through Emby 3.5.2 and stumbled over a difference in the query between Jellyfin and Emby, where in Emby, query.ParentId was set to the item itself. So I did a little digging in the old GPLv2 source and found this https://github.com/MediaBrowser/Emby/blob/3.4.1.8/MediaBrowser.Controller/Entities/Folder.cs#L720

**Issues**
Fixes #673
2019-01-24 18:48:37 +01:00
..
Authentication Find+Sed BOM removal *.cs: Jellyfin.Server-MediaBrowser.Controller 2019-01-13 21:01:16 +01:00
Channels Reformat JustAMan review pt2 changes 2019-01-17 20:24:39 +01:00
Chapters Find+Sed BOM removal *.cs: Jellyfin.Server-MediaBrowser.Controller 2019-01-13 21:01:16 +01:00
Collections Find+Sed BOM removal *.cs: Jellyfin.Server-MediaBrowser.Controller 2019-01-13 21:01:16 +01:00
Configuration Find+Sed BOM removal *.cs: Jellyfin.Server-MediaBrowser.Controller 2019-01-13 21:01:16 +01:00
Connect Reformat JustAMan review pt2 changes 2019-01-17 20:24:39 +01:00
Devices Find+Sed BOM removal *.cs: Jellyfin.Server-MediaBrowser.Controller 2019-01-13 21:01:16 +01:00
Dlna Find+Sed BOM removal *.cs: Jellyfin.Server-MediaBrowser.Controller 2019-01-13 21:01:16 +01:00
Drawing Cleanup ImageProcessor 2019-01-20 14:18:37 +01:00
Dto Find+Sed BOM removal *.cs: Jellyfin.Server-MediaBrowser.Controller 2019-01-13 21:01:16 +01:00
Entities Set Parent to current query Item if ParentId is empty (#680) 2019-01-24 18:48:37 +01:00
Extensions Find+Sed BOM removal *.cs: Jellyfin.Server-MediaBrowser.Controller 2019-01-13 21:01:16 +01:00
IO ReSharper conform to 'var' settings 2019-01-13 21:37:13 +01:00
Library Replace our TVDB key with @drakus72's which is V1 2019-01-20 12:59:22 -05:00
LiveTv Reformat JustAMan review pt2 changes 2019-01-17 20:24:39 +01:00
MediaEncoding Fix transcoding bitrate 2019-01-20 22:50:17 +01:00
Net ReSharper conform to 'var' settings 2019-01-13 21:37:13 +01:00
Notifications Find+Sed BOM removal *.cs: Jellyfin.Server-MediaBrowser.Controller 2019-01-13 21:01:16 +01:00
Persistence Find+Sed BOM removal *.cs: Jellyfin.Server-MediaBrowser.Controller 2019-01-13 21:01:16 +01:00
Playlists ReSharper Reformat: Properties to expression bodied form. 2019-01-13 21:31:14 +01:00
Plugins Find+Sed BOM removal *.cs: Jellyfin.Server-MediaBrowser.Controller 2019-01-13 21:01:16 +01:00
Properties Merge branch 'dev' into code-cleanup 2019-01-11 12:50:36 +01:00
Providers Reformat JustAMan review pt2 changes 2019-01-17 20:24:39 +01:00
Resolvers Reformat JustAMan review pt2 changes 2019-01-17 20:24:39 +01:00
Security Reformat JustAMan review pt2 changes 2019-01-17 20:24:39 +01:00
Session ReSharper conform to 'var' settings 2019-01-13 21:37:13 +01:00
Sorting ReSharper conform to 'var' settings 2019-01-13 21:37:13 +01:00
Subtitles Find+Sed BOM removal *.cs: Jellyfin.Server-MediaBrowser.Controller 2019-01-13 21:01:16 +01:00
Sync Reformat JustAMan review pt2 changes 2019-01-17 20:24:39 +01:00
TV Find+Sed BOM removal *.cs: Jellyfin.Server-MediaBrowser.Controller 2019-01-13 21:01:16 +01:00
IResourceFileManager.cs Find+Sed BOM removal *.cs: Jellyfin.Server-MediaBrowser.Controller 2019-01-13 21:01:16 +01:00
IServerApplicationHost.cs Find+Sed BOM removal *.cs: Jellyfin.Server-MediaBrowser.Controller 2019-01-13 21:01:16 +01:00
IServerApplicationPaths.cs Find+Sed BOM removal *.cs: Jellyfin.Server-MediaBrowser.Controller 2019-01-13 21:01:16 +01:00
MediaBrowser.Controller.csproj Fixed csproj and xml identation. 2019-01-19 15:01:16 +01:00