Commit Graph
212 Commits
Author SHA1 Message Date
M0RPH3US 6ed7f144c6 Update version number to v6.1.3 2026-10-21 10:45:38 +05:30
M0RPH3US 954baa4113 Merge pull request #122 from Omar-Alodwan/jmp-no-replacechildren
Avoid Element.replaceChildren so the bar loads in Jellyfin Media Player
2026-10-21 10:44:41 +05:30
M0RPH3US 9bf86e922b Update version number to v6.1.2 2026-10-19 19:00:50 +05:30
M0RPH3US 1618b0db12 Update version number to v6.1.2 2026-10-19 18:59:38 +05:30
M0RPH3US b1418df2db Revise README for Play Now function and CSS support
Updated README to reflect changes in CSS support and added badges.
2026-10-13 14:13:21 +00:00
M0RPH3US 4f9d981933 Update version number to 6.1.1 2026-10-13 04:00:31 +05:30
M0RPH3US fea6e2928f Update version number to v6.1.1 2026-10-13 04:00:08 +05:30
MakD 8cd503c8fd Fix slide timer not auto progressing 2026-10-13 03:47:29 +05:30
Omar-Alodwan 8ebd0e517f Avoid Element.replaceChildren for older web engines
Jellyfin Media Player 1.12 ships a web engine older than Chrome 86, so
dotsContainer.replaceChildren() threw and the bar never loaded. Clear
with textContent and append instead.
2026-10-12 18:38:58 +02:00
M0RPH3US 23dcd06d23 Merge pull request #121 from Omar-Alodwan/trailer-captions-off
Keep YouTube trailer captions off the home rows
2026-10-12 06:43:37 +05:30
Omar Alodwan 7e8d0667ef Keep YouTube trailer captions off the home rows
Trailers whose uploader set default captions show them at the bottom of
the player. The trailer fills the bar behind the home rows, so the
captions are drawn over them.

Add a trailerCaptions option (default off, "Trailer captions" switch in
the settings panel). While it is off, the caption module is unloaded on
ready and again when playback starts, since YouTube loads it on play.
2026-10-12 03:08:37 +02:00
M0RPH3US 5b6fa01a5d Merge pull request #119 from MakD/v12-experimental
V12 Support
2026-09-15 21:34:33 +05:30
MakD 539e2308da Refactor code structure for improved readability and maintainability 2026-09-15 21:32:45 +05:30
MakD 9aa3fd3f7e Refactor code structure for improved readability and maintainability 2026-09-01 12:28:28 +05:30
MakD d2f41f3910 Refactor play button creation to improve structure and maintainability 2026-08-28 16:01:43 +05:30
MakD 741e31ebd8 Bump version to v6.1.0 and remove unused multi-choice styles 2026-08-28 15:17:54 +05:30
MakD 03c4cc0ade Add multi-choice library selection and filter support in settings
- Introduced multi-choice options for selecting libraries and trailer libraries in the settings panel.
- Implemented functionality to parse and apply filters from a list, allowing dynamic item fetching based on specified criteria.
- Updated relevant API calls to accommodate new filtering capabilities.
2026-08-28 15:06:57 +05:30
MakD 065b16588e v6.0.0: slideshow rework, new fonts, updated install snippet 2026-08-28 13:16:35 +05:30
M0RPH3US da79c05066 Merge pull request #114 from MrRussLuther/sync-page-backdrop
Sync the page backdrop with the featured slide
2026-08-11 21:07:52 +05:30
Russell Luther c1fa76f046 Sync the page backdrop with the featured slide
The background behind the home page is Jellyfin's own backdrop layer, and it
has no connection to what the bar is showing. It sits on unrelated library art,
and where the user has Jellyfin's backdrop rotator enabled it also cycles on its
own timer, so the page behind the hero drifts while the hero itself is correct.

PageBackdrop points that layer at the featured item and keeps it in step. It
reuses the exact URL the active slide already requested through
SlideCreator.buildImageUrl, so the browser serves the image from cache and no
extra request is made.

Two details worth calling out:

Jellyfin's rotator adds its own .backdropImage siblings into the same container
and cycles them, which paints over anything we set. While the bar owns the
screen we keep our layer the only one and make sure it stays last. This is done
with a MutationObserver on the container rather than a timer, so it reacts to
the rotator instead of polling for it.

It is scoped to the home page. VisibilityObserver already knows when the bar is
hidden, so leaving the page hands the backdrop straight back to Jellyfin and no
other page is affected.

Defaults on, alongside slideAnimationEnabled and enableTrailers. Set
CONFIG.syncPageBackdrop to false to leave the backdrop alone.
2026-08-06 22:31:57 -04:00
M0RPH3US b6a113ba45 Merge pull request #113 from MrRussLuther/prefer-main-trailer
Pick the main trailer instead of RemoteTrailers[0]
2026-08-06 20:11:51 +05:30
M0RPH3US e835513bbf Merge pull request #112 from MrRussLuther/fix-firefox-backdrop-mask-composite
Fix missing backdrop to trailer fade in Firefox (invalid mask-composite value)
2026-08-06 20:10:56 +05:30
M0RPH3US bb53c0b01d Merge pull request #111 from Vinnie-Singleton/makd-endsat-clock
Show "Ends at" time in the viewer's own clock format
2026-08-06 20:10:10 +05:30
Russell Luther 049cd148d2 Demote alternate cuts within tier and handle youtu.be and embed URLs
A flat 10 point demotion ranked an accessibility variant of a real
trailer below non-trailer junk like Behind the Scenes or Review.
Subtract 0.5 instead, so an alternate cut loses to an ordinary entry
of the same tier but still beats lower tier promo clips.

Also parse youtu.be short links and youtube.com embed links by
pathname, since neither carries a v query param.
2026-08-01 01:16:33 -04:00
Russell Luther 96b0d4b099 Pick the main trailer instead of RemoteTrailers[0]
RemoteTrailers arrives in metadata provider order, which is not
preference order. Taking index 0 unconditionally means the bar
regularly plays something other than the trailer: a promo clip, a
teaser, or an accessibility variant.

The clearest case is an American Sign Language cut. TMDb lists
"Official American Sign Language Trailer" first for A Minecraft Movie,
Mortal Kombat II and Superman, so those slides play a trailer with an
interpreter composited into the corner, drawn over the backdrop.

Index 0 is also not guaranteed to be a YouTube link. When it is not,
searchParams.get("v") returns null and the slide loses its trailer
even though a usable YouTube entry sits further down the list.

Entries are now ranked by name, preferring official, final and main
trailers over generic ones and teasers, with alternate cuts ranked
below everything else rather than dropped so an item that has nothing
else still plays something. Provider order breaks ties, so an item
whose first entry is already the best keeps it. Entries that yield no
video id are skipped instead of ending the search.

Across a 384 item library this changes the pick for 105 items and
loses the trailer for none. Avatar moves from "Back in Theatres" to
"Special Edition Official Trailer", Oppenheimer from "Review" to
"Official Trailer", Moana 2 from "Special Look" to "Official Trailer",
and the three titles above stop playing the sign language cut.
2026-08-01 00:30:33 -04:00
Russell Luther b1735613a2 Use the standard intersect value for mask-composite on .backdrop.with-video
source-in is a -webkit-mask-composite value and is not valid for the
standard mask-composite property, which accepts only add, subtract,
intersect and exclude. Firefox drops the invalid declaration and falls
back to the initial value add, which unions the two mask layers instead
of intersecting them. The horizontal fade is lost and the 40% wide
backdrop hard cuts against the playing trailer.

Chromium is unaffected either way because it honours the
-webkit-mask-composite line that follows, which is left unchanged.

.video-container already uses the intersect and source-in pairing.
2026-07-28 05:27:43 -04:00
Vinnie-Singleton 46647a739b Show "Ends at" time in the viewer's own clock format
Right now the end time is locked to 24-hour. There is no option to switch
to 12 hour. Dropping the forced setting lets it match whatever the viewer's
device already uses including 12 hr with AM/PM along with the existing 24
hour format.
2026-07-07 02:25:50 +00:00
M0RPH3US 073eac75e7 Update version number in slideshowpure.css 2026-07-01 15:41:47 +05:30
M0RPH3US 57e33f5749 Update version number to v5.0.1 2026-07-01 15:41:28 +05:30
M0RPH3US f2f58465c4 Merge pull request #110 from dracovoldy/fix/youtube-api-fallback
Fallback when YouTube API fails to load
2026-06-29 20:01:25 +05:30
Abhishek Mallik 74873bf4d4 Fallback when YouTube API fails to load 2026-06-29 02:14:19 +05:30
M0RPH3US 23a98399b8 Update slideshowpure.css 2026-05-19 21:29:13 +05:30
M0RPH3US ad2a5473e8 Update slideshowpure.js 2026-05-19 21:28:53 +05:30
M0RPH3US 787fd379ef Update slideshowpure.css 2026-05-19 20:39:04 +05:30
M0RPH3US 18b5a6dca1 Update slideshowpure.js
Attempt to fix #105
2026-05-19 20:38:34 +05:30
M0RPH3US 3c64087e24 Update slideshowpure.css 2026-02-13 13:58:38 +05:30
M0RPH3US fcb7bf469b Update slideshowpure.js 2026-02-13 13:58:20 +05:30
M0RPH3US ec89fea419 Update slideshowpure.css 2026-02-13 13:30:01 +05:30
M0RPH3US ec268f128d Update slideshowpure.js 2026-02-13 13:29:32 +05:30
M0RPH3US 3d0ae04cc6 Update slideshowpure.css 2026-02-11 22:06:01 +05:30
M0RPH3US d3c29f6f6c Update slideshowpure.js 2026-02-11 22:05:34 +05:30
M0RPH3US a76fa02a56 Update slideshowpure.css 2026-02-07 18:02:14 +05:30
M0RPH3US 568d0a028c Implement page visibility handling for slideshow
Added page visibility handling to pause and resume slideshow and videos based on tab visibility.
2026-02-07 18:01:34 +05:30
M0RPH3US 685e7ecfc6 Update Jellyfin Slideshow to version 4.0.0 2026-02-05 11:02:09 +05:30
M0RPH3US 5ff5b4de05 Upgrade Jellyfin Slideshow to version 4.0.0 2026-02-05 11:01:31 +05:30
M0RPH3US 164a8c996a Update version number to 3.0.9 in CSS file 2026-01-29 02:51:24 +05:30
M0RPH3US 921fefa95d Update version number to v3.0.9 2026-01-29 02:48:09 +05:30
M0RPH3US 85aa720cba Merge pull request #85 from TheMatrixan/main
Fix JSON extraction in LocalizationUtils
2026-01-29 02:42:39 +05:30
M0RPH3US 823becf42a Merge pull request #84 from charlesbel/patch-1
Fix: Filter out media items without logo images
2026-01-29 02:42:11 +05:30
Mateusz Lesiak 29248c72cd Add JSON extraction improvements in LocalizationUtils 2026-01-26 07:44:58 +01:00