joetoml1n 5 Posted March 1, 2024 Posted March 1, 2024 I have a few mixed content libraries. Some are working well (for example, my MCU one that contains the films and TV series), and one that used to work flawlessly, but has just started displaying incorrectly. The movies show as folders, when previously they just used to show as movies. Example below or my working library (MCU) and no longer working library (Children's). As far as I can tell the settings for both libraries are the same, I've been through to check and the folder structure for the children's library is also Library Root\File Name (Year)\Film.mkv It used to be fine and I've been on the beta channel for as long as I can remember, but just recently it's changed on its own to no longer display correctly. Any advice?
pwhodges 2012 Posted March 1, 2024 Posted March 1, 2024 That's a recent change, but I see the same as you. I think there have been changes in other areas to make folder views more consistent in actually following the folder structure and not collapsing it, and this is a byproduct of the changes. If you go to the Movies tab, that is as it would be expectedto be. I suspect that to change back to showing the movies directly in the Folder view would require to be programmed as an explicit exception, and I don't know if that would be deemed appropriate. But it is necessary to use the Folder view in mixed libraries, because it's the only way to see both movies and series together, so an an exception might be logical. @Luke??. Paul 1
Happy2Play 9780 Posted March 1, 2024 Posted March 1, 2024 (edited) Yes this is a per library option on <CollapseSingleItemFolders>false</CollapseSingleItemFolders> (new default). Since you are seeing mixed library results the system.xml option is already at false. But now that these options have move to db only it is a little harder to change and require to be set via the api or directly in the database. If option is change it is destructive and will rebuild the entire library. Edited March 1, 2024 by Happy2Play
pwhodges 2012 Posted March 1, 2024 Posted March 1, 2024 This change in behaviour has happened without requiring a rebuild, so why would changing it back need a rebuild? Paul
Luke 42078 Posted March 1, 2024 Posted March 1, 2024 I think the best solution is that we should keep the folder view more accurate and do what you're seeing now. To remove the extra click layer, I think the solution for that is that the UI should automatically drill down when a folder only contains a single item. Windows explorer has an option to do something similar if I recall. I also see apple's finder app does that. Quote But it is necessary to use the Folder view in mixed libraries, because it's the only way to see both movies and series together, so an an exception might be logical. Well actually I think we should merge the tabs into Movies and Shows anyway, but that's another topic.
Luke 42078 Posted March 1, 2024 Posted March 1, 2024 7 minutes ago, pwhodges said: This change in behaviour has happened without requiring a rebuild, so why would changing it back need a rebuild? Paul Maybe the rebuild is not as destructive as it used to be. i haven't tested flipping this option back and forth in a long time, and flipping it back and forth isn't really what it was meant for, so I think it's still right answer to say just to set expectations. If it turns out better than that, then great.
Happy2Play 9780 Posted March 1, 2024 Posted March 1, 2024 11 minutes ago, pwhodges said: This change in behaviour has happened without requiring a rebuild, so why would changing it back need a rebuild? Paul Haven't tested this recently but that is the way it use to be. And would assume this happened behind the scenes and you have never notice it per the server log.
joetoml1n 5 Posted March 3, 2024 Author Posted March 3, 2024 Quick Q - this change, where in DB is it or how do I make it? I don't mind a library rebuild if that's the case, I just want it to show correctly again Thanks 1
joetoml1n 5 Posted March 3, 2024 Author Posted March 3, 2024 19 minutes ago, joetoml1n said: Quick Q - this change, where in DB is it or how do I make it? I don't mind a library rebuild if that's the case, I just want it to show correctly again Thanks Ignore this - found it and fixed it. Cheers all
joetoml1n 5 Posted March 4, 2024 Author Posted March 4, 2024 10 hours ago, Luke said: What was the solution? <CollapseVideoFolders>true</CollapseVideoFolders> Added this line to the options.xml for the relevant library, which matched the other, working libraries. I then rescanned the library and it sorted itself out.
scb99 245 Posted March 4, 2024 Posted March 4, 2024 Sorry to jump in, I have a Q It was my understanding that <CollapseVideoFolders>true</CollapseVideoFolders> was for system.xml and <CollapseSingleItemFolders>true</CollapseSingleItemFolders> was the equivalent per-library option for options.xml (with the system wide option overriding the library setting) But based on the above it seems like I understood wrong? I wish there was some better documentation.
joetoml1n 5 Posted March 4, 2024 Author Posted March 4, 2024 (edited) 5 minutes ago, scb99 said: Sorry to jump in, I have a Q It was my understanding that <CollapseVideoFolders>true</CollapseVideoFolders> was for system.xml and <CollapseSingleItemFolders>true</CollapseSingleItemFolders> was the equivalent per-library option for options.xml (with the system wide option overriding the library setting) But based on the above it seems like I understood wrong? I wish there was some better documentation. Not sure, I just compared the options.xml of my "not working" library to the options.xml for two "correctly working" libraries. The two working ones both had the CollapseVideoFolders and CollapseSingleItemFolders settings as true. Whereas my not working library did not have CollapseVideoFolders but did have CollapseSingleItemFolders. I added it and it worked. Edited March 4, 2024 by joetoml1n Spelling and grammar 1
Happy2Play 9780 Posted March 4, 2024 Posted March 4, 2024 (edited) 3 hours ago, scb99 said: Sorry to jump in, I have a Q It was my understanding that <CollapseVideoFolders>true</CollapseVideoFolders> was for system.xml and <CollapseSingleItemFolders>true</CollapseSingleItemFolders> was the equivalent per-library option for options.xml (with the system wide option overriding the library setting) But based on the above it seems like I understood wrong? I wish there was some better documentation. You are correct as the <CollapseVideoFolders>true</CollapseVideoFolders> will override all library configs. system.xml But these were never meant to be user switches so they were not documented and will continue to change at the devs will. @Lukeare the library options.xml still read if they exist? As Emby no longer creates the /root/default/per library folders as it is database only now at least on a new install. So <CollapseVideoFolders> needs to be false in order for <CollapseSingleItemFolders> false to be honored. Unless something has changed again and the options no longer sync with each other. Edited March 4, 2024 by Happy2Play 1
Luke 42078 Posted March 4, 2024 Posted March 4, 2024 8 hours ago, scb99 said: Sorry to jump in, I have a Q It was my understanding that <CollapseVideoFolders>true</CollapseVideoFolders> was for system.xml and <CollapseSingleItemFolders>true</CollapseSingleItemFolders> was the equivalent per-library option for options.xml (with the system wide option overriding the library setting) But based on the above it seems like I understood wrong? I wish there was some better documentation. You are correct. There is no documentation because this was never meant to be something that users flip back and forth based on a preference.
Luke 42078 Posted March 4, 2024 Posted March 4, 2024 4 hours ago, Happy2Play said: You are correct as the <CollapseVideoFolders>true</CollapseVideoFolders> will override all library configs. system.xml But these were never meant to be user switches so they were not documented and will continue to change at the devs will. @Lukeare the library options.xml still read if they exist? As Emby no longer creates the /root/default/per library folders as it is database only now at least on a new install. So <CollapseVideoFolders> needs to be false in order for <CollapseSingleItemFolders> false to be honored. Unless something has changed again and the options no longer sync with each other. When you upgrade to 4.8 the library options are imported into the database. After that they are no longer used. 2
Luke 42078 Posted May 9, 2025 Posted May 9, 2025 On 3/1/2024 at 6:07 PM, Luke said: I think the best solution is that we should keep the folder view more accurate and do what you're seeing now. To remove the extra click layer, I think the solution for that is that the UI should automatically drill down when a folder only contains a single item. Windows explorer has an option to do something similar if I recall. I also see apple's finder app does that. Well actually I think we should merge the tabs into Movies and Shows anyway, but that's another topic. This option has been added in 4.9.0.52. Thanks.
Moenis 1 Posted July 1, 2025 Posted July 1, 2025 On 5/10/2025 at 1:44 AM, Luke said: This option has been added in 4.9.0.52. Thanks. Hi, Luke. Is this option configurable on the webui? Or can it only be set via the API? I updated to the 4.9.1.3 beta version. But I don't seem to see this option
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