yocker 1248 Posted December 24, 2025 Posted December 24, 2025 (edited) Tired of seeing end credits before Emby loads the next episode of your favorite TV show? Now you can remove that iritation! EmbyCredits detects those end credits and add a marker for Emby to use so end credits can be skipped. https://github.com/yocksers/EmbyCredits This is done by the plugin extracting png/jpg images of the TV show, sending them to a tesseract docker container, the tesseract finds a match and reports that back to the plugin that then adds the skip to Embys database. Requirements: yock1/embycreditocr installed. In the plugin you add the Tesseract server IP: IMPORTANT!!!!! As the plugin extracts a lot of images it needs a custom folder to do this as to not fill up Emby docker disk images so set this setting: Then add some keywords to search for (i have added a few but for more precise detection you should add some more that are fitting to your library). Choose a library or a single episode and press process. The plugin can also be set to run as a scheduled task or auto detection for when new shows or episodes have been added to Emby. Speciel thanks to friends who helped developing and @Neminemfor help with testing! If you like this plugin then please consider donating at https://buymeacoffee.com/yockser so i can sit back and relax once in a while with a nice coffee. Disclaimer: Use at your own risk! The plugin has been tested and re-tested but bugs are devious little things that can creep in unnoticed. Do with the plugin what ever you want, change the code, call it your own creation or even take money for it.. I don't care. The original will be here for free! Edited February 12 by yocker 6 3
yocker 1248 Posted December 24, 2025 Author Posted December 24, 2025 Feedback is very much appreciated!
TeamB 2438 Posted December 24, 2025 Posted December 24, 2025 (edited) small type-o ^^^ Quote then add some keyboards to search for How well does the OCR perform on none English credits? EDIT: Wow tesseract's support for languages is impressive. https://tesseract-ocr.github.io/tessdoc/Data-Files-in-different-versions.html Edited December 24, 2025 by TeamB 1
gibman 4 Posted December 26, 2025 Posted December 26, 2025 Quote 2025-12-26 16.17.35.896 Debug Plugin: [OCR Detection] OCR endpoint http://192.168.1.127:8884 is accessible 2025-12-26 16.17.35.896 Debug Plugin: [OCR Detection] Analyzing video for OCR-based credits detection... 2025-12-26 16.17.35.896 Debug Plugin: [OCR Detection] OCR searching for 15 keywords: instrueret, director, writers, directed by, produced by... 2025-12-26 16.17.35.896 Debug Plugin: [OCR Detection] OCR starting at 65 % (62:51) 2025-12-26 16.17.35.896 Debug Plugin: [OCR Detection] Stopping analysis 20 seconds before end at 96:22 2025-12-26 16.17.35.896 Debug Plugin: [OCR Detection] Limiting OCR analysis to 600 seconds (video has 2031s remaining) 2025-12-26 16.17.35.896 Debug Plugin: [OCR Detection] Extracting frames from 62:51 at 0,5 fps (JPG Q92) for OCR analysis 2025-12-26 16.17.35.965 Debug Plugin: [OCR Detection] Extracted 0 frames for OCR analysis 2025-12-26 16.17.35.965 Warn Plugin: [OCR Detection] No frames extracted for OCR analysis 2025-12-26 16.17.35.965 Debug Plugin: [OCR Detection] Successfully cleaned up temp directory: C:\Users\gibma\AppData\Local\Temp\ocr_frames_a197c57e-ae91-4040-8519-7785a6e9d2ab I installed the plugin as well as the docker image "tesseract-ocr". It looks like the emby plugin is unable to extract frames. No idea why. If I manually interact with the tesseract-ocr image using the browser. eg. uploading a end credits screen shot then I get a nice http response that gives me the correct OCR words.
yocker 1248 Posted December 26, 2025 Author Posted December 26, 2025 1 hour ago, gibman said: I installed the plugin as well as the docker image "tesseract-ocr". It looks like the emby plugin is unable to extract frames. No idea why. If I manually interact with the tesseract-ocr image using the browser. eg. uploading a end credits screen shot then I get a nice http response that gives me the correct OCR words. What version? 1.0.8.0 had a bug with pathing for ffmpeg on Linux and Docker versions of Emby. I uploaded 1.0.9.0 a couple of hours ago that fixes the bug.
gibman 4 Posted December 26, 2025 Posted December 26, 2025 Just installed 1.0.9.0 Sadly still the same. Running emby on windows 11 64bit Quote directed by, produced by... 2025-12-26 20.54.13.956 Debug Plugin: [OCR Detection] OCR starting at 65 % (32:17) 2025-12-26 20.54.13.956 Debug Plugin: [OCR Detection] Stopping analysis 20 seconds before end at 49:20 2025-12-26 20.54.13.956 Debug Plugin: [OCR Detection] Limiting OCR analysis to 600 seconds (video has 1043s remaining) 2025-12-26 20.54.13.956 Debug Plugin: [OCR Detection] Extracting frames from 32:17 at 0,5 fps (JPG Q92) for OCR analysis 2025-12-26 20.54.14.110 Debug Plugin: [OCR Detection] Extracted 0 frames for OCR analysis 2025-12-26 20.54.14.111 Warn Plugin: [OCR Detection] No frames extracted for OCR analysis 2025-12-26 20.54.14.111 Debug Plugin: [OCR Detection] Successfully cleaned up temp directory: C:\Users\gibma\AppData\Local\Temp\ocr_frames_4c35af76-4a73-4bff-b897-3479ef98198b 2025-12-26 20.54.14.111 Info Plugin: Cached 0 detection results for Afsnit 1 2025-12-26 20.54.14.111 Info Plugin: Pre-computing detections for Afsnit 2 (727/798) 2025-12-26 20.54.14.115 Debug Plugin: [OCR Detection] OCR endpoint http://192.168.1.127:8884 is accessible 2025-12-26 20.54.14.116 Debug Plugin: [OCR Detection] Analyzing video for OCR-based credits detection... 2025-12-26 20.54.14.116 Debug Plugin: [OCR Detection] OCR searching for 15 keywords: instrueret, director, writers, directed by, produced by... 2025-12-26 20.54.14.116 Debug Plugin: [
yocker 1248 Posted December 26, 2025 Author Posted December 26, 2025 1 hour ago, gibman said: Just installed 1.0.9.0 Sadly still the same. Running emby on windows 11 64bit Did you test the connection with the test connection button? I have fixed a little bug that in very rare occasions might have caused a problem plus in when the detection fails it also shows an improved reason as to why. Please try it and see if it fixed the problem or at least what the error might be. EmbyCredits.dll
gibman 4 Posted December 26, 2025 Posted December 26, 2025 1 hour ago, yocker said: Did you test the connection with the test connection button? I have fixed a little bug that in very rare occasions might have caused a problem plus in when the detection fails it also shows an improved reason as to why. Please try it and see if it fixed the problem or at least what the error might be. EmbyCredits.dll 299.5 kB · 1 download Tried this version.. still says vers 1.0.0.9.0. maybe expected? Still doesn't work. The test button says all is good. Attached logs. embyserver (2).txt
yocker 1248 Posted December 26, 2025 Author Posted December 26, 2025 (edited) 15 minutes ago, gibman said: Tried this version.. still says vers 1.0.0.9.0. maybe expected? Still doesn't work. The test button says all is good. Attached logs. embyserver (2).txt 4.21 MB · 0 downloads Don't know what happens, some times when uploading the DLL here it seems to use some cached version.. Edited December 26, 2025 by yocker
yocker 1248 Posted December 26, 2025 Author Posted December 26, 2025 @gibmanAlso i believe i found the problem. Noticed you are using danish locales, so using "," instead of "." for settings like fps.. I fixed it so it should now automatically change it when sending the command to ffmpeg. EmbyCredits.dll 1
gibman 4 Posted December 27, 2025 Posted December 27, 2025 7 hours ago, yocker said: @gibman Any luck? Yeah. Works now. Although the series Selection feature for on the fly processing of a specific show does not work correctly. It seems to always process the wrong show.
yocker 1248 Posted December 27, 2025 Author Posted December 27, 2025 (edited) 1 hour ago, gibman said: Yeah. Works now. Although the series Selection feature for on the fly processing of a specific show does not work correctly. It seems to always process the wrong show. You mean this? Can you send a log? Then we will get this last little bug fixed. Edited December 27, 2025 by yocker
yocker 1248 Posted December 27, 2025 Author Posted December 27, 2025 Also, been working all night on this (don't feel bad for me! ) and have improved the detection so it streams the images instead of extracting them all at the same time. That will improve the speed of the plugin a lot. @gibmanI also changed some more paths and removed some reliance on series ID. While it was not meant to fix any problems it might actually fix the one you are having. So if you can try this version that would be great. EmbyCredits.dll 1
PeteGul 37 Posted December 27, 2025 Posted December 27, 2025 Maybe I'm lost here, but how do I use this on Win11? I run Emby server on Win11, and could not find an easy way of install Tesseract server/docker? Was in the Tesseract Github page, but didn't find an install HowTo. Never used this or a docker. Hmm.. Petter
yocker 1248 Posted December 27, 2025 Author Posted December 27, 2025 10 minutes ago, PeteGul said: Maybe I'm lost here, but how do I use this on Win11? I run Emby server on Win11, and could not find an easy way of install Tesseract server/docker? Was in the Tesseract Github page, but didn't find an install HowTo. Never used this or a docker. Hmm.. Petter You need to download and install docker for desktop. Should be able to find it in the microsoft store. Next part is hard to explain and maybe you can find a youtube video. But basically in the top there is a search, search for the tesseract container and make a pull. When downloaded you start it in containers. Docker can be a bit "scary" the first time but give it 30 min and you will find it's actually somewhat easy and user friendly 1
Neminem 1518 Posted December 27, 2025 Posted December 27, 2025 Watch some of these videos. docker windows 11 howto - Search Then The rest you need to learn along the way. 2
yocker 1248 Posted December 27, 2025 Author Posted December 27, 2025 I'm debating with my self if i should add so that it can use native installed tesseract for Windows. While i understand Docker might not be for every one i still feel it's the best solution and added the ability to use native would add another thing for me to maintain if they change anything. 2
yocker 1248 Posted December 27, 2025 Author Posted December 27, 2025 If only i could get the nuget package to work.. None of it would be necessary.
Neminem 1518 Posted December 27, 2025 Posted December 27, 2025 @yockerYou would not want do this..... If you help people to much with external resourced ( Docker images ) or repacking into the plugin, then they rely on you to fix that too. And you would be F"#¤ if source became abandoned or infected with malware. It would now be on you, cause people will point at you. So please consider NOT doing this TBH If people does not know or understand. It's simply beyond there reach to use the tool 1
yocker 1248 Posted December 27, 2025 Author Posted December 27, 2025 1 minute ago, Neminem said: @yockerYou would not want do this..... If you help people to much with external resourced ( Docker images ) or repacking into the plugin, then they rely on you to fix that too. And you would be F"#¤ if source became abandoned or infected with malware. It would now be on you, cause people will point at you. So please consider NOT doing this TBH If people does not know or understand. It's simply beyond there reach to use the tool I agree! I tend to give users every setting under the sun but it can confuse people as well. I don't blame any one at all, my vision of how it should work might not fit in with others! Would love to have the nuget working so it could all be self contained in the plugin though, that would cause it to be less reliant on a docker container that's already very old and be much more user friendly click and forget. 1
yocker 1248 Posted December 27, 2025 Author Posted December 27, 2025 @gibmoh00Any luck? I'm sorry for pretty much using you as a tester but would love to get the bug fixed.
PeteGul 37 Posted December 27, 2025 Posted December 27, 2025 1 hour ago, Neminem said: @yockerYou would not want do this..... TBH If people does not know or understand. It's simply beyond there reach to use the tool So because someone haven't understood how to use Docker (or other programs/apps), they aren't good enough to use this or other plugins that need some extra stuff? I will say it is better to just give an good explanation on how to install or where to find the information on how to. Don't just say people are stupid because they don't understand everything at first glance. I would say you ( @Neminem ) is the problem.
yocker 1248 Posted December 27, 2025 Author Posted December 27, 2025 Just now, PeteGul said: So because someone haven't understood how to use Docker (or other programs/apps), they aren't good enough to use this or other plugins that need some extra stuff? I will say it is better to just give an good explanation on how to install or where to find the information on how to. Don't just say people are stupid because they don't understand everything at first glance. I would say you ( @Neminem ) is the problem. He didn't mean it like that. He was thinking about how it could be made easier for me so i didn't get burned out. Neminem has always been very friendly and helpful here so trust me, there was no ill meaning behind it. 1 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now