2024-05-28, 06:04 PM
(2023-11-13, 07:37 PM)SethBacon Wrote: Absolutely, all open source here, but this is your riceball (a solution I've been searching for for like seriously 2 years so i'm happy to help).
[Clarity here for newcomers] Attached are my 2 files needed to run this - slideshow.html, list.txt (these live in \Jellyfin\Server\jellyfin-web\avatars) after putting them there, go to the /jellyfin-web folder and find the file home-html.randomcharacters.chunk.js, open it with a text editor and insert this line:
<style>.featurediframe { width: 93vw; height: 350px; display: block; border: 0px solid #000; margin: 0 auto; margin-bottom: 40px}</style><iframe class="featurediframe" src="/web/avatars/slideshow.html"></iframe>
directly after data-backdroptype="movie,series,book">. Restart JF and clear browser cache to get it loaded. If you remove list.txt it will pick pseudo-random movies and series. (Randomization could use work)
I tried to fix the missing logo issue 3 different ways - checking for return errors, checking content length, and prefetching images but none worked. Will need fresh eyes later.
Regarding selection, did you definitely have this line in .slide? cursor: pointer;
I got it running in my installation (windows). I guess the mobile layout needs bit of tweaking with respect to the plot text. Either by clamping it to specific lines, or somehow just not able to think of the answer. Also, did you manage to find a way out for missing logo or backdrops??