2024-02-08, 08:06 PM
(This post was last modified: 2024-02-09, 02:56 PM by Terence-D. Edited 4 times in total.)
Hi there, I modified an existing plugin to support showing Pre-roll intro videos for only movies (toggleable) and wanted to share.
See below, I submitted the PR to the official jellyfin repo, I'd recommend waiting for that one but my repo is still up if want to test. Feedback or issues please let me know!
Its based off of this plugin here: https://github.com/BrianCArnold/jellyfin-plugin-intros
All I did was add a couple lines of code to check if its a movie or a series, and if a series returning an empty list of prerolls. I tested it out briefly myself on my Roku and it seems to work as expected. You can toggle it in the Plugins Settings page. I've submitted a PR to add it to BrianCArnolds work, but until then / if curious I've set up a (probably temporary) repo here:
https://github.com/Terence-D/jellyfin-pl...nly-intros
Repository link for Jellyfin is here: https://raw.githubusercontent.com/Terenc...ifest.json
I was thinking of adding wildcard support for Studio based preroll rules, and possibly altering the date to ignore the year (so Christmas videos would work every Christmas) as well.
The direct link to BrianCArnolds repository link for Jellyfin is here: https://raw.githubusercontent.com/BrianC...ifest.json
Cheers
See below, I submitted the PR to the official jellyfin repo, I'd recommend waiting for that one but my repo is still up if want to test. Feedback or issues please let me know!
Its based off of this plugin here: https://github.com/BrianCArnold/jellyfin-plugin-intros
All I did was add a couple lines of code to check if its a movie or a series, and if a series returning an empty list of prerolls. I tested it out briefly myself on my Roku and it seems to work as expected. You can toggle it in the Plugins Settings page. I've submitted a PR to add it to BrianCArnolds work, but until then / if curious I've set up a (probably temporary) repo here:
https://github.com/Terence-D/jellyfin-pl...nly-intros
Repository link for Jellyfin is here: https://raw.githubusercontent.com/Terenc...ifest.json
I was thinking of adding wildcard support for Studio based preroll rules, and possibly altering the date to ignore the year (so Christmas videos would work every Christmas) as well.
The direct link to BrianCArnolds repository link for Jellyfin is here: https://raw.githubusercontent.com/BrianC...ifest.json
Cheers