• 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 2 3 4 5 6 … 10 Next »
     

     
    • 3 Vote(s) - 5 Average

    Featured Content Bar

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

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #31
    2024-06-06, 05:24 PM (This post was last modified: 2024-06-06, 05:32 PM by TheDreadPirate. Edited 1 time in total.)
    You have to be in the directory where make.sh is located. It should be in the root directory of the extracted the contents of the source.

    Or maybe you don't have python3 installed?
    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]
    SethBacon
    Offline

    Member

    Posts: 51
    Threads: 3
    Joined: 2023 Nov
    Reputation: 5
    Country:Canada
    #32
    2024-06-11, 03:21 AM
    I have updated slideshow.html

    -Much improved sourcing and randomness, only selects 20 items per mainpage load(variable)
    -Configuration variables grouped at the top
    -Now discards slides which don't have Logo Or Backdrop

    Issues still; we move from the slide to the media item by an href call, which is not in line with regular jellyfin button navigation, and doesnt give the right referral for the app's back button. The slides or the frame itself needs to be a button, cant figure out how. Needs work. May be due to our hackey iframe injection and possibly could be solved by making this a proper real plugin.


    Attached Files
    .html   slideshow.html (Size: 10.59 KB / Downloads: 203)
    1
    M0RPH3US
    Offline

    Member

    Posts: 89
    Threads: 5
    Joined: 2023 Jun
    Reputation: 7
    #33
    2024-06-11, 10:21 AM
    (2024-06-11, 03:21 AM)SethBacon Wrote: I have updated slideshow.html

    -Much improved sourcing and randomness, only selects 20 items per mainpage load(variable)
    -Configuration variables grouped at the top
    -Now discards slides which don't have Logo Or Backdrop

    Issues still; we move from the slide to the media item by an href call, which is not in line with regular jellyfin button navigation, and doesnt give the right referral for the app's back button. The slides or the frame itself needs to be a button, cant figure out how. Needs work. May be due to our hackey iframe injection and possibly could be solved by making this a proper real plugin.

    Awesome.. It works perfectly now. I added my tweaks gradients and stuff. Works like a charm Hundred-points
    Hectik
    Offline

    Junior Member

    Posts: 19
    Threads: 2
    Joined: 2024 Jun
    Reputation: 0
    #34
    2024-06-13, 09:41 AM
    Is this still compatible with 10.9.6?
    Jellyfin 10.10.7 [LSIO Docker] | Ubuntu 24.04 LTS | i7-12700T | 16 GB RAM | 94TB Storage
    Hectik
    Offline

    Junior Member

    Posts: 19
    Threads: 2
    Joined: 2024 Jun
    Reputation: 0
    #35
    2024-06-13, 11:42 AM (This post was last modified: 2024-06-13, 11:44 AM by Hectik. Edited 2 times in total.)
    (2024-01-19, 08:06 AM)esol693 Wrote: As a newbie. I don't know where to find the avatar folder to paste the slideshow.html . Can someone give me a little guide?

    If the folder isn't already there you need to create this yourself .

    In my case,  I'm using Jellyfin in docker LSIO version. I added this volume mapping to my docker compose file with a local folder named avatars containing the slideshow.html and list.txt files.

      volumes:
        - ./localpath/avatars:/usr/share/jellyfin/web/avatars

    (2024-06-13, 09:41 AM)Hectik Wrote: Is this still compatible with 10.9.6?

    Nevermind just tested myself and it is!
    Jellyfin 10.10.7 [LSIO Docker] | Ubuntu 24.04 LTS | i7-12700T | 16 GB RAM | 94TB Storage
    1
    M0RPH3US
    Offline

    Member

    Posts: 89
    Threads: 5
    Joined: 2023 Jun
    Reputation: 7
    #36
    2024-06-28, 07:57 AM
    (2024-06-11, 03:21 AM)SethBacon Wrote: I have updated slideshow.html

    -Much improved sourcing and randomness, only selects 20 items per mainpage load(variable)
    -Configuration variables grouped at the top
    -Now discards slides which don't have Logo Or Backdrop

    Issues still; we move from the slide to the media item by an href call, which is not in line with regular jellyfin button navigation, and doesnt give the right referral for the app's back button. The slides or the frame itself needs to be a button, cant figure out how. Needs work. May be due to our hackey iframe injection and possibly could be solved by making this a proper real plugin.

    @SethBacon your pm is disabled. Saw your message. For sure we can jump over.
    Canadane
    Offline

    Junior Member

    Posts: 1
    Threads: 0
    Joined: 2024 Jul
    Reputation: 0
    #37
    2024-07-06, 11:40 PM
    Any chance of this eventually becoming a plugin for easier installation?
    For the single brain cell users such as myself.
    Sash
    Offline

    Junior Member

    Posts: 23
    Threads: 3
    Joined: 2024 Aug
    Reputation: 0
    #38
    2024-08-13, 12:32 PM
    Hi, first of all thank you for this.
    I'm good at following instructions but the guide has been so confusing. Btw, I'm on windows and I have basic knowledge of HTML, and coding.

    So I got Ubuntu from Microsoft Store, and also turned on the Windows Subsystem for Linux feature from "Turn Windows features On or Off" since Ubuntu wasn't working without this or I'd get "WSLRegisterDistribution Failed with Error: 0x8007019e"

    1. I downloaded the repo from here, but what do I do with it? It says few that a files from that repo zip "slideshow.html featuredstyles.css and featuredscripts.js" will stay in C:\Program Files\Jellyfin\Server\jellyfin-web\

    But at what point do I copy them in that directory? after downloading it or after running the commands mentioned in the next steps?

    2. I ran these commands in Ubuntu
    sudo apt install jq python3
    cd "/mnt/c/Program Files/Jellyfin/Server/jellyfin-web/"
    ls | grep home-html

    3. I found
    home-html.YOURSWILLHAVENUMBERSHERE.chunk.js

    and added this line in that json
    <style>.featurediframe { width: 89vw; height: 300px; display: block; border: 1px solid #000; margin: 0 auto}</style> <iframe class="featurediframe" src="/web/avatars/slideshow.html"></iframe>

    I also got my user id and api key for this to work, I added my api key, and user id in pull.py on line 8, line 10 & I also did the same in make.sh file on line 18, 19, 27, & 28.

    I did not understand anything after that esp the point 7b from the guide could you please elaborate the steps from 7b to 10?

    And after doing all of this I did get the featured bar but sometimes it was all blank, and sometimes the left, and right buttons below the featured bar would break it and cause the images to disappear, Most of the time the featured bar was blank.

    Does the featured bar pick random media from library or do I have to enter the movies I want to be shown in the featured bar?

    It would also be helpful if you could show screenshots or gifs from step 5 to 10, and the directory C:\Program Files\Jellyfin\Server\jellyfin-web\avatars

    Thanks!
    Ted Hinklater
    Offline

    Member

    Posts: 149
    Threads: 8
    Joined: 2023 Nov
    Reputation: 22
    Country:United Kingdom
    #39
    2024-08-13, 01:00 PM (This post was last modified: 2024-08-13, 01:03 PM by Ted Hinklater. Edited 3 times in total.)
    (2024-08-13, 12:32 PM)Sash Wrote: Hi, first of all thank you for this.
    I'm good at following instructions but the guide has been so confusing. Btw, I'm on windows and I have basic knowledge of HTML, and coding.

    You can do it like this on Windows
    • Download slideshow.html
    • Enter your UserId into line 11 of slideshow.html (Get your UserID by going to the Jellyfin Dashboard, go to the Users tab, click your username. Your UserId is the last string in the address bar after the = sign)
    • Enter your API key into line 12 of slideshow.html (Go to Dashboard, API Keys tab, click the + and create a key for FeaturedSlideshow)
    • Go to your jellyfin-web folder (C:\Program Files\Jellyfin\Server\jellyfin-web) and create a folder named avatars and drop slideshow.html in that folder
    • (Important: Open Notepad with Administrator rights, or use Notepad++ for this) In the jellyfin-web folder, open the file home-html.RANDOMSTRINGHERE.chunk.js
    • Ctrl+F and search for data-backdroptype="movie,series,book"> Paste this after the >
      Code:
      <style>.featurediframe { width: 89vw; height: 300px; display: block; border: 1px solid #000; margin: 0 auto}</style> <iframe class="featurediframe" src="/web/avatars/slideshow.html"></iframe>
    • Save the file.
    • Empty your browser's cached web content (Ctrl+F5 or empty it from your browser's Cookies and Site Data settings section)
    Sash
    Offline

    Junior Member

    Posts: 23
    Threads: 3
    Joined: 2024 Aug
    Reputation: 0
    #40
    2024-08-13, 01:36 PM
    (2024-08-13, 01:00 PM)Ted Hinklater Wrote:
    (2024-08-13, 12:32 PM)Sash Wrote: Hi, first of all thank you for this.
    I'm good at following instructions but the guide has been so confusing. Btw, I'm on windows and I have basic knowledge of HTML, and coding.

    You can do it like this on Windows
    • Download slideshow.html
    • Enter your UserId into line 11 of slideshow.html (Get your UserID by going to the Jellyfin Dashboard, go to the Users tab, click your username. Your UserId is the last string in the address bar after the = sign)
    • Enter your API key into line 12 of slideshow.html (Go to Dashboard, API Keys tab, click the + and create a key for FeaturedSlideshow)
    • Go to your jellyfin-web folder (C:\Program Files\Jellyfin\Server\jellyfin-web) and create a folder named avatars and drop slideshow.html in that folder
    • (Important: Open Notepad with Administrator rights, or use Notepad++ for this) In the jellyfin-web folder, open the file home-html.RANDOMSTRINGHERE.chunk.js
    • Ctrl+F and search for data-backdroptype="movie,series,book"> Paste this after the >
      Code:
      <style>.featurediframe { width: 89vw; height: 300px; display: block; border: 1px solid #000; margin: 0 auto}</style> <iframe class="featurediframe" src="/web/avatars/slideshow.html"></iframe>
    • Save the file.
    • Empty your browser's cached web content (Ctrl+F5 or empty it from your browser's Cookies and Site Data settings section)

    Hey thanks! I have already read your guide on this from over here: https://github.com/tedhinklater/finality

    Nice theme btw, I'm using it. 

    I've did everything that was mentioned but the featured bar is still blank most of the times. I have about 40 movies in my library, and I want to know if it picks random movies or I have to make a text file for it or something. 

    Thanks again.
    1
    Pages (10): « Previous 1 2 3 4 5 6 … 10 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