• 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 Development Feature Requests Featured Content Bar on Home Screen

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

     
    • 0 Vote(s) - 0 Average

    Featured Content Bar on Home Screen

    Ted Hinklater
    Offline

    Member

    Posts: 151
    Threads: 8
    Joined: 2023 Nov
    Reputation: 22
    Country:United Kingdom
    #11
    2024-11-20, 03:47 PM
    ahh ok, if you don't want the fullscreen one, switch back to a different spotlight.html. That CSS at the end is creating the space, to be used only by the fullscreen version.

    For the list.txt, is it in the UI folder with spotlight.html? Your list formatting looks good so, I think you're right about the permissions. Make sure jellyfin can read it. If you get it working I can update the linux guide. Thanks in advance for the info Smiling-face
    Drake97
    Offline

    Member

    Posts: 76
    Threads: 23
    Joined: 2023 Oct
    Reputation: 0
    Country:Chile
    #12
    2024-11-21, 04:20 AM
    (2024-11-20, 03:47 PM)Ted Hinklater Wrote: ahh ok, if you don't want the fullscreen one, switch back to a different spotlight.html. That CSS at the end is creating the space, to be used only by the fullscreen version.

    For the list.txt, is it in the UI folder with spotlight.html? Your list formatting looks good so, I think you're right about the permissions. Make sure jellyfin can read it. If you get it working I can update the linux guide. Thanks in advance for the info Smiling-face

    Hello again,
    The problem with the List.txt file turned out to be that in your github page you had established that the document should be called List.txt but within spotlight.html you are calling the file list.txt instead of List.txt

    [Image: 1cKlsVP.png]

    and when I renamed the file to lowercase, it immediately started to recommend the movies and series that I left Grinning-face

    and the other thing, is that I keep the display problem, even using the normal spotlight.html file, it gives me that unused blank space between the bar and my media.

    [Image: 3mTMAeM.png]

    Thinking that maybe it was an incompatibility with the theme I had, I put finimalism as well without any css and still the problem, plus it seems to crop the photos and the text/logo of the movies (word Sonríe cutted in half)

    [Image: 0yRt92H.png]

    the weirdest thing is that in the mobile version it works flawlessly, without any problem.

    could it be maybe that I am doing all the tests on my monitor which is 2k instead of 1080p ? if so I apologize as I don't have a lower resolution monitor to test on

    if you want we can communicate by discord or some other way, for me to be working as a kind of QA or something like that, only if you think so

    greetings
    Ted Hinklater
    Offline

    Member

    Posts: 151
    Threads: 8
    Joined: 2023 Nov
    Reputation: 22
    Country:United Kingdom
    #13
    2024-11-21, 05:09 AM (This post was last modified: 2024-11-21, 05:13 AM by Ted Hinklater. Edited 2 times in total.)
    (2024-11-21, 04:20 AM)Drake97 Wrote: when I renamed the file to lowercase, it immediately started to recommend the movies and series that I left Grinning-face

    Nice work! I've updated it to fix that, thanks!

    (2024-11-21, 04:20 AM)Drake97 Wrote: and the other thing, is that I keep the display problem, even using the normal spotlight.html file, it gives me that unused blank space between the bar and my media.

    [Image: 3mTMAeM.png]

    Thinking that maybe it was an incompatibility with the theme I had, I put finimalism as well without any css and still the problem, plus it seems to crop the photos and the text/logo of the movies (word Sonríe cutted in half)

    [Image: 0yRt92H.png]

    the weirdest thing is that in the mobile version it works flawlessly, without any problem.

    could it be maybe that I am doing all the tests on my monitor which is 2k instead of 1080p ? if so I apologize as I don't have a lower resolution monitor to test on

    if you want we can communicate by discord or some other way, for me to be working as a kind of QA or something like that, only if you think so

    greetings

    Can you check you've definitely not added css to this area (Settings > Display)
    [Image: r1LoTjk.png]

    and check this is your home-html.chunk.js

    Code:
    "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[8372],{5939:function(a,e,t){t.r(e),e.default='<div id="indexPage" style="outline:0" data-role="page" data-dom-cache="true" class="page homePage libraryPage allLibraryPage backdropPage pageWithAbsoluteTabs withTabs" data-backdroptype="movie,series,book"> <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> <div class="tabContent pageTabContent" id="homeTab" data-index="0"> <div class="sections"></div> </div> <div class="tabContent pageTabContent" id="favoritesTab" data-index="1"> <div class="sections"></div> </div> </div> '}}]);
    Drake97
    Offline

    Member

    Posts: 76
    Threads: 23
    Joined: 2023 Oct
    Reputation: 0
    Country:Chile
    #14
    2024-11-21, 05:53 AM
    (2024-11-21, 05:09 AM)Ted Hinklater Wrote:
    (2024-11-21, 04:20 AM)Drake97 Wrote: when I renamed the file to lowercase, it immediately started to recommend the movies and series that I left Grinning-face

    Nice work! I've updated it to fix that, thanks!

    (2024-11-21, 04:20 AM)Drake97 Wrote: and the other thing, is that I keep the display problem, even using the normal spotlight.html file, it gives me that unused blank space between the bar and my media.

    [Image: 3mTMAeM.png]

    Thinking that maybe it was an incompatibility with the theme I had, I put finimalism as well without any css and still the problem, plus it seems to crop the photos and the text/logo of the movies (word Sonríe cutted in half)

    [Image: 0yRt92H.png]

    the weirdest thing is that in the mobile version it works flawlessly, without any problem.

    could it be maybe that I am doing all the tests on my monitor which is 2k instead of 1080p ? if so I apologize as I don't have a lower resolution monitor to test on

    if you want we can communicate by discord or some other way, for me to be working as a kind of QA or something like that, only if you think so

    greetings

    Can you check you've definitely not added css to this area (Settings > Display)
    [Image: r1LoTjk.png]

    and check this is your home-html.chunk.js

    Code:
    "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[8372],{5939:function(a,e,t){t.r(e),e.default='<div id="indexPage" style="outline:0" data-role="page" data-dom-cache="true" class="page homePage libraryPage allLibraryPage backdropPage pageWithAbsoluteTabs withTabs" data-backdroptype="movie,series,book"> <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> <div class="tabContent pageTabContent" id="homeTab" data-index="0"> <div class="sections"></div> </div> <div class="tabContent pageTabContent" id="favoritesTab" data-index="1"> <div class="sections"></div> </div> </div> '}}]);

    my man!!,

    for some reason my chunk.js had much less information than the one you gave me and after making a backup of mine, replace it with yours, it works perfectly, I no longer have that lost space and the bar works 10 of 10, thank you very much Grinning-face
    Ted Hinklater
    Offline

    Member

    Posts: 151
    Threads: 8
    Joined: 2023 Nov
    Reputation: 22
    Country:United Kingdom
    #15
    2024-11-21, 05:57 AM
    eyyyyyyyyyyyyy
    nanouk76
    Offline

    Junior Member

    Posts: 36
    Threads: 5
    Joined: 2023 Jun
    Reputation: 0
    Country:France
    #16
    2024-11-23, 10:42 AM
    (2024-11-18, 07:24 PM)Ted Hinklater Wrote:
    (2024-11-18, 03:07 PM)herbs14 Wrote: the instruction for this one is only for windows, is there an instruction using Ubuntu?

    1) Create the ui Directory

    Code:
    sudo mkdir -p /usr/share/jellyfin/web/ui

    2) Copy your chosen spotlight.html file (making sure you inserted your API key) to the new "ui" folder

    Code:
    sudo cp /path/to/spotlight.html /usr/share/jellyfin/web/ui/

    3) Add the relevant script to home-html.chunk.js

    Code:
    sudo nano /usr/share/jellyfin/web/home-html.chunk.js

    4) Ensure the ui folder & spotlight.html are readable by Jellyfin

    Code:
    sudo chown -R jellyfin:jellyfin /usr/share/jellyfin/web/ui
    sudo chmod -R 755 /usr/share/jellyfin/web/ui

    5) Restart Jellyfin

    Code:
    sudo systemctl restart jellyfin

    6) Clear Browser Cache

    Make sure to clear your browser cache to load the updated home-html.chunk.js & spotlight.html

    Hi,
    after editing the relevant files to the letter as per the instructions on Github and checking the above instructions for linux, still no dice.
    On Chrome the frame does not even appear:

    [Image: Capture-d-cran-du-2024-11-23-11-33-31.png]

    On Firefox I get this :

    [Image: Capture-d-cran-du-2024-11-23-11-32-54.png]

    I am stumped and need some help.
    TIA
    Jellyfin 10.10.6
    Ubuntu Server 22.04.4 LTS
    Gigabyte Technology Co., Ltd. GA-MA78LMT-US2H
    AMD® Phenom™ ii x6 1090t processor × 6
    20 GB Ram
    Nvidia P400
    Ted Hinklater
    Offline

    Member

    Posts: 151
    Threads: 8
    Joined: 2023 Nov
    Reputation: 22
    Country:United Kingdom
    #17
    2024-11-24, 03:38 PM (This post was last modified: 2024-11-24, 08:16 PM by Ted Hinklater. Edited 1 time in total.)
    I think, in the instructions where it said path/to/spotlight.html, you put the internet address, it should be the local address of where it had downloaded (I'll make the guide more specific if this is what happened)
    Ted Hinklater
    Offline

    Member

    Posts: 151
    Threads: 8
    Joined: 2023 Nov
    Reputation: 22
    Country:United Kingdom
    #18
    2024-11-24, 05:09 PM (This post was last modified: 2024-11-24, 06:29 PM by Ted Hinklater. Edited 1 time in total.)
    Ok basically on the github page, it just said "Download [spotlight.html]" and I think a lot of people will just right-click the link and Save As... rather than going to the file page and downloading. So they end up downloading the github page instead of spotlight.html.  Is that maybe what happened? I've edited the guide now
    nanouk76
    Offline

    Junior Member

    Posts: 36
    Threads: 5
    Joined: 2023 Jun
    Reputation: 0
    Country:France
    #19
    2024-11-25, 08:09 AM
    (2024-11-24, 05:09 PM)Ted Hinklater Wrote: Ok basically on the github page, it just said "Download [spotlight.html]" and I think a lot of people will just right-click the link and Save As... rather than going to the file page and downloading. So they end up downloading the github page instead of spotlight.html.  Is that maybe what happened? I've edited the guide now

    That was it! Two things though, the whole interface is noticeably less responsive with the beautiful theming (my oudated rig?) and I don't see the placeholder for trailers in the frame. Anything I can do about that?
    Thx so much for taking the time.
    Jellyfin 10.10.6
    Ubuntu Server 22.04.4 LTS
    Gigabyte Technology Co., Ltd. GA-MA78LMT-US2H
    AMD® Phenom™ ii x6 1090t processor × 6
    20 GB Ram
    Nvidia P400
    nanouk76
    Offline

    Junior Member

    Posts: 36
    Threads: 5
    Joined: 2023 Jun
    Reputation: 0
    Country:France
    #20
    2024-11-25, 08:17 AM (This post was last modified: 2024-11-25, 08:29 AM by nanouk76. Edited 2 times in total.)
    (2024-11-25, 08:09 AM)nanouk76 Wrote:
    (2024-11-24, 05:09 PM)Ted Hinklater Wrote: Ok basically on the github page, it just said "Download [spotlight.html]" and I think a lot of people will just right-click the link and Save As... rather than going to the file page and downloading. So they end up downloading the github page instead of spotlight.html.  Is that maybe what happened? I've edited the guide now

    That was it! Two things though, the whole interface is noticeably less responsive with the beautiful theming (my aging rig?) and I don't see the placeholder for the trailer in the frame. Anything I can do about that?

    [Image: Capture-d-cran-du-2024-11-25-09-14-58.png]

    Thx so much for taking the time.
    Jellyfin 10.10.6
    Ubuntu Server 22.04.4 LTS
    Gigabyte Technology Co., Ltd. GA-MA78LMT-US2H
    AMD® Phenom™ ii x6 1090t processor × 6
    20 GB Ram
    Nvidia P400
    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