Infuse using both The Intro Database and Jellyfin Intro Skipper markers when timestamps differ

I believe there may be an issue with intro detection priority when using Jellyfin intro markers.

As discussed in this thread, Infuse should prioritize Jellyfin intro times when they are available:

However, it seems that if the Jellyfin Intro Skipper marker and The Intro Database marker do not align, Infuse may use both instead of only the Jellyfin marker.

Example:

  • Episode starts with a 1 minute recap.

  • Actual intro runs from 1:00 to 1:45.

  • Jellyfin Intro Skipper correctly detects the intro at 1:00 to 1:45.

  • The Intro Database contains an intro marker from a different copy of the episode without the recap, so it marks the intro at 0:00 to 0:45.

In this scenario, Infuse shows a Skip Intro button during the recap from 0:00 to 0:45, and then shows another Skip Intro button during the actual intro from 1:00 to 1:45.

My expectation is that when Jellyfin Intro Skipper markers are present, Infuse should ignore its own intro markers entirely and only use the Jellyfin timestamps.

I’m using Jellyfin Intro Skipper to generate intro markers, and this behaviour appears consistently on episodes where a recap has been added before the intro, as well as the credits at the end.

Here’s a short video showing the two “Skip Intro” buttons. I apologize for jumping around so quickly, but there are two important things to demonstrate. The first is that a “Skip Intro” button pops up immediately, and when I click it I am skipped to 0:59. The second is that another “Skip Intro” button pops up around 1:38, and when I click it I am skipped to 2:39. These two timestamps correlate to the timestamps stored on The Intro Database and my Jellyfin server respectively:

Here’s a screenshot showing that the first intro popup aligns with the data on The Intro Database:

And here’s a screenshot showing that the second intro popup aligns with the data on my local Jellyfin server:
Jellyfin intro data