corey 312 Posted January 10, 2017 Share Posted January 10, 2017 When I navigate to my Movies collection in the web app I see that my movie collections (I have it setup to auto-group collections) are sorted first and then individual movies are sorted second. I confirmed this is the behavior by checking out API call which sorts by IsFolder and then SortName. I find this a bit confusing and prefer to have the collections sorted within the individual movies. Is there a configuration option to change this? Thanks! Link to comment Share on other sites More sharing options...
ebr 14913 Posted January 10, 2017 Share Posted January 10, 2017 Is this an unset library type? That type of sort would be used for situations where you have organizational folders. Link to comment Share on other sites More sharing options...
corey 312 Posted January 10, 2017 Author Share Posted January 10, 2017 Is this an unset library type? That type of sort would be used for situations where you have organizational folders. Nope, it's a simple Movie type collection. Link to comment Share on other sites More sharing options...
corey 312 Posted January 10, 2017 Author Share Posted January 10, 2017 I did notice that the CollectionType of the item isn't set and it's being set in a property named OriginalCollectionType. Link to comment Share on other sites More sharing options...
ebr 14913 Posted January 10, 2017 Share Posted January 10, 2017 I did notice that the CollectionType of the item isn't set and it's being set in a property named OriginalCollectionType. Yeah, I saw the changes you made. This sounds like some sort of legacy thing as I don't know what that property is. We will need Luke to weigh in on that. Link to comment Share on other sites More sharing options...
speechles 1917 Posted January 10, 2017 Share Posted January 10, 2017 You have your collections as physical folders with movies in them? You didnt use the auto-boxset plugin or the servers grouping tool? Sent from my Nexus 7 using Tapatalk Link to comment Share on other sites More sharing options...
corey 312 Posted January 10, 2017 Author Share Posted January 10, 2017 You have your collections as physical folders with movies in them? You didnt use the auto-boxset plugin or the servers grouping tool? Sent from my Nexus 7 using Tapatalk No the collections are not physical folders. The Auto-boxset plugin is grouping them. Link to comment Share on other sites More sharing options...
speechles 1917 Posted January 10, 2017 Share Posted January 10, 2017 I had this happen too, when the server updated versions. I ran a library scan, then ran the clean database task and the problem solved itself. You should be able to do the same thing. Sent from my Nexus 7 using Tapatalk Link to comment Share on other sites More sharing options...
corey 312 Posted January 10, 2017 Author Share Posted January 10, 2017 I had this happen too, when the server updated versions. I ran a library scan, then ran the clean database task and the problem solved itself. You should be able to do the same thing. Sent from my Nexus 7 using Tapatalk Thanks I'll give that a shot later. Link to comment Share on other sites More sharing options...
corey 312 Posted January 11, 2017 Author Share Posted January 11, 2017 I had this happen too, when the server updated versions. I ran a library scan, then ran the clean database task and the problem solved itself. You should be able to do the same thing. Sent from my Nexus 7 using Tapatalk So this didn't end up working for me. Here's the JSON output for my libraries as requested from the 'Home Screen' { "Items": [ { "Name": "Movies", "ServerId": "7ac0f446c4c94b96a96da0c4c6834c99", "Id": "c8ca023cdbb96c78e4de5fcb477df512", "HasDynamicCategories": false, "PlayAccess": "Full", "IsFolder": true, "Type": "CollectionFolder", "UserData": { "PlaybackPositionTicks": 0, "PlayCount": 0, "IsFavorite": false, "Played": false, "Key": "c8ca023c-dbb9-6c78-e4de-5fcb477df512" }, "ChildCount": 2, "DisplayPreferencesId": "c8ca023cdbb96c78e4de5fcb477df512", "PrimaryImageAspectRatio": 1.77777777777778, "OriginalCollectionType": "movies", "ImageTags": { "Primary": "9a5faf79f9eb2c8311a74f26fde3328c" }, "BackdropImageTags": [], "LocationType": "FileSystem" }, { "Name": "TV", "ServerId": "7ac0f446c4c94b96a96da0c4c6834c99", "Id": "7c6b1294b30d4c722993e4036d0425ac", "HasDynamicCategories": false, "PlayAccess": "Full", "IsFolder": true, "Type": "CollectionFolder", "UserData": { "PlaybackPositionTicks": 0, "PlayCount": 0, "IsFavorite": false, "Played": false, "Key": "7c6b1294-b30d-4c72-2993-e4036d0425ac" }, "ChildCount": 2, "DisplayPreferencesId": "7c6b1294b30d4c722993e4036d0425ac", "PrimaryImageAspectRatio": 1.77777777777778, "OriginalCollectionType": "tvshows", "ImageTags": { "Primary": "335f7bb1bc56cf0de7ea52226068013a" }, "BackdropImageTags": [], "LocationType": "FileSystem" }, { "Name": "Exercise", "ServerId": "7ac0f446c4c94b96a96da0c4c6834c99", "Id": "a29bef8ad9f1940ac99c599b20b390c2", "HasDynamicCategories": false, "PlayAccess": "Full", "IsFolder": true, "Type": "CollectionFolder", "UserData": { "PlaybackPositionTicks": 0, "PlayCount": 0, "IsFavorite": false, "Played": false, "Key": "a29bef8a-d9f1-940a-c99c-599b20b390c2" }, "ChildCount": 2, "DisplayPreferencesId": "a29bef8ad9f1940ac99c599b20b390c2", "PrimaryImageAspectRatio": 1.77777777777778, "ImageTags": { "Primary": "7d840dd04e36f3009f07ad6b44b1ec61" }, "BackdropImageTags": [], "LocationType": "FileSystem" }, { "Name": "Recorded TV", "ServerId": "7ac0f446c4c94b96a96da0c4c6834c99", "Id": "eed4eebdd09243eaf8e7b19a31383867", "HasDynamicCategories": false, "PlayAccess": "Full", "IsFolder": true, "Type": "CollectionFolder", "UserData": { "PlaybackPositionTicks": 0, "PlayCount": 0, "IsFavorite": false, "Played": false, "Key": "eed4eebd-d092-43ea-f8e7-b19a31383867" }, "ChildCount": 2, "DisplayPreferencesId": "eed4eebdd09243eaf8e7b19a31383867", "PrimaryImageAspectRatio": 1.77777777777778, "CollectionType": "homevideos", "OriginalCollectionType": "homevideos", "ImageTags": { "Primary": "ea9a8a138c32a3d19c272080acc06ac6" }, "BackdropImageTags": [], "LocationType": "FileSystem" }, { "Name": "Live TV", "ServerId": "7ac0f446c4c94b96a96da0c4c6834c99", "Id": "b5bfb6ae35078377cfcec4e6d6c15a69", "HasDynamicCategories": true, "PlayAccess": "Full", "IsFolder": true, "Type": "UserView", "UserData": { "PlaybackPositionTicks": 0, "PlayCount": 0, "IsFavorite": false, "Played": false, "Key": "b5bfb6ae-3507-8377-cfce-c4e6d6c15a69" }, "ChildCount": 2, "DisplayPreferencesId": "cb46bc72e78d95cc6cd072de3a65b93a", "PrimaryImageAspectRatio": 1.77777777777778, "CollectionType": "livetv", "ImageTags": { "Primary": "0c214b4fb6ed1bca33acfdce6cfcc8ea" }, "BackdropImageTags": [], "LocationType": "FileSystem" }, { "Name": "Music", "ServerId": "7ac0f446c4c94b96a96da0c4c6834c99", "Id": "60c6bb241c9195d4b536e84e02b31783", "HasDynamicCategories": false, "PlayAccess": "Full", "IsFolder": true, "Type": "CollectionFolder", "UserData": { "PlaybackPositionTicks": 0, "PlayCount": 0, "IsFavorite": false, "Played": false, "Key": "60c6bb24-1c91-95d4-b536-e84e02b31783" }, "ChildCount": 2, "DisplayPreferencesId": "60c6bb241c9195d4b536e84e02b31783", "PrimaryImageAspectRatio": 1.77777777777778, "CollectionType": "music", "OriginalCollectionType": "music", "ImageTags": { "Primary": "55b374f9eae34325dfa321cad784da70" }, "BackdropImageTags": [], "LocationType": "FileSystem" } ], "TotalRecordCount": 6 } Link to comment Share on other sites More sharing options...
Happy2Play 8282 Posted January 11, 2017 Share Posted January 11, 2017 To me this sound like the per user legacy Plainfolderview. Can you post a screenshot of Movies view. Link to comment Share on other sites More sharing options...
corey 312 Posted January 11, 2017 Author Share Posted January 11, 2017 To me this sound like the per user legacy Plainfolderview. Can you post a screenshot of Movies view. When I get a chance I will. But I can definitely see it being a regular folder view. In my Movies view for example there are no Latest Items and things like that. 1 Link to comment Share on other sites More sharing options...
Solution Happy2Play 8282 Posted January 11, 2017 Solution Share Posted January 11, 2017 Okay, If it the issue I believe it is you will have to shut down your server and manually edit your user config.xml (C:\Users\username\AppData\Roaming\Emby-Server\config\users\"your userid"). Example here You need to delete the strings from "PlainFolderViews". Remove </PlainFolderViews> and change <PlainFolderViews> to <PlainFolderViews />. 1 Link to comment Share on other sites More sharing options...
corey 312 Posted January 11, 2017 Author Share Posted January 11, 2017 @@Happy2Play -- That did the trick. For those interested here's the JSON representation after the adjustment: { "Items": [ { "Name": "Movies", "ServerId": "7ac0f446c4c94b96a96da0c4c6834c99", "Id": "c8ca023cdbb96c78e4de5fcb477df512", "HasDynamicCategories": false, "PlayAccess": "Full", "IsFolder": true, "Type": "CollectionFolder", "UserData": { "PlaybackPositionTicks": 0, "PlayCount": 0, "IsFavorite": false, "Played": false, "Key": "c8ca023c-dbb9-6c78-e4de-5fcb477df512" }, "ChildCount": 2, "DisplayPreferencesId": "c8ca023cdbb96c78e4de5fcb477df512", "PrimaryImageAspectRatio": 1.77777777777778, "CollectionType": "movies", "OriginalCollectionType": "movies", "ImageTags": { "Primary": "9a5faf79f9eb2c8311a74f26fde3328c" }, "BackdropImageTags": [], "LocationType": "FileSystem" }, { "Name": "TV", "ServerId": "7ac0f446c4c94b96a96da0c4c6834c99", "Id": "7c6b1294b30d4c722993e4036d0425ac", "HasDynamicCategories": false, "PlayAccess": "Full", "IsFolder": true, "Type": "CollectionFolder", "UserData": { "PlaybackPositionTicks": 0, "PlayCount": 0, "IsFavorite": false, "Played": false, "Key": "7c6b1294-b30d-4c72-2993-e4036d0425ac" }, "ChildCount": 2, "DisplayPreferencesId": "7c6b1294b30d4c722993e4036d0425ac", "PrimaryImageAspectRatio": 1.77777777777778, "CollectionType": "tvshows", "OriginalCollectionType": "tvshows", "ImageTags": { "Primary": "335f7bb1bc56cf0de7ea52226068013a" }, "BackdropImageTags": [], "LocationType": "FileSystem" }, { "Name": "Exercise", "ServerId": "7ac0f446c4c94b96a96da0c4c6834c99", "Id": "a29bef8ad9f1940ac99c599b20b390c2", "HasDynamicCategories": false, "PlayAccess": "Full", "IsFolder": true, "Type": "CollectionFolder", "UserData": { "PlaybackPositionTicks": 0, "PlayCount": 0, "IsFavorite": false, "Played": false, "Key": "a29bef8a-d9f1-940a-c99c-599b20b390c2" }, "ChildCount": 2, "DisplayPreferencesId": "a29bef8ad9f1940ac99c599b20b390c2", "PrimaryImageAspectRatio": 1.77777777777778, "ImageTags": { "Primary": "7d840dd04e36f3009f07ad6b44b1ec61" }, "BackdropImageTags": [], "LocationType": "FileSystem" }, { "Name": "Recorded TV", "ServerId": "7ac0f446c4c94b96a96da0c4c6834c99", "Id": "eed4eebdd09243eaf8e7b19a31383867", "HasDynamicCategories": false, "PlayAccess": "Full", "IsFolder": true, "Type": "CollectionFolder", "UserData": { "PlaybackPositionTicks": 0, "PlayCount": 0, "IsFavorite": false, "Played": false, "Key": "eed4eebd-d092-43ea-f8e7-b19a31383867" }, "ChildCount": 2, "DisplayPreferencesId": "eed4eebdd09243eaf8e7b19a31383867", "PrimaryImageAspectRatio": 1.77777777777778, "CollectionType": "homevideos", "OriginalCollectionType": "homevideos", "ImageTags": { "Primary": "ea9a8a138c32a3d19c272080acc06ac6" }, "BackdropImageTags": [], "LocationType": "FileSystem" }, { "Name": "Live TV", "ServerId": "7ac0f446c4c94b96a96da0c4c6834c99", "Id": "b5bfb6ae35078377cfcec4e6d6c15a69", "HasDynamicCategories": true, "PlayAccess": "Full", "IsFolder": true, "Type": "UserView", "UserData": { "PlaybackPositionTicks": 0, "PlayCount": 0, "IsFavorite": false, "Played": false, "Key": "b5bfb6ae-3507-8377-cfce-c4e6d6c15a69" }, "ChildCount": 2, "DisplayPreferencesId": "cb46bc72e78d95cc6cd072de3a65b93a", "PrimaryImageAspectRatio": 1.77777777777778, "CollectionType": "livetv", "ImageTags": { "Primary": "0c214b4fb6ed1bca33acfdce6cfcc8ea" }, "BackdropImageTags": [], "LocationType": "FileSystem" }, { "Name": "Music", "ServerId": "7ac0f446c4c94b96a96da0c4c6834c99", "Id": "60c6bb241c9195d4b536e84e02b31783", "HasDynamicCategories": false, "PlayAccess": "Full", "IsFolder": true, "Type": "CollectionFolder", "UserData": { "PlaybackPositionTicks": 0, "PlayCount": 0, "IsFavorite": false, "Played": false, "Key": "60c6bb24-1c91-95d4-b536-e84e02b31783" }, "ChildCount": 2, "DisplayPreferencesId": "60c6bb241c9195d4b536e84e02b31783", "PrimaryImageAspectRatio": 1.77777777777778, "CollectionType": "music", "OriginalCollectionType": "music", "ImageTags": { "Primary": "55b374f9eae34325dfa321cad784da70" }, "BackdropImageTags": [], "LocationType": "FileSystem" } ], "TotalRecordCount": 6 } Link to comment Share on other sites More sharing options...
Luke 37067 Posted January 11, 2017 Share Posted January 11, 2017 Well done guys. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now