Jump to content

Plugin: EmbyCredits, detect end credits and add auto skip.


Recommended Posts

rbjtech
Posted
Just now, yocker said:

I might have misunderstood you and if that's the case then i'm sorry.

Emby does indeed support skipping the credits.
I put a fake credit marker in an old BlackAdder episode at the 10 min mark and when viewing it i got:
image.png.6c12d04a4578e08ce1aa0032a501b7f6.png
At precisely that mark.

It might be a little misleading in the settings of Emby as the option is just called Intro Skip.

Sure - I mean automatically with no user intervention ;)  To allow real back-back binge watching.   We just put up a message saying 'next episode started' or it may not be obvious you have automatically started the next epsiode ;)

yocker
Posted (edited)
3 minutes ago, rbjtech said:

Sure - I mean automatically with no user intervention ;)  To allow real back-back binge watching.   We just put up a message saying 'next episode started' or it may not be obvious you have automatically started the next epsiode ;)

It should do that as well.

image.thumb.png.8a97bc7f9dd1a9de6f0529653adaf263.png

Edit: Or maybe not. Have never actually used it on automatically before but you are right. It doesn't seem to do that.

Edited by yocker
rbjtech
Posted
Just now, yocker said:

I should do that as well.

image.thumb.png.8a97bc7f9dd1a9de6f0529653adaf263.png

So this plugin controls the session too and allows you to auto-skip the credits as well ?  if not, then we need the clients to support it as an option.

yocker
Posted
Just now, rbjtech said:

So this plugin controls the session too and allows you to auto-skip the credits as well ?  if not, then we need the clients to support it as an option.

Damn, didn't make the edit before you replied. :D 

Just tested it and you are correct in the it doesn't automatically skip.
@LukeAny chance you you add this? Pretty please. 🥺

I don't like having the plugin control the sessions if i can avoid it.

rbjtech
Posted
3 minutes ago, yocker said:

Edit: Or maybe not. Have never actually used it on automatically before but you are right. It doesn't seem to do that.

Yep - the auto-skip only works on Intro's, not credits.  But it can do (via a session api command) but I would want the client option (needing Emby to implement it), that way you get client level control.  ie you may want to do that on your phone, but not on your TV as an example.

rbjtech
Posted
1 minute ago, yocker said:

I don't like having the plugin control the sessions if i can avoid it.

Agreed - it works but it's certainly a hack .. 

yocker
Posted
1 minute ago, rbjtech said:

Agreed - it works but it's certainly a hack .. 

Btw.. How slow was your tesseract detection?

rbjtech
Posted
4 minutes ago, yocker said:

Btw.. How slow was your tesseract detection?

It was 3 years ago - but from memory, it was slow enough that we had to abandon it as a solution, fine as a poc - we found black frame and scene detection worked 'ok' - so we just stuck with that but clearly detecting actual credits should be superior.    I'm keen to install this to reignite the interest ! 👍

  • Like 1
yocker
Posted
3 minutes ago, rbjtech said:

It was 3 years ago - but from memory, it was slow enough that we had to abandon it as a solution, fine as a poc - we found black frame and scene detection worked 'ok' - so we just stuck with that but clearly detecting actual credits should be superior.    I'm keen to install this to reignite the interest ! 👍

I've put in things like the ability to edit how long back in the video it should detect for and parallel processing for frames so it abouts about 5 seconds average now for most episodes.

  • Thanks 1
DarWun
Posted
On 1/7/2026 at 12:29 AM, yocker said:

You might need to make your own docker image.

And I'm working on it ;-). Learning curve engaged...Very cool!!!

  • Like 2
rechigo
Posted

So very nice work here appreciate the effort that has gone into testing and tweaking this. I find it works pretty well out of the box, but I'll have to do some tweaking to get more stuff deteccted

 

One thing I noticed with quite a few series in my library is that the very last chapter points to the credits, but the chapter itself is not named "Credits"... would there be any way to take advantage of these missing label credit chapters??

  • Agree 1
sydlexius
Posted
1 hour ago, rechigo said:

One thing I noticed with quite a few series in my library is that the very last chapter points to the credits, but the chapter itself is not named "Credits"... would there be any way to take advantage of these missing label credit chapters??

I've observed this behavior as well. 

yocker
Posted
4 hours ago, rechigo said:

So very nice work here appreciate the effort that has gone into testing and tweaking this. I find it works pretty well out of the box, but I'll have to do some tweaking to get more stuff deteccted

 

One thing I noticed with quite a few series in my library is that the very last chapter points to the credits, but the chapter itself is not named "Credits"... would there be any way to take advantage of these missing label credit chapters??

The default settings are what i found a good middle ground, there are absolutely room for improvements like more added default keywords for sure.

Maybe, only thing for now that i can think of is adding an option to have it start a scan from the last chapter but that would be rather unreliable since far from all videos tend to even have chapters.
 

rechigo
Posted
2 hours ago, yocker said:

The default settings are what i found a good middle ground, there are absolutely room for improvements like more added default keywords for sure.

Maybe, only thing for now that i can think of is adding an option to have it start a scan from the last chapter but that would be rather unreliable since far from all videos tend to even have chapters.
 

Is there any way to check if the chapters are embedded in video file or auto-generated? if theyre embedded then start scan from the last chapter

yocker
Posted
27 minutes ago, rechigo said:

Is there any way to check if the chapters are embedded in video file or auto-generated? if theyre embedded then start scan from the last chapter

Don't think that would help either.

image.thumb.png.56097232d35745091bffb20a95663ff2.png

Most my videos look like this.

rbjtech
Posted

If the chapters are auto-generated by emby then a) there will not be any chapters in the source file (MKV etc) and b) the chapters will be every 5 minutes.  So if your last chapter is perfectly on a five minute mark, then it's highly unlikely to be a real chapter, if not, then it can probably be used as a good starting point to confirm the credits from that point on, but I don't think it can reliably be used to just add a hidden Credit marker at that point ?

  • Like 2
yocker
Posted
2 hours ago, rbjtech said:

If the chapters are auto-generated by emby then a) there will not be any chapters in the source file (MKV etc) and b) the chapters will be every 5 minutes.  So if your last chapter is perfectly on a five minute mark, then it's highly unlikely to be a real chapter, if not, then it can probably be used as a good starting point to confirm the credits from that point on, but I don't think it can reliably be used to just add a hidden Credit marker at that point ?

Been discussing with a friend that a function that works like "if there are X number of chapters then start from last chapter -5 seconds".
Personally i'm still not really sold on that idea.

  • Like 1
frankythedog
Posted
On 1/8/2026 at 3:15 PM, yocker said:

Heres a beta for those who dare.

Added:
Changes made to the View Time Makers function.
1. Mass edit season episodes with missing time stamps.

2. Run scan on episodes with missing time stamps.

3. Import and export individual TV show time stamps.
This is made so people can share their time stamps and maybe avoid long detection runs.

Todo:
1. Add function to easier import and export individual TV shows in one easy go to make sharing time stamps easier.
2. Fix the CSS to actually work with light mode so people can finally read the text.

Important: THIS IS A BETA!! There might be bugs, i would very much appreciate it if you report them!

EmbyCredits.dll 520 kB · 4 downloads

Hello,

I'm testing this beta version.

No bugs to report so far, but a suggestion regarding the "Set Time for Missing" button.

Episodes in a series are rarely the same length, but the credits sequence is usually the same length.
So why not allow users to set a marker for a relative duration at the end, for example, -31 seconds, -00:31?

Just a suggestion.

  • Like 2
Neminem
Posted

Hmm I made the FR to make the season match the maks time of episodes.

I think I did not think it through, all the way 😂🤣

11 minutes ago, frankythedog said:

So why not allow users to set a marker for a relative duration at the end, for example, -31 seconds, -00:31?

But this would / might be better 👍

  • Like 1
yocker
Posted

@frankythedogGood idea, i will look into it asap!

@NeminemDamn you!! ;) 

  • Haha 1
Neminem
Posted (edited)
1 hour ago, Neminem said:

So why not allow users to set a marker for a relative duration at the end, for example, -31 seconds, -00:31?

Just to reiterate my self.

I have some shorts like "Disney Animated shorts" and "loony Tunes" there old content have no credits.

Well 1-5 sec flash screen "Walt Disney" and "Thats all folk" but short within 5 secs to there ending.

So they will never get picked up, but OCR, unless you set marker to 0 sec, and even then it would fail.

 

And then would rerun "OCR" on next scheduled time, and fail again, again, and again.

 

That's why I sugested the mass edit with a max duration of all episodes in a season.

When you know what shows would show this behavior. 

I was not clear in my wording, about max duration.

I guess @yockerwas worried about that some would be out of range.

Sorry about that, been busy, 3 job interviews today 😂🤣

Episode 1 : 5:31

Episode 2 : 8:40

Episode 3 : 7:51

But if the goal is to set it to not run again on next scheduled time, and have it seen as if it have credit marker.

Then a out of range marker would be fine.

IE  credit marker at Episode 2 : 8:40 and then apply that to all.

Best case : It will not rerun over and over again.

Worst case : people will wonder about the marker.

Enough of this rant 🤣😂

Edited by Neminem
  • Like 1
yocker
Posted
2 minutes ago, Neminem said:

Just to reiterate my self.

I have some shorts like "Disney Animated shorts" and "loony Tunes" there old content have no credits.

Well 1-5 sec flash screen "Walt Disney" and "Thats all folk" but short within 5 secs to there ending.

So they will never get picked up, but OCR, unless you set marker to 0 sec, and even then it would fail.

 

And then would rerun "OCR" on next scheduled time, and fail again, again, and again.

 

That's why I sugested the mass edit with a max duration of all episodes in a season.

When you know what shows would show this behavior. 

I was not clear in my wording, about max duration.

I guess @yockerwas worried about that some would be out of range.

Episode 1 : 5:31

Episode 2 : 8:40

Episode 3 : 7:51

But if the goal is to set it to not run again on next scheduled time, and have it seen as if it have credit marker.

Then a out of range marker would be fine.

IE  credit marker at Episode 2 : 8:40 and then apply that to all.

Best case : It will not rerun over and over again.

Worst case : people will wonder about the marker.

Enough of this rant 🤣😂

I have fixed the plugin to not be able to set time stamps stamps out of the range of the video.
I'm not sure if Emby would even allow it as i never tested but i added it as a percussion.

I'm also putting the final touches on the new "minus from end" and should be done soon.
image.png.9efa2a28ebe82f284cb13aac34f76374.png

Should be easy enough to use.
If not i am as always open to ideas! :) 

For more precise control i recommend the Chapter API plugin in the catalog, it's really good!

  • Like 1
yocker
Posted (edited)

New version up (1.4.9.0) on yocksers Github

Added:

  1. Ability to mass edit season time stamps.
  2. Export and import individual seasons so users can share time stamps.

Changed:

  1. Made it so time stamps can not be set outside video duration.
  2. Added duration length display.

And other things i might have forgotten (been busy with all sorts).

As always:
Please report any bugs or ideas you have to me in this thread or in a private message.

Edited by yocker
  • Like 3
rechigo
Posted

Auto process doesn't seem to be working for me... is there something that could be interfering or is this a bug.?

yocker
Posted
1 hour ago, rechigo said:

Auto process doesn't seem to be working for me... is there something that could be interfering or is this a bug.?

Please enable debug logging in both plugin and emby and upload the log here

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...