Jellyfin Forum
Featured Content Bar - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions)
+--- Thread: Featured Content Bar (/t-featured-content-bar)

Pages: 1 2 3 4 5 6 7 8 9


Featured Content Bar - BobHasNoSoul - 2023-10-28

https://github.com/bobhasnosoul/jellyfin-featured

hey all, new to this forum.. i kinda miss reddit but i get it.
question is: does anyone know if anyone is working on a featured content system? for example like this

https://www.blueboxofdoom.uk/filebrowser/api/public/dl/-ve4a7Kp?inline=true

sorry for the bad video quality obs was being an idiot.

so when a user clicks the banner the content currently on the banner opens on the main content page (i.e. the movies open the movies page for that movie. the tv shows open the main directory page for that tv show where the seasons folders are)

if someone would be able to walk me through making a plugin for the settings aspect i dont mind trying to make one. (the main issue i have is the settings dont seem to want to save when i submit it and would prefer someone to slow walk me through it incase i rushed over something basic)

if not and people are still interested i have a bash script that works nicely (yes it can be set on a crontab that works so christmas picks or just general featured content)

and yes im aware that modifying the code after its built is not the best but it works until the updates get pushed then this would also have to be updated.


RE: Featured Content Bar - SethBacon - 2023-11-07

Man I've been looking for something which could add new content chunks to the homepage forever, you've done it! (But I suspect for slightly different use cases) My problem, and one I think others must have, is that now that my collection has a billion movies and shows you really need a 'Spotlight' or I guess featured section which can showcase all those hidden gems you've forgotten. Im wondering if this could be modified to 1 - scan all movies and shows and pick one at random AND/OR 2- display the plot summary on top. I'd love to help, I think this kind of thing is Exactly what jellyfin needs to add polish. (Pie in the sky - it could play local trailers in the frame) I miss reddit too, how do 91 people see this and 3 vote. This kind of quality of life should be a serious focus, great work so far!


RE: Featured Content Bar - BobHasNoSoul - 2023-11-07

hey thanks for the kind words, i am glad you like it

the modification wouldnt be too hard imo and i can try some things out like that over the weekend

i know i can pull the description,

random subset from a large library that will need a work around i have an idea for that

the trailer will be harder to do (not all content has trailers in my library so may have a few issues.. i guess i could make it find only those with a trailer via the api if that helps?)

but i can see what i can do when work isnt so hectic


RE: Featured Content Bar - SethBacon - 2023-11-07

Sweet, I'm going to try to load the alpha. I'm a kotlin tinkerer; I believe the Jellyfin for Android client is mostly a wrapper and displays the HTML changes and should.. does it work there? A lot of my fam use Jellyfin for Android TV, and that does its own thing. I've done some customizing to that app before, I'll see if I can get the same output to android/fire sticks.

Interestingly, my solution (to the very uptown issue of having too much to watch and an easy way to find it* should be noted) for some was to run Jellyfin for Kodi through i think the Arctic Zephyr skin which has a 'Spotlight' plugin and can load dynamic playlists populated by JF. Basically does exactly what you're going for, though convolutedly.


RE: Featured Content Bar - BobHasNoSoul - 2023-11-07

(2023-11-07, 08:25 PM)SethBacon Wrote: Sweet, I'm going to try to load the alpha. I'm a kotlin tinkerer; I believe the Jellyfin for Android client is mostly a wrapper and displays the HTML changes and should.. does it work there? A lot of my fam use Jellyfin for Android TV, and that does its own thing. I've done some customizing to that app before, I'll see if I can get the same output to android/fire sticks.

Interestingly, my solution (to the very uptown issue of having too much to watch and an easy way to find it* should be noted) for some was to run Jellyfin for Kodi through i think the Arctic Zephyr skin which has a 'Spotlight' plugin and can load dynamic playlists populated by JF. Basically does exactly what you're going for, though convolutedly.

it works on the android clients however it doesnt work on tv clients (things without a pointer or touch screen / mouse controlls) because the button is being a pain to map, the way i could resolve this is make it modify the home-html chunk itself to generate the webpage inside of it instead of iframe of the webpage (basically it would be a defined div wrapped in <button> tags instead of the iframe... im not entirely sure why <button> tags do not work in iframes.. as far as i know anyways.


RE: Featured Content Bar - BobHasNoSoul - 2023-11-08

I have edited the GitHub https://github.com/bobhasnosoul/jellyfin-featured to have it pull the description and make it look a little more fancy

[Image: 281488229-c0765ae0-1eaa-4126-8963-792697d13a68.png]

[Image: 281488207-c8865f2b-1a91-4c38-ad49-ce3e768395bb.png]

[Image: 281488103-d44b5c3c-7c2f-469f-a1ba-bc433f27633d.png]


RE: Featured Content Bar - Milko - 2023-11-09

This is so cool! I'm comfortable with scripting and html but having trouble understanding the installation instructions on GitHub for Windows. The make shell file builds our slideshow.html file from movielist texts, but how do we hook that into jellyfin? GitHub says modify the home-html.chunk in the jellyfin web directory directly, but it I'm confused about what to do to it. Could you list step by step? I would love this


RE: Featured Content Bar - BobHasNoSoul - 2023-11-09

i have added a more detailed description for windows users now let me know if you have any issues

(2023-11-09, 02:59 AM)Milko Wrote: This is so cool! I'm comfortable with scripting and html but having trouble understanding the installation instructions on GitHub for Windows. The make shell file builds our slideshow.html file from movielist texts, but how do we hook that into jellyfin? GitHub says modify the home-html.chunk in the jellyfin web directory directly, but it I'm confused about what to do to it. Could you list step by step? I would love this



RE: Featured Content Bar - SethBacon - 2023-11-10

Hey I got this working on PC and android! The GitHub mentions you were live on Android TV (I guess you say tv apps, different one?)? Did you have to adjust that package? My Jellyfin for Android TV isnt showing any changes. Anyhoo, when on TV, for clickability in that iframe, you might need to use the tabindex attribute to allow it to be focused.


RE: Featured Content Bar - BobHasNoSoul - 2023-11-10

(2023-11-10, 01:28 PM)SethBacon Wrote: Hey I got this working on PC and android! The GitHub mentions you were live on Android TV (I guess you say tv apps, different one?)? Did you have to adjust that package? My Jellyfin for Android TV isnt showing any changes. Anyhoo, when on TV, for clickability in that iframe, you might need to use the tabindex attribute to allow it to be focused.

Ahh that might explain it I will run a test or two tomorrow

It can be seen on Android TV but not clicked on Confused-face to force it to be shown just clear the cache on the app or reinstall the app (on android I think it's called clear data for that app) 

Also I'm glad you have it working on pc and android Smiling-face