• 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 General Questions Featured Content Bar

    Poll: does anyone want a featured content bar?
    You do not have permission to vote in this poll.
    Yes
    87.50%
    42 87.50%
    No
    6.25%
    3 6.25%
    Don't care
    6.25%
    3 6.25%
    Total 48 vote(s) 100%
    * You voted for this item. [Show Results]

    Pages (10): « Previous 1 … 6 7 8 9 10 Next »
     

     
    • 3 Vote(s) - 5 Average

    Featured Content Bar

    is anyone currently working on a featured content bar?
    EduardoUK
    Offline

    Junior Member

    Posts: 6
    Threads: 0
    Joined: 2024 Sep
    Reputation: 0
    Country:United Kingdom
    #71
    2024-09-28, 04:22 PM (This post was last modified: 2024-09-28, 04:38 PM by EduardoUK. Edited 1 time in total.)
    Thank you for helping, when adding the volumes my web client / interface stops working so while i think we are on the right track I must be doing something wrong.

    If I can get things working I'm happy to write a guide for anyone else strugling with this configuration.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #72
    2024-09-28, 04:39 PM
    TLDR, you can't. I've seen many try and I don't recall any succeeding. The only way I can think of, though I haven't tried this, would be to install the jellyfin-web package directly in the OS without the server package and then mount the the host path for jellyfin-web into the container. A hybrid docker/package Jellyfin setup. Sounds like a PITA, though.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    EduardoUK
    Offline

    Junior Member

    Posts: 6
    Threads: 0
    Joined: 2024 Sep
    Reputation: 0
    Country:United Kingdom
    #73
    2024-09-28, 05:00 PM
    (2024-09-28, 04:39 PM)TheDreadPirate Wrote: TLDR, you can't.  I've seen many try and I don't recall any succeeding.  The only way I can think of, though I haven't tried this, would be to install the jellyfin-web package directly in the OS without the server package and then mount the the host path for jellyfin-web into the container.  A hybrid docker/package Jellyfin setup.  Sounds like a PITA, though.


    Oh darn... this is a shame. I will keep digging and hoping that some fine forum member proves you wrong  Smiling-face-with-sunglasses Thanks
    1
    EduardoUK
    Offline

    Junior Member

    Posts: 6
    Threads: 0
    Joined: 2024 Sep
    Reputation: 0
    Country:United Kingdom
    #74
    2024-09-28, 09:18 PM
    Ok, after spending some time trying to understand whats going on most of the day, I've figured out how to mount folders and files like "spotlight.html". Mounting an existing folder creates an empty folder, which isn't useful. However, mounting a new folder like "ui" allows files like "spotlight.html" to be added and accessed.

    Thats where my luck ran out however, as I was unable to edit existing files within the container, such as "home-html.RANDOMSTRINGHERE.chunk.js". In theory, I could mount a copy of 'home-html.RANDOMSTRINGHERE.chunk.js' file directly if I could obtain the file and identify the random string. This techically worked when I mounted a test.js file.

    But whilst I can replace these files, making the existing files editable or persistent outside of the container seems challenging. This would likely require either detaching and manually updating the source files from the container image or making significant changes to the "Featured Content Bar" code.

    Disappointing, but I wanted to share what I've learned in hopes that it might help others.

    Thanks Guys.
    1
    vbxlive
    Offline

    Junior Member

    Posts: 16
    Threads: 3
    Joined: 2024 Sep
    Reputation: 0
    Country:India
    #75
    2024-09-30, 09:50 AM
       

    Slider shows cut bottom side, not round corner on bottom on mobile device, is their require to increase iframe size
    1
    Ted Hinklater
    Offline

    Member

    Posts: 149
    Threads: 8
    Joined: 2023 Nov
    Reputation: 22
    Country:United Kingdom
    #76
    2024-09-30, 02:08 PM (This post was last modified: 2024-09-30, 06:04 PM by Ted Hinklater. Edited 2 times in total.)
    (2024-09-30, 09:50 AM)vbxlive Wrote: Slider shows cut bottom side, not round corner on bottom on mobile device, is their require to increase iframe size


    Oh my bad it wasn't set up for 400px, this is the updated home-html.chunk.js snippet

    Code:
    <style>.featurediframe {width: 95vw; height: 23.5em; display: block; border: 0px solid #000; margin: 0 auto; margin-bottom: 0em; margin-top: 1em;} @media (min-width: 2000px) {.featurediframe {height: 18em; font-size: 175%;} .layout-desktop #homeTab .sections.homeSectionsContainer {margin-top: -3em !important;}} @media (max-width:1000px) and (orientation:portrait) {.featurediframe {height: 46vh;}} @media (max-width:1000px) and (orientation:landscape) {.featurediframe {height: 98vh;}} @media (max-width:400px) and (orientation:portrait) {.featurediframe {height: 52vh;}} @media (max-height: 400px) and (orientation:landscape) {.featurediframe {height: 100vh;}} @media screen and (aspect-ratio: 4/3) {.featurediframe {height: 27em;}} @media screen and (aspect-ratio: 3/4) {.featurediframe {height: 27em;}} @media screen and (aspect-ratio: 16/10) and (max-height: 1200px) {.featurediframe {height: 34em;}} @media screen and (aspect-ratio: 10/16) and (max-height: 1280px) {.featurediframe {height: 25em;}} </style><iframe class="featurediframe" src="/web/ui/spotlight.html"></iframe>

    Cheers for letting me know
    edit: added iPad & Kindle HDX support
    jennystreaming
    Offline

    Junior Member

    Posts: 24
    Threads: 3
    Joined: 2024 Jun
    Reputation: 0
    Country:Finland
    #77
    2024-09-30, 07:58 PM
    This is seriously gods work! and so important, all my users coming from other platforms are dwelling on this feature (and how I was missing it before)
    vbxlive
    Offline

    Junior Member

    Posts: 16
    Threads: 3
    Joined: 2024 Sep
    Reputation: 0
    Country:India
    #78
    2024-10-01, 05:01 AM
    1) attach custom trailer links to slider rather than IMDb data
    2)Can we display same trailer in movies and series page,
    EduardoUK
    Offline

    Junior Member

    Posts: 6
    Threads: 0
    Joined: 2024 Sep
    Reputation: 0
    Country:United Kingdom
    #79
    2024-10-01, 10:20 AM (This post was last modified: 2024-10-01, 12:21 PM by EduardoUK. Edited 4 times in total.)
    (2024-09-28, 09:18 PM)EduardoUK Wrote: Ok, after spending some time trying to understand whats going on most of the day, I've figured out how to mount folders and files like "spotlight.html". Mounting an existing folder creates an empty folder, which isn't useful. However, mounting a new folder like "ui" allows files like "spotlight.html" to be added and accessed.

    Thats where my luck ran out however, as I was unable to edit existing files within the container, such as "home-html.RANDOMSTRINGHERE.chunk.js". In theory, I could mount a copy of 'home-html.RANDOMSTRINGHERE.chunk.js' file directly if I could obtain the file and identify the random string. This techically worked when I mounted a test.js file.

    But whilst I can replace these files, making the existing files editable or persistent outside of the container seems challenging. This would likely require either detaching and manually updating the source files from the container image or making significant changes to the "Featured Content Bar" code.

    Disappointing, but I wanted to share what I've learned in hopes that it might help others.

    Thanks Guys.

    Ok, although not eligant any way, I have managed to get this working while running from a container. 

    The key is to mount the "UI" folder and also a copy of the  "home-html.RANDOMSTRINGHERE.chunk.js". I simply downloaded a copy of the latest portable version of Jellyfin and copied the file from there. I presume the random string may change with different versions of the file so this will need to be taken into account when updating the container - but I guess this goes for any other install aswel?

    My mount points for refrence (added to the container file)

         - [volume path here]/Jellyfin-web/home-html.RANDOMSTRINGHERE.chunk.js :/usr/share/jellyfin/web/home-html.RANDOMSTRINGHERE.chunk.js
         - [volume path here]/Jellyfin-web/ui:/usr/share/jellyfin/web/ui

    The above allows me to edit the files and folders needed for the featured content bar to work.

    I can now find somthing to watch from my collection in a timely fashion! Happy to help anyone else in the same boat.
    1
    Ted Hinklater
    Offline

    Member

    Posts: 149
    Threads: 8
    Joined: 2023 Nov
    Reputation: 22
    Country:United Kingdom
    #80
    2024-10-01, 12:48 PM
    Yet again, anything is possible if you just keep banging your head on the wall for long enough Grinning-face thanks for sharing!
    Pages (10): « Previous 1 … 6 7 8 9 10 Next »
     

    « Next Oldest | Next Newest »

    Users browsing this thread: 3 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