Jump to content

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


Recommended Posts

yocker
Posted
4 minutes ago, rechigo said:

Im getting a lot of false positives right now... claims of keyword detection even in a timeframe that doesnt have any text on screen. Any pointers?

Sadly not much else than play around with the settings, it depends on a lot of things what are detected plus all the things people have requested can sometimes work against each other.
So play around and see what works best for you.

I personally disable all OCR Enhancements.
Structure Detection.
Adaptive Frame Rate.
Scrolling Detection.
Fuzy Matching
Region of Interest (Should not be used by any one other than for trying to redetect in failed videos)
Sharpening.
Image Preprocessing.

They are there because people asked for them but i find them not really useful tbh.
With them disabled the Tesseract just does it things, the OCR enhancements are supposed to help the tesseract, think along the lines of giving it glasses, by enhancing the pictures it gets.

User friendliness update is planned to make it all easier to control.
For now i advice against using OCR enhancements if you don't know what they are.

  • Like 1
rechigo
Posted (edited)

The ones I am using now are fuzzy matching and structure detection. 

Does enhanced logging output the text tesseract recognized? I am going to try that to see what it thinks is being detected

Edited by rechigo
yocker
Posted
17 minutes ago, rechigo said:

The ones I am using now are fuzzy matching and structure detection. 

Does enhanced logging output the text tesseract recognized? I am going to try that to see what it thinks is being detected

I advice against using the OCR enhancements at all.
As said they were only added because they were requested.

  • Like 1
yocker
Posted
On 1/27/2026 at 5:37 AM, rechigo said:

Now if you can't jump to a specific timestamp in a video, could you at least give us a button to open up a video player or the media page so we can play the video ourselves? Just because a single screenshot might not be a perfect indicator

image.thumb.png.e650273b7c08f3fe33de2b13ac5da745.png

Not done yet but close and i still need to change the UI to make it more user-friendly and less cluttered.
Soon.. Ish.

  • Like 1
GoldSpacer
Posted

I'm trying to set up the embycreditocr-gpu container and I'm getting this error:

 ✘ tesseract-ocr Error pull access denied for yock... 0.4s 

Error response from daemon: pull access denied for yock1/embycreditocr-gpu, repository does not exist or may require 'docker login': denied: requested access to the resource is denied

yocker
Posted
1 minute ago, GoldSpacer said:

I'm trying to set up the embycreditocr-gpu container and I'm getting this error:

 ✘ tesseract-ocr Error pull access denied for yock... 0.4s 

Error response from daemon: pull access denied for yock1/embycreditocr-gpu, repository does not exist or may require 'docker login': denied: requested access to the resource is denied

The GPU version was removed because i found out it actually didn't use the GPU as intended as was in the end pointless.
Please just use the normal version.

Important note, i'm not the developer or maintainer of the Tesseract docker container.

  • Like 1
yocker
Posted (edited)

New version (1.7.1) up on yocksers/EmbyCredits Github.

Added:

  1. Setting to enable thumbnails being shown with a snapshot of the video at the detection point.
  2. Play video at time stamp button.

Changed:

  1. Moved OCR enhancement settings to their own tab as they are advanced settings that can change the detections a lot or even make them not work.
  2. Moved Notifications settings to their own tab.
  3. Settings are now in collapsible sections to make the settings page less cluttered and easier to navigate.

Fixed:

  1. Scheduled task will no longer look for old chapter types and will now correctly skip videos with time stamps when the setting is enabled.
    Note: Emby seems to have changed chapter types in the last update so old detections had their chapter types changed and no longer valid, schedule task would wrongly pick those up before as having the correct time stamps.

Known bugs:
Intel QSV does not work, it will require an update of Embys FFMpeg to work, developers have noted that it's on it's way.
Please use VAAPI instead.

Thank you to @Neminemfor help with testing and bug hunting.

If you use and like the plugin please consider donating a coffee at:https://buymeacoffee.com/yockser
This is by no means necessary and i'm happy as long as people like the plugin. :) 

Edited by yocker
  • Like 1
  • Thanks 1
yocker
Posted

@rechigoI believe you asked for the added functions. Enjoy! 😃

  • Thanks 1
rechigo
Posted
3 hours ago, yocker said:

@rechigoI believe you asked for the added functions. Enjoy! 😃

Thank you so much! This will make it so much less tedious to check and verify. Now I'll actually get around to playing around with settings some more and see the results

I did send you a little 30 dollar tip for all your hard work here... you are very persistent with the development of your plugins. big fan of your rating sync plugin as well

yocker
Posted
Just now, rechigo said:

Thank you so much! This will make it so much less tedious to check and verify. Now I'll actually get around to playing around with settings some more and see the results

I did send you a little 30 dollar tip for all your hard work here... you are very persistent with the development of your plugins. big fan of your rating sync plugin as well

You are welcome, love to hear people are happy with the plugin.
Also many, many thanks for the donation!! It will help pay for my coffee addiction. :D 
 

  • Like 1
rechigo
Posted
1 hour ago, yocker said:

You are welcome, love to hear people are happy with the plugin.
Also many, many thanks for the donation!! It will help pay for my coffee addiction. :D 
 

I question if you're even a real person or not... You seem to work around the clock like Luke

 

23 hours ago, yocker said:

image.thumb.png.e650273b7c08f3fe33de2b13ac5da745.png

Not done yet but close and i still need to change the UI to make it more user-friendly and less cluttered.
Soon.. Ish.

I am not seeing this for items in the view chapter markers list, only on items in the processed task list. If that was intentional, could you please add the thumbnail and the play at button to that list as well?

Also, I am not seeing any thumbnail showing up for me. No errors in console.

yocker
Posted
1 minute ago, rechigo said:

I question if you're even a real person or not... You seem to work around the clock like Luke

 

I am not seeing this for items in the view chapter markers list, only on items in the processed task list. If that was intentional, could you please add the thumbnail and the play at button to that list as well?

Also, I am not seeing any thumbnail showing up for me. No errors in console.

I am very much a real person, just with some weird (not healthy) sleeping habits. :)

I havn't gotten around to add it there yet, it is planned.
The thumbnails needs to be enabled in the settings:

image.thumb.png.b54de860344b9ec31a831329d923d8b4.png

I did it like that because for people who don't care about them it's just extra work for the CPU without any gain, how ever little it actually takes from the CPU.
Please note that thumbnails are kept in the configuration folder (can't serve them other wise) and the plugin will keep 200 of them and then delete the oldest when getting over that number.

  • Like 1
yocker
Posted
16 hours ago, rechigo said:

I am not seeing this for items in the view chapter markers list, only on items in the processed task list. If that was intentional, could you please add the thumbnail and the play at button to that list as well?

image.png.1154e4445989f477e946839be1ac3144.png

image.png.89313a084414b8add40cd48a372ceb7b.png


Guess this is what you mean.
It's not done yet but soon.

  • Like 1
yocker
Posted (edited)

New version up (1.8.0.0) on yocksers/EmbyCredits github.

Added:

  1. Hash detection mode similar to how intro skipping detection works.
    Please note: Both detection method can't run at the same time and enabling one will disable the other.

Changed:

  1. UI changes and user friendliness improvements.

Known bugs:

  1. QSV OCR GPU acceleration does not work, this will require Emby to update FFmpeg,

---

This is a big one.
When this plugin was first made it had hash detection instead of OCR detection, i moved to OCR because i couldn't get the hash detection done right and it only gave false detections.
I have tinkered with the hash detection ever since then when ever i had time for it and I think i finally cracked it and made it have acceptable detection now.

So i added it to this version so OCR is no longer needed for those that don't want to use OCR.
Please note: OCR can be more precise when set correctly but not by much.

You can choose between the two detection methods in the settings but they CAN NOT be run at the same time, that would require a lot of complexity a be rather redundant in my opinion.

@NeminemSorry for skipping you this time but still many thanks as always for the help you have provided! :) 

Edited by yocker
  • Thanks 2
Rykalout
Posted
2 hours ago, yocker said:

New version up (1.8.0.0) on yocksers/EmbyCredits github.

Added:

  1. Hash detection mode similar to how intro skipping detection works.
    Please note: Both detection method can't run at the same time and enabling one will disable the other.

Changed:

  1. UI changes and user friendliness improvements.

Known bugs:

  1. QSV OCR GPU acceleration does not work, this will require Emby to update FFmpeg,

---

This is a big one.
When this plugin was first made it had hash detection instead of OCR detection, i moved to OCR because i couldn't get the hash detection done right and it only gave false detections.
I have tinkered with the hash detection ever since then when ever i had time for it and I think i finally cracked it and made it have acceptable detection now.

So i added it to this version so OCR is no longer needed for those that don't want to use OCR.
Please note: OCR can be more precise when set correctly but not by much.

You can choose between the two detection methods in the settings but they CAN NOT be run at the same time, that would require a lot of complexity a be rather redundant in my opinion.

@NeminemSorry for skipping you this time but still many thanks as always for the help you have provided! :) 

Hi, this is exactly what I was hoping for, because I found that OCR for anime, for example, wasn't very effective (I couldn't find the right settings, even though I tested it thoroughly).

However, I'm getting a recurring error: nothing is detected via Hash detection. But I think I've figured out why: episode comparison is disabled in the logs. But there aren't any settings to enable it or change this setting in Credit Detector, or at least I haven't found them.
I wasn't sure whether to upload this to Github or here.

But in any case, thank you for this major plugin, it's extremely good.

Capture d'écran 2026-01-31 102555.png

credits-detection-debug-2026-01-31T09-18-20.log

yocker
Posted
2 hours ago, Rykalout said:

Hi, this is exactly what I was hoping for, because I found that OCR for anime, for example, wasn't very effective (I couldn't find the right settings, even though I tested it thoroughly).

However, I'm getting a recurring error: nothing is detected via Hash detection. But I think I've figured out why: episode comparison is disabled in the logs. But there aren't any settings to enable it or change this setting in Credit Detector, or at least I haven't found them.
I wasn't sure whether to upload this to Github or here.

But in any case, thank you for this major plugin, it's extremely good.

Capture d'écran 2026-01-31 102555.png

credits-detection-debug-2026-01-31T09-18-20.log 19.69 kB · 2 downloads

Please enable detailed logging in both the plugin and Emby and send me the Emby log.
Also please send me the EmbyCredits.xml found in the configurations folder.

There might be a setting interfeering that i forgot to disable when using hash detection.

About the episode comparison.
That is an old function that didn't work correctly so i hid it to fix it later and never got around to, it's for the OCR detection.

Rykalout
Posted
20 minutes ago, yocker said:

Please enable detailed logging in both the plugin and Emby and send me the Emby log.
Also please send me the EmbyCredits.xml found in the configurations folder.

There might be a setting interfeering that i forgot to disable when using hash detection.

About the episode comparison.
That is an old function that didn't work correctly so i hid it to fix it later and never got around to, it's for the OCR detection.

And here

EmbyCredits.xml embyserver (4).txt

Rykalout
Posted (edited)
15 minutes ago, yocker said:

Believe i found the problem. I forgotten to normalize folder paths when using SMB.
This version should work.

EmbyCredits.dll 682 kB · 0 downloads

I just tested it, and it doesn't seem to work for me. I tested it on a lot of anime, and even series, and I still have the same problem. I also reset the .xml settings file (deleted it), but it's the same.


Sorry to take up your time

Capture d'écran 2026-01-31 151458.png

embyserver (6).txt credits-detection-debug-2026-01-31T14-07-20.log credits-detection-debug-2026-01-31T14-06-46.log

Edited by Rykalout
Ferwin29
Posted

Hi @yocker, I've got the same problem that Rykalout with your last EmbyCredits.dll in your last post.

Emby Server 4.10.0.2 with smb shares on MacOS.

In my log, I've got the same lines that Rykalout.

 

Rykalout
Posted
1 minute ago, Ferwin29 said:

Hi @yocker, I've got the same problem that Rykalout with your last EmbyCredits.dll in your last post.

Emby Server 4.10.0.2 with smb shares on MacOS.

In my log, I've got the same lines that Rykalout.

 

Whereas I use version 4.9.3.0, native Windows, without SMB (only SSDs/HDDs directly connected to the Windows Server)

yocker
Posted
21 minutes ago, Rykalout said:

I just tested it, and it doesn't seem to work for me. I tested it on a lot of anime, and even series, and I still have the same problem. I also reset the .xml settings file (deleted it), but it's the same.


Sorry to take up your time

Capture d'écran 2026-01-31 151458.png

embyserver (6).txt 650.59 kB · 0 downloads credits-detection-debug-2026-01-31T14-07-20.log 71.24 kB · 0 downloads credits-detection-debug-2026-01-31T14-06-46.log 31.08 kB · 0 downloads

Have you tried with any other series ?

yocker
Posted
1 minute ago, Rykalout said:

Thank you.

Almost looks like it can't find your ffmpeg.

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