7 hours ago
Overall from what I can tell this is still a work in progress with Jellyfin. I'll do my best, and if anyone has better info please chime in.
The "old" way to commercial skip in Jellyfin was to create chapters in your media file using your favorite tools (comskip, comchap, ffpmeg.) Then when you get to a commercial the beginning and end of the commercial would be marked as a chapter, and in the client you would click on the "next chapter" button to skip the commercial.
Now there is a new(ish) feature that is not yet fully implemented called "Media Segments" (read here). The commercial skip fields you are seeing are part of this. There is also the official Chapter Segments Provider plugin you can install that will create media segments from chapters IF you have your chapter named correctly - which mine aren't currently so I just use the "jump to next chapter button."
It seems to me that what would be nice to have is a script/plugin that will read the comskip EDL files and directly write the media segments to the Jellyfin metadata. That way the entire original video/audio file doesn't have to be rewritten to include the chapters. Has anyone already done this? If so, I'd really like to have it! If not, Jellyfin is open source, so if not I might have to take a shot at it.
The "old" way to commercial skip in Jellyfin was to create chapters in your media file using your favorite tools (comskip, comchap, ffpmeg.) Then when you get to a commercial the beginning and end of the commercial would be marked as a chapter, and in the client you would click on the "next chapter" button to skip the commercial.
Now there is a new(ish) feature that is not yet fully implemented called "Media Segments" (read here). The commercial skip fields you are seeing are part of this. There is also the official Chapter Segments Provider plugin you can install that will create media segments from chapters IF you have your chapter named correctly - which mine aren't currently so I just use the "jump to next chapter button."
It seems to me that what would be nice to have is a script/plugin that will read the comskip EDL files and directly write the media segments to the Jellyfin metadata. That way the entire original video/audio file doesn't have to be rewritten to include the chapters. Has anyone already done this? If so, I'd really like to have it! If not, Jellyfin is open source, so if not I might have to take a shot at it.

