Question about Intro/Credits provider/plugin support

I’m developing TheIntroDB, a community supported database for intro, recap, credits, and preview segment times.

I would love to integrate TIDB into Plex, but I’m finding conflicting information about plugin support and whether Plex even supports third party providers for skip times.

Is there an internal API I can use within Plex, or should I prioritize getting TIDB integrated into third party apps/players?

Maybe this PMS API?
https://developer.plex.tv/pms/#tag/Library/operation/libraryMetadataPutIntro

Could be completely wrong here, but it looks like you identify media using tmdb only?
If so, what about different versions of identical movies/episodes?
( Like difference between a DVD Rip, a BlueRay Rip and a DVR Recording )

Maybe add something like: https://api.theintrodb.org/v2/media?tmdb_id=12345&hash=54321
Ref: https://github.com/opensubtitlescli/moviehash

And if I got above wrong, feel free to public slam me :wink:

Unfortunately, it looks like the PutIntro endpoint just triggers the automatic detection, but below that I do see the metadata markers. I’ll look into these a little more.
It’s also confusing if a “skip intro” button will even show without a Plex Pass—if there is a way to provide them manually.

And yes, currently we only support TMDB lookup for segments. We might change this as the DB grows. But for now it’s primarily for the “original” release so we can verify the times are correct. Still looking at better solutions for this.

Sorry, I meant the markers :wink:

It’s a Plex Pass feature, and as such can not be done
If users has a Plex Pass, the client will automatically show it

Hmm so this might be better for third party players/frontends.

I strongly disagree…

Having it on the server with the medias, reduce the amount of calls towards your database to only one pr. media pr. server

But if client based, each time a client plays it

And you never answered my question regarding a hash?

True, also reduces hardware requirements for the automatic detection.

We’re looking into a hash system still, but it’s still got issues we’d need to figure out.

And forgot…Plex Pass need is described here:

When I looked into it a while ago, this API only allowed adding/editing/deleting the bookmark marker type, which no first-party clients actually use AFAIK. It’s also per-user, so even if the API ever did support intro/credits markers in the future, it will only be added to the account associated with the Plex token passed in (and could clash with any markers added via Plex’s own intro/credits detection). The only way I know to actually add intro/credits markers in Plex is to hackily modify the database directly, and even those will get reset if the season/episode/movie is ever reanalyzed.

Oh bummer, guess it’s just not possible without a custom client. Thanks for the info though!
Hopefully I can get TIDB integrated into some of the popular frontends.