CherryFloors / jellyfin-plugin-cinemamode

Enable Cinema Mode for Jellyfin
MIT License
14 stars 1 forks source link

Hide preroll libraries from Home page #18

Open dheian opened 1 month ago

dheian commented 1 month ago

Just wondering if there's a way to hide the pre-roll libraries so that they're still accessible by the plugin but don't show up on the Home page next to Movies, Shows, Music, etc.

Thanks.

CherryFloors commented 1 month ago

Unfortunately no, at least none that I am aware of at the moment. This is next on my roadmap though. When making the switch to libraries, to provide the meta data based selection, I briefly looked for a way to hide certain libraries from everyone but the Admin while still allowing the plugin to show content from it to all users (I had done this with Channels before but this always felt too hacky and the wrong way to organize this type of content).

I will need to do a deep dive into the Jellyfin source code to get a sense if this is even possible with a plugin and it could be time consuming. I didn't want this to hold up the release of the updated plugin because alot of work was done to provide the new selection options. I thought it best to get the new version out there. I'll mark this as an enhancement and keep the thread open. Not sure when I'll get to it but it will be the next thing I do. Hope you enjoy the plugin and thanks for starting the discussion!

CherryFloors commented 1 month ago

Also, what I have done in the mean time is name my pre-roll libraries "z Trailer Pre-Rolls" and "z Feature Pre-Rolls" so they appear at the end of the library list by default. It's far from a perfect workaround.

dheian commented 1 month ago

Great. I look forward to checking it out.

OMGButterbee commented 1 week ago

I'm glad you're looking into this! In the meantime the "far from a perfect workaround" of naming the libraries starting with z actually does help so thank you for that suggestion