• 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 Plugin Development Pre-roll Plugin - Movies Only

     
    • 0 Vote(s) - 0 Average

    Pre-roll Plugin - Movies Only

    Work on my modification of the local intros plugin
    Terence-D
    Offline

    Junior Member

    Posts: 4
    Threads: 2
    Joined: 2024 Feb
    Reputation: 0
    Country:Canada
    #1
    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
    1
    crobibero
    Offline

    Core Team (Server & Plugins)

    Posts: 266
    Threads: 0
    Joined: 2023 Jun
    Reputation: 19
    Country:United States
    #2
    2024-02-08, 10:17 PM
    We recently brought that plugin into the organization, so changes may be better applied there. Great work!

    https://github.com/jellyfin/jellyfin-plugin-intros
    2
    Terence-D
    Offline

    Junior Member

    Posts: 4
    Threads: 2
    Joined: 2024 Feb
    Reputation: 0
    Country:Canada
    #3
    2024-02-09, 12:56 AM
    PR submitted on the official link, any issues with it please let me know. Updating my original posting, thank you!
    « 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