Jump to content

[Feature Request] Multiple Credits Markers and Extensible Media Segments


Recommended Posts

darkman1983TS
Posted

With Emby Server 4.11 introducing native CreditsEnd support, I would like to suggest taking the next step: supporting multiple independent credits sections within the same movie or episode.

Ideally, this could also lay the groundwork for a more flexible and extensible media segment system.

The good news is that Emby would not necessarily need to implement complex automatic detection itself. Existing third-party projects are already developing that functionality.

Why is this needed?

A growing number of movies and TV series contain mid-credits and post-credits scenes, sometimes with several separate credits sequences interrupted by actual story content.

Marvel is a particularly good example:

  • Captain America: The Winter Soldier (2014) contains both a mid-credits and a post-credits scene.

  • Guardians of the Galaxy Vol. 2 (2017) contains five additional scenes during and after the credits.

  • WandaVision (2021) features both a mid-credits and a post-credits scene in its season finale.

This is not limited to Marvel. Anime and other TV series can also contain additional scenes, previews, or important story content during or after the credits.

A single CreditsStart/CreditsEnd pair cannot accurately represent multiple separate credits sections.

Consider this example:

Movie → Credits #1 → Mid-credits scene → Credits #2 → Post-credits scene → Credits #3 → End

With only one credits section, skipping from the first credits sequence to the end of the video could cause viewers to miss important scenes.

Even with an explicit CreditsEnd marker, a single pair cannot independently represent every credits section.

Proposed behavior

Emby should support multiple ordered, non-overlapping pairs of credits markers for the same media item.

For example, using illustrative timestamps:

Credits section 1

  • CreditsStart: 01:45:00

  • CreditsEnd: 01:47:30

Mid-credits scene

  • 01:47:30–01:49:00 (normal video content, not skipped)

Credits section 2

  • CreditsStart: 01:49:00

  • CreditsEnd: 01:51:30

Post-credits scene

  • 01:51:30–01:53:00 (normal video content, not skipped)

Credits section 3

  • CreditsStart: 01:53:00

  • CreditsEnd: End of movie

During playback, Emby should offer Skip Credits whenever playback enters one of these sections.

Pressing the button should jump to the end of that specific credits section, allowing the viewer to watch the following scene.

After that scene, the next credits section should offer another Skip Credits button.

Ideally, viewers should not need to know in advance whether a movie contains additional scenes.

Server and client requirements

I would suggest the following:

  • Server-side support: Store and retrieve multiple credits marker pairs for a single movie or episode.

  • API support: Return all credits boundaries in chronological order, rather than limiting responses to one start/end pair.

  • Client support: Display the Skip Credits button separately for each credits section, including when playback resumes after a mid-credits scene.

  • Preserve story content: Never skip over mid-credits or post-credits scenes when skipping a credits section.

  • Backward compatibility: Continue supporting media items that contain only one credits marker pair.

  • Third-party integration: Allow plugins and external applications to provide multiple credits sections through a documented API.

  • Seek bar visualization (optional): Display individual credits sections on the timeline so viewers can see where credits and additional scenes occur.

Automatic detection could be implemented directly in Emby at some point, but I believe correct storage, API handling, and playback behavior should be the first priority.

Automatic detection does not have to be built into Emby

One possible concern is that manually creating multiple credits markers for thousands of movies and episodes would be impractical.

Fortunately, there are already third-party solutions that can help with this.

A particularly interesting example is the open-source project Media Preview Generator (MPG) by Steve:

https://github.com/stevezau/media_preview_generator

MPG already provides automated intro and credits detection for Plex, Emby, and Jellyfin using several techniques:

  • Existing chapter metadata.

  • Online skip-marker databases, including TheIntroDB, IntroDB, and SkipDB.

  • Audio fingerprinting and matching across episodes to identify recurring intros.

  • OCR and on-screen text analysis for credits detection.

  • An Inspector for reviewing and manually adjusting detected markers.

  • Integration with supported media servers to publish the resulting markers.

MPG also supports additional marker categories such as Recap and Preview, for example by recognizing suitable chapter metadata and publishing segments to compatible servers.

Multiple credits detection is already being developed

Steve is currently working on an enhancement specifically designed to detect multiple credits sections and distinguish them from actual story content.

Issue #449 – Credit detection is incomplete

https://github.com/stevezau/media_preview_generator/issues/449

Interestingly, this issue also uses Captain America: The Winter Soldier as an example of a movie requiring multiple credits sections.

The implementation is being developed in stages:

PR #485 – Multiple marker spans

https://github.com/stevezau/media_preview_generator/pull/485

This introduces support for multiple independent credits spans within MPG's internal marker model, with a limit of eight credits sections per file.

PR #488 – Automatic detection of multiple credits sections

https://github.com/stevezau/media_preview_generator/pull/488

This extends credits detection to find multiple sections, using on-screen text recognition and analysis to distinguish actual credits from story scenes.

The goal is not merely to find text on screen, but to recognize genuine credits while avoiding incorrectly skipping dialogue, title cards, signs, or other story content.

These changes are still under development and are not yet part of MPG's stable release.

The current implementation work targets publishing all credits sections to Plex and Jellyfin. Emby remains limited to the credits markers its current integration can represent.

Why this matters for Emby

This demonstrates that automatic detection and playback support can be developed independently.

Emby would not need to reproduce MPG's entire detection pipeline.

Instead, Emby could provide:

  • A flexible API for accepting multiple marker segments.

  • Reliable storage and retrieval of those segments.

  • Playback clients capable of handling repeated skip prompts.

External applications like MPG could then handle the computationally expensive detection process and supply the resulting timestamps.

This would enable advanced functionality without requiring Emby to develop and maintain every detection algorithm itself.

It would also make Emby more attractive to developers building media analysis and automation tools.

Feature parity with Plex and Jellyfin

Both Plex and Jellyfin already provide more flexible approaches to media skipping.

Plex

Plex introduced support for detecting credits around mid-credits and post-credits scenes in 2023, specifically highlighting Marvel movies as a key use case.

Its credits detection can identify multiple credits sections and let viewers jump to subsequent scenes without skipping important story content.

Official announcement:

https://www.plex.tv/blog/let-the-next-episode-roll/

Official documentation:

https://support.plex.tv/articles/credits-detection/

Jellyfin

Jellyfin takes an even more general approach with its Media Segments API, introduced in version 10.10.

Instead of restricting the system to intro and credits markers, Jellyfin supports several segment categories:

  • Intro – Opening sequences

  • Outro – Credits and ending sequences

  • Recap – Previously-on segments

  • Preview – Previews and next-episode content

  • Commercial – Advertisement segments

Each segment has its own start and end timestamps, and multiple segments can be associated with the same media item.

Segments can be provided by plugins and exposed to compatible clients. Playback behavior depends on the client implementation.

This provides a flexible foundation for both current and future media automation tools.

Official documentation:

https://jellyfin.org/docs/general/server/metadata/media-segments/

An opportunity for Emby

With Emby 4.11 introducing native CreditsEnd markers, this seems like an excellent opportunity to achieve feature parity with both Plex and Jellyfin — or perhaps even take it a step further.

Plex demonstrates that detecting multiple credits sections is practical.

Jellyfin demonstrates the advantages of a generic, extensible media segment API.

And projects like MPG demonstrate that sophisticated third-party detection tools are already available and actively being developed.

Emby would not necessarily need to reinvent the detection algorithms. It could focus on providing an excellent platform for storing, managing, and playing back these segments.

It would be great to see Emby offer an equally capable, or even better, experience than its competitors.

A more extensible marker architecture

Although multiple credits sections should be the immediate priority, this might also be a good opportunity to consider a more generic marker architecture.

Instead of introducing separate mechanisms for every new marker type, Emby could eventually support multiple time-based segments of different categories through a consistent API.

Possible categories include:

  • Intro

  • Credits

  • Recap

  • Preview

  • Commercial

  • Potentially user-defined segment types

Each segment could contain a type, start timestamp, end timestamp, and optionally a source identifier.

This could make the system easier to extend without requiring major structural changes whenever another marker type is introduced.

Third-party plugins and external applications could provide the markers, while Emby remains responsible for storing them and exposing them to compatible clients.

I am not suggesting that all these features need to be implemented at once.

Multiple credits sections should remain the immediate priority, with a more extensible API considered as a longer-term improvement.

Current support in Emby 4.11?

I understand that Emby Server 4.11 introduces CreditsEnd, which is already a significant improvement, especially for preserving post-credits scenes.

However, I could not find confirmation that the server and playback clients support multiple CreditsStart/CreditsEnd pairs for the same media item.

@Luke, could you clarify whether Emby 4.11 already supports multiple credits marker pairs, or whether the current implementation is limited to one credits section per item?

If multiple pairs are already supported, it would be helpful to know:

  • Whether the server accepts and preserves multiple pairs of the same marker types.

  • Whether the API returns all pairs correctly.

  • Which playback clients currently support repeated Skip Credits prompts.

  • Whether third-party plugins can create and manage these markers.

  • Whether additional work is planned for clients that do not yet support multiple credits sections.

If this is not currently supported, could it be considered for a future release?

I would also be interested in your thoughts on a generic media segment API, similar in concept to Jellyfin's implementation, rather than introducing separate mechanisms for every additional marker type.

Especially with projects like MPG already developing advanced credits detection, it seems that server-side marker support could deliver significant benefits even before Emby implements any additional automatic detection itself.

Related Emby community discussions

This functionality has previously been mentioned in the Emby community.

Chapter Editor discussion (2022)

Multiple post-credits start/stop sets were suggested, and the behavior of repeated intro markers was discussed.

https://emby.media/community/topic/110525-plugin-chapter-editor-chapterapi/page/8/

Request for CreditsEnd support

Discussion about adding an explicit end boundary so that skipping credits does not skip subsequent scenes.

https://emby.media/community/topic/148607-please-also-add-creditsend-to-the-db-besides-introstartintroendcreditsstart/

EmbyCredits plugin discussion (2026)

Additional markers for mid-credits scenes and SponsorBlock-like timeline visualization were suggested.

https://emby.media/community/topic/145091-plugin-embycredits-detect-end-credits-and-add-auto-skip/page/9/

Final thoughts

I believe native support for multiple credits sections would be a valuable next step after introducing CreditsEnd in Emby 4.11.

Movies and series are increasingly using mid-credits and post-credits scenes, and a modern Skip Credits implementation should account for that.

The technology to detect multiple credits sections is already being developed by independent projects, so Emby would not necessarily need to start from scratch.

A flexible marker API could also open the door to improved support for intros, recaps, previews, commercials, and other timed segments.

Plex has already demonstrated the value of multiple credits sections. Jellyfin has shown how extensible a media segment architecture can be. And projects like MPG are actively developing the detection technology.

It would be fantastic to see Emby bring these ideas together and deliver an even better experience.

Ultimately, the goal is simple:

Skip the credits, not the story.

Thanks for considering this feature!

  • Agree 1
Posted
Quote

@Luke, could you clarify whether Emby 4.11 already supports multiple credits marker pairs, or whether the current implementation is limited to one credits section per item?

hi, I haven't tested, but I think it might work with the current code.

  • Like 1
darkman1983TS
Posted
5 hours ago, Luke said:

hi, I haven't tested, but I think it might work with the current code.

Thanks, Luke! That's actually encouraging. :)

I'd be happy to test this on Emby Server 4.11 Beta.

Is there already an officially supported API endpoint or recommended way to create multiple CreditsStart/CreditsEnd pairs for a single media item?

I'd like to verify whether Emby correctly stores all pairs and whether the playback clients display a separate Skip Credits button for each section, without skipping any mid- or post-credits scenes.

If this already works, that would be fantastic news for Emby users! They could finally skip multiple credits sections without accidentally missing important scenes.

And as an added benefit, third-party tools like Media Preview Generator could automatically provide those markers.

Thanks in advance for your help!

Best regards,
Dark

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...