cochize1 55 Posted January 15, 2025 Posted January 15, 2025 Some eons ago I followed @chef's instructions and got it working but since then Emby versions changed and can't figure out on my own how to do it. Right now I have a modified usersettingsbuilder.js file that keeps drawer closed by default. When I click on a hamburger it opens (but does not dock) and all My Media folders are shown there as intended. But when I click on 'Pin the Drawer' button it gets docked and additionally to all My Media folders the Collections are shown at the bottom, but they are collapsed. I have to click for the third time to make then all visible. What files and how I need to modify so that with one click of a hamburger the drawer would open with all My Media and Collections already expanded? @Happy2Play @visproduction - maybe you guys would know something about it?
Happy2Play 9780 Posted January 15, 2025 Posted January 15, 2025 You have to edit the navdrawercontent.js there are two data-expanded you need to change the first one to true as it is blank otherwise false. The second one that is already true is for Playlists. data-expanded=" to data-expanded="true" similar here but this was for playlists.
cochize1 55 Posted January 15, 2025 Author Posted January 15, 2025 Ok, thanks, but this only solves the 2nd part of the problem which is expanding Collections by default. Right now I have to click the hamburger and than Pin the Drawer for the already expanded Collections to show (after just one click the whole Collection/Playlist part is missing). But how to make Collections appear in the un-docked drawer in the first place?
Happy2Play 9780 Posted January 15, 2025 Posted January 15, 2025 9 minutes ago, cochize1 said: Ok, thanks, but this only solves the 2nd part of the problem which is expanding Collections by default. Right now I have to click the hamburger and than Pin the Drawer for the already expanded Collections to show (after just one click the whole Collection/Playlist part is missing). But how to make Collections appear in the un-docked drawer in the first place? Would have to look at the 4.7 file as this was a change in 4.8+. So I would assume a complete rewrite of the js file.
cochize1 55 Posted January 15, 2025 Author Posted January 15, 2025 So you think there is no simple modification as a solution to show Collections/Playlists in un-docked drawer? If you're interested to poke around I'd appreciate that of course.
Happy2Play 9780 Posted January 15, 2025 Posted January 15, 2025 @Lukeis there switches within the navdrawercontent.js to make Playlists/Collections drag and drop collapse section to be visible on undocked drawer the same way it used to be in 4.7?
Luke 42077 Posted January 15, 2025 Posted January 15, 2025 You might be able to fiddle with data-expanded="xxx"
cochize1 55 Posted January 15, 2025 Author Posted January 15, 2025 2 minutes ago, Luke said: You might be able to fiddle with data-expanded="xxx" I believe that only makes Collection/Playlists expanded or collapsed but does not make them to appear on the undocked drawer (when with docked drawer they are always shown regardless of what you set 'data-expanded' to)
Luke 42077 Posted January 15, 2025 Posted January 15, 2025 Right OK, then yea there's no way to control this right now. 1
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