• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Themes & Styles SPOTLIGHT - Trailers on the homepage

    Pages (4): « Previous 1 2 3 4 Next »

     
    • 3 Vote(s) - 5 Average

    SPOTLIGHT - Trailers on the homepage

    [10.10.x] A Jellyfin UI Enhancement
    KodiUser1138
    Offline

    Member

    Posts: 325
    Threads: 33
    Joined: 2023 Jun
    Reputation: 0
    Country:Canada
    #11
    2025-08-02, 05:49 PM
    While I have not got this working on my sever with only local trialers yet I had an idea about a control that would allow the user to close down this feature if it was not currently wanted. Something like an up arrow that can be clicked which would close up the trailer section and put a pause/stop to trailer playback, but the button turns into a down arrow should the user want to bring the feature back.

    I have my main server page open on my maintnence PC almost constantly and do not need it running trailers 24/7, but still find the feature cool. Just throwing out ideas for better enhancements.
    JF Wish List:
    IMDb Top250 metadata
    Collection content rules: Library-Title/Sorttitle/Tag/Director/Filename/Contains
    Collection organized by Library
    Collections scanned to editable XML
    Media info show added Collection
    Soundtrack auto link to movie by title/sort/Manual
    Read Music Album Sort
    Sash
    Offline

    Junior Member

    Posts: 24
    Threads: 3
    Joined: 2024 Aug
    Reputation: 0
    #12
    2025-08-06, 01:46 PM (This post was last modified: 2025-08-07, 04:12 AM by Sash. Edited 1 time in total.)
    Hi Seth, thanks so much for putting the efforts to make this! This was something that I wanted for a long time, and I tried to achieve this with Ted's featured bar, I didn't know much back then.

    https://github.com/tedhinklater/Jellyfin...r/issues/1

    I have been using it for a day and there's a few thing I noticed or would like to see if possible. 

    1. is it possible to add a volume slider or even a config that can be edited in spotlight.html or list.txt to control the volume level so the audio doesn't blast when you click on play? 
    2. would it be possible to autoplay the trailers without clicking on play, and when you hovery on the video it plays the audio.
    3. and is it possible to set certain video quality for YT video playbacks?

    I also noticed that local trailers don't scale properly I am assuming that it is because of the hardcoded letterbox in them. 

    An example of it 

    https://imgbox.com/rqAczkE1
    binarygeek119
    Offline

    Junior Member

    Posts: 5
    Threads: 2
    Joined: 2023 Dec
    Reputation: 0
    #13
    2025-08-08, 09:50 AM
    can you use the framework from this repo https://github.com/IAmParadox27/jellyfin...-media-bar
    to add it like a plugin?
    SethBacon
    Offline

    Member

    Posts: 79
    Threads: 7
    Joined: 2023 Nov
    Reputation: 8
    Country:Canada
    #14
    2025-08-11, 08:44 PM (This post was last modified: 2025-08-11, 09:39 PM by SethBacon. Edited 2 times in total.)
    Hey Sash youre right; in your picture I bet the trailer has those letterboxes hardcoded into the actual video itself, nothing we can reasonably do to avoid those (monitoring the video for black areas then zooming would be pretty involved for a script like this) even worse some have hardcoded pillarboxes on old tv-sized stuff like why i cry...

    On youre other notes, the trailer web-player (local or youtube Are accessible; that is if you click them you can use the up and down arrow keys to control volume, L/R to seek. vol is set to 50% by default)

    The trailer videos Are set to auto-play. Ive noticed that some systems / browsers allow youtube to autoplay, and some will not play without user pressing play first, maybe under java or security settings in your device.
    KodiUser1138
    Offline

    Member

    Posts: 325
    Threads: 33
    Joined: 2023 Jun
    Reputation: 0
    Country:Canada
    #15
    2025-08-11, 09:45 PM
    I still haven't been able to get this to work but to the above, could the naming convention be used to scale the trailers? All my movies note their aspect ratio. While this doesn't mean all trailers alo match (despite my best ability) they also have the aspect in their file name so as to be properly scanned by JF and Kodi.
    JF Wish List:
    IMDb Top250 metadata
    Collection content rules: Library-Title/Sorttitle/Tag/Director/Filename/Contains
    Collection organized by Library
    Collections scanned to editable XML
    Media info show added Collection
    Soundtrack auto link to movie by title/sort/Manual
    Read Music Album Sort
    SethBacon
    Offline

    Member

    Posts: 79
    Threads: 7
    Joined: 2023 Nov
    Reputation: 8
    Country:Canada
    #16
    2025-08-12, 04:06 AM
    Sorry KodiUser, can you confirm that from a media items' info page you Can click its Trailer button and jellyfin will play that trailer? Then if so, if you force the same media into slideshow (putting it in a list.txt) it wont play that trailer on the homepage?
    KodiUser1138
    Offline

    Member

    Posts: 325
    Threads: 33
    Joined: 2023 Jun
    Reputation: 0
    Country:Canada
    #17
    2025-08-12, 07:18 AM
    JF plays all local trailers with no issues. At least all I've tried (out of over 7,000).

    I noticed the list.txt file was already in the UI directory. I edited it with the movie ID's for a certain number and it does work. Though for one trailer that is MKV it did not.

    Now most of my trailers are MP4 but some, mostly just for 3D movies, are MKV. That's another issue JF has in general, no ability to take SBS 3D MKV files and play them back as single side 2D. When 3D trailers play they take up the full screen wide showing a double image. Why the non-3D MKV didn't play I don't understand.

    Also any MP4 that have AC3 audio get no sound playback.

    The list doesn't play randomly, just in it's specific order. The other issue i'd have with it is if the movie ID changes, say when you need to change the location of a file or change something about the movie itself (upgrade to better version).

    It does look cool when playing for sure. Not a fan of the large buttons in a control box as it doesn't fit with the rest of the JF default theme. And as mentioned, aside from the pause button, it would be great to be able to close down (minimize to the top?) the entire box and have it essentially STOP until started again.

    I'd also like both a volume control slider specific to the trailers playback as well a video scrub slidder that can appear atthe bottom of the video but those are just wish list spitballing ideas.

    And to stay on that note, could this be implemented into other areas of the server? Spefically in Collections? Like if I have a bunch of collections and then one is the Marvel Cinematic Universe could this then begin playing trailers when viewing the MCU collections folder?

    If you'd like I can get you access to my server to see what I'm talking about more clearly.
    JF Wish List:
    IMDb Top250 metadata
    Collection content rules: Library-Title/Sorttitle/Tag/Director/Filename/Contains
    Collection organized by Library
    Collections scanned to editable XML
    Media info show added Collection
    Soundtrack auto link to movie by title/sort/Manual
    Read Music Album Sort
    KodiUser1138
    Offline

    Member

    Posts: 325
    Threads: 33
    Joined: 2023 Jun
    Reputation: 0
    Country:Canada
    #18
    2025-08-12, 07:29 AM
    Hada hunch after reading your above instructions that becauwe the list.txt was already present in the UI folder and it was populated with your default example which doesn't correlate to anything in my library this is what was causing my previous failures. So I removed the list.txt and now it's pulling directly from my movie library.

    One issue with that (and also a volume slider is definitely needed!) is that it's pulling from any library that is set-up as "movies" within JF. I have my main movies library but then 2 different concert libraries which are set-up as 'movies', a documentary library plus a 4K Movies and DVD Movies libraries, the former for the few 4K's I have for testing at this point and the later is compressed versions of movies compatible with mobile devices for easy streaming and travel purposes. I would prefer to NOT have these libraries contrinute to the rotation of movie trailers.

    And lastly, to not have all my hard drives spinning to grab these trailers would be great. But that means bringing copies over to a central location and would need quite a lot of storage dedicated to that. A problem for future me I suppose.
    JF Wish List:
    IMDb Top250 metadata
    Collection content rules: Library-Title/Sorttitle/Tag/Director/Filename/Contains
    Collection organized by Library
    Collections scanned to editable XML
    Media info show added Collection
    Soundtrack auto link to movie by title/sort/Manual
    Read Music Album Sort
    KodiUser1138
    Offline

    Member

    Posts: 325
    Threads: 33
    Joined: 2023 Jun
    Reputation: 0
    Country:Canada
    #19
    2025-08-12, 07:37 AM (This post was last modified: 2025-08-12, 07:39 AM by KodiUser1138. Edited 1 time in total.)
    Another note. Somehow I glitched it to stop even trying to play trailers and insteda it just runs the fanart, clearlogo and movie infor in a large top banner. That is VERY COOL on it's own. Maybe an option to turn trailers on/off and let this function run through? It does seem to pull TV shows in as well which is kind of good? MAybe more options to select which libraries to include? Have I made enough crazy suggestions yet?

    Had to ask, when it's pulling the artwork is that coming from the local JF cache or also directly from the media location like the trailers are? If the later it really should try to use the JF cache location for speed and less wear.
    JF Wish List:
    IMDb Top250 metadata
    Collection content rules: Library-Title/Sorttitle/Tag/Director/Filename/Contains
    Collection organized by Library
    Collections scanned to editable XML
    Media info show added Collection
    Soundtrack auto link to movie by title/sort/Manual
    Read Music Album Sort
    SethBacon
    Offline

    Member

    Posts: 79
    Threads: 7
    Joined: 2023 Nov
    Reputation: 8
    Country:Canada
    #20
    2025-08-12, 06:40 PM
    Thank you for your continued testing Kodi, this is all really great info. I think i Am looking for only mp4's rather than all video types like MKV ill change that on next revision.

    Youre right the list.txt plays sequentially, do you think random order is better? I didnt want to repeat films before a user had seen teh full list is all.

    You can adjust between playing movies/series/both in the variables, right now all these tweaks are begging for a better settings page or file, i might have to go that way..

    If you are on a page and you 'Back' (button or key) to the homepage you will get static slides with no video for peace and quiet Smiling-face If you use the 'home' button or reload the homepage you will get the full slideshow with trailers. This is currently sort of a bug, but the best way ive found to be absolutely sure we get no ghost trailer videos playing in the bg, due to jellyfin's SPA

    I do agree on the buttons style theyre kinda ugly, but im wondering what should they look like to match Jellyfins native style? the same as buttons on the playing osd?

    Id love a look at your libraries/server if you want to DM. Genuinely; your description of pouring over your metadata and manually vetting your trailers is totally after my own heart. Showcasing that kind of effort is what this is all about!
    Pages (4): « Previous 1 2 3 4 Next »

    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode