• 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 Media segments

    Pages (2): « Previous 1 2

     
    • 0 Vote(s) - 0 Average

    Media segments

    Looking for a tutorial
    esvee
    Offline

    Junior Member

    Posts: 8
    Threads: 0
    Joined: 2025 Mar
    Reputation: 0
    #11
    2025-03-21, 03:50 PM (This post was last modified: 2025-03-21, 03:51 PM by esvee. Edited 1 time in total.)
    (2025-03-18, 04:36 PM)TheDreadPirate Wrote: The naming of the chapter segments can be arbitrary if you install the Chapter segment provider plugin.

    This is the default naming for chapter segments.

    Yes @theguymadmax, clients are setup to skip, but still aren't.

    @TheDreadPirate , is the numbering I have a problem? if I ad " | commercial "to these defaults, nothing changes, clients still don't skip commercials.  Please see my screenshot     

    Is this correct? if you can help with what its should be considering I have Commercial 1, Commercial 2 etc.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #12
    2025-03-21, 03:59 PM (This post was last modified: 2025-03-21, 04:04 PM by TheDreadPirate.)
    After you add to the regex, I believe you need to re-run the "Media Segment Scan" job. I THINK it matches on any partial matches. So "commercial 1" SHOULD be fine.

    I got clarification from the devs. You need to change the regex to commercial.*

    It will NOT match on partial matches as is.

    This can also work.

    Code:
    commercial\s\d{0,2}
    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]
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #13
    2025-03-21, 04:16 PM (This post was last modified: 2025-03-21, 04:16 PM by TheDreadPirate.)
    Another correction. It does do partial matches, just re-run the job for media segment scans.
    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]
    esvee
    Offline

    Junior Member

    Posts: 8
    Threads: 0
    Joined: 2025 Mar
    Reputation: 0
    #14
    2025-03-21, 05:07 PM
    I've tried all of these options now, and then for sanity put them all in. "commercial 1|commercial\s\d{0,2}|commercial|commercial.*"

    Each time rerunning the job for media segment scans, even restarting jellyfin.

    It makes no difference, the commercials never ask to skip, despite chapter markers being there. Confirmed Client settings are set to ask to skip. On Mac client (latest) and Web client.

    Any other hints? Thanks so much for your help so far 👍🏻
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #15
    2025-03-21, 05:25 PM
    Try "replace all metadata" for the show.
    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]
    esvee
    Offline

    Junior Member

    Posts: 8
    Threads: 0
    Joined: 2025 Mar
    Reputation: 0
    #16
    2025-03-21, 05:55 PM
    (2025-03-21, 05:25 PM)TheDreadPirate Wrote: Try "replace all metadata" for the show.

    I'm afraid that didn't work either.  
    I also tried using adjusting Intro skippers regex for "previews" with commercial regex options (as per above).  It doesn't work either.

    Intros are skipping great! Is commercial skipping definitely confirmed to be working at the moment? or should I raise a bug on GitHub?
    Efficient_Good_5784
    Offline

    Community Moderator

    Posts: 1,167
    Threads: 3
    Joined: 2023 Jun
    Reputation: 50
    #17
    2025-03-21, 06:10 PM
    It should be working.
    I don't got any media with chapters named "commercial" that I know of on my end.

    There already is a PR opened that will add "commercial" to the regex list by default as that was an obvious oversight when the defaults were first made.

    The regex should still apply.
    I would add a brand new file with a chapter marker named "commercial". I would then run the scheduled task to extract the segments.
    This is just to test if the previous files were being skipped over after you added the new regex. Maybe it's not properly extracting the commercial segments from the new regex.
    esvee
    Offline

    Junior Member

    Posts: 8
    Threads: 0
    Joined: 2025 Mar
    Reputation: 0
    #18
    2025-03-22, 12:29 PM
    (2025-03-21, 06:10 PM)Efficient_Good_5784 Wrote: It should be working.
    I don't got any media with chapters named "commercial" that I know of on my end.

    There already is a PR opened that will add "commercial" to the regex list by default as that was an obvious oversight when the defaults were first made.

    The regex should still apply.
    I would add a brand new file with a chapter marker named "commercial". I would then run the scheduled task to extract the segments.
    This is just to test if the previous files were being skipped over after you added the new regex. Maybe it's not properly extracting the commercial segments from the new regex.

    Thanks for the suggestion.  I changed my comchap script to use "commercial" instead of its default "Commercial 1", "Commercial 2" etc.

    In the chapter segment provider plugin settings, Regex pattern for commercials set to "break|ad|advertisement|intermission|commercial"

    Now it's working. Thanks.
    Pages (2): « Previous 1 2

    « 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