Jump to content

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


Recommended Posts

yocker
Posted

@Rykalout
Please use this version with debug enabled in both plugin and Emby and send me the Emby log.
It will give me information about ffmpeg.

EmbyCredits.dll

yocker
Posted

I might have found the problem.

Give me a couple of minutes.

yocker
Posted (edited)

@Rykalout

This might fix it.
I noticed you had spaces in the file paths so might have been the reason.

EmbyCredits.dll

Edited by yocker
Rykalout
Posted
14 minutes ago, yocker said:

@Rykalout

This might fix it.
I noticed you had spaces in the file paths so might have been the reason.

EmbyCredits.dll 682 kB · 14 downloads

Thank you for the speed and your help, but however, it did not work, I still have the same problem, I tested with Cyberpunk again, the series The Boys (the one with the logs).

embyserver (9).txt credits-detection-debug-2026-01-31T15-39-52.log

yocker
Posted

This is beyond frustrating, i really have no idea why it doesn't work for you.
I will keep looking into it. 

yocker
Posted
3 minutes ago, Rykalout said:

Thank you for the speed and your help, but however, it did not work, I still have the same problem, I tested with Cyberpunk again, the series The Boys (the one with the logs).

embyserver (9).txt 287.75 kB · 0 downloads credits-detection-debug-2026-01-31T15-39-52.log 90.29 kB · 0 downloads

Does it work with OCR detection?
No need for log, i just need to know if ffmpeg extracts the frames as it should.

Rykalout
Posted
3 minutes ago, yocker said:

Does it work with OCR detection?
No need for log, i just need to know if ffmpeg extracts the frames as it should.

Yep it works with OCR, which is what I prefer rather than using audio etc. like Emby currently does for intro detection, because for Anime there isn't always text etc. at the beginning of the intro, and OCR struggles (at least from what I've tested) with anime.

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

yocker
Posted
1 minute ago, Rykalout said:

Yep it works with OCR, which is what I prefer rather than using audio etc. like Emby currently does for intro detection, because for Anime there isn't always text etc. at the beginning of the intro, and OCR struggles (at least from what I've tested) with anime.

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

Anyway you can give me one of your video files so i can test with it?

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

Anyway you can give me one of your video files so i can test with it?

dqsd

Edited by Rykalout
yocker
Posted (edited)
17 minutes ago, Rykalout said:

I don't think it's allowed, but I limited the download to one person.

Thank you, please remove the link again.
I will move this to private message so we don't fill this thread with debugging. :) 

Edited by yocker
  • Like 1
Neminem
Posted

@yockeredit you  post to @Rykaloutit's still showing the link 😉

  • Haha 1
yocker
Posted
Just now, Neminem said:

@yockeredit you  post to @Rykaloutit's still showing the link 😉

Wops..
To busy debugging to think. :D 

Rykalout
Posted
Just now, Neminem said:

@yockeredit you  post to @Rykaloutit's still showing the link 😉

In any case, the link no longer works.

  • Like 2
Neminem
Posted

@Rykaloutcan you give us specifics about you hardware?

We need to know what your hardware composition is like.

yocker
Posted

Looks lkke Rykalout might be busy right now with something.

Anyone else with problems that can test this version as well?

EmbyCredits.dll

  • Like 1
adamzetpl
Posted

For me this version is the same, what I did notice is Hash detection is to fast (1s per episode) I have not so performant server intel N100.

yocker
Posted
1 minute ago, adamzetpl said:

For me this version is the same, what I did notice is Hash detection is to fast (1s per episode) I have not so performant server intel N100.

Yes, i think i'm having problems with peoples locales.
I can replicate the problem by switching to for example danish in Emby.
Using English works.

Trying to get ffmpeg to do what i want atm.. Working hard on it.

yocker
Posted

New version up (v1.8.5.0) on yocksers/EmbyCredits Github.

Fixed:

  1. Hash detection now works with people using other locale than english.
  2. Files on Samba shares now work correctly when doing detection.

This should fix the problems some people were having.
 

  • Like 2
yocker
Posted (edited)
3 minutes ago, adamzetpl said:

This version seems to work

Thank you for reporting that!

Use the one i just posted on github.
The one you got there is a test version with a lot of mess in it to test with. ;) 

Just to be sure no more grimlins show up.

Edited by yocker
Rykalout
Posted
2 hours ago, Neminem said:

@Rykaloutcan you give us specifics about you hardware?

We need to know what your hardware composition is like.

Sorry, i have a pretty beffy server only for Emby :
Ryzen 5 8600g
32 Go ddr5 6000mhz
RTX 4060

~50 TB HDD
~20 TB SSD
Windows server

  • Like 2
sydlexius
Posted (edited)

@yockeris your CI/CD pipeline being wonky, or was it some other sort of mistake that the release product got named "EmbyIcons?" 

Edited by sydlexius
yocker
Posted
1 minute ago, sydlexius said:

@yockeris your CI/CD pipeline being wonky, or was it some other sort of mistake that the release product got named "EmbyIcons?" 

Just me being an idiot and looking after cooking food while uploading it. :P 
Fixed now.

  • Haha 1
yocker
Posted (edited)

New version up (v2.0.2.0) at yocksers/EmbyCredits Github.

Added:

  1. OCR detection now supports much better Japanese detection. (Requires latest EmbyCredit tesseract docker).
  2. Episode comparison. The first episode time stamps (user configurable will now be compared and the search window will be narrowed to fit that to save detection time.
    With comparison enabled if a video fails detection the plugin will try the file again and widen the search window.
  3. Added Time Stamp button has been added to Dry Runs.
  4. OCR detection with hash fallback and hash detection with OCR fallback has been added.
  5. Audio fingerpint detection.

Changed:

  1. Minor ui changes.
  2. Small improvements to detections to improve accuracy.

Fixed:

  1. Some memory leaks have been identified and fixed.

Known bugs:

  1. Intel QSV doesn't work, this will require Emby to update FFmpeg.

FOR JAPANESE TO WORK YOU WILL HAVE TO UPDATE THE TESSERACT DOCKER!!
Because of the way many anime shows stylize the text it might fail on some shows, i have added various methods to negate it but sadly not much i can do beyond what has already been done.
I recommend using hash detection for anime.

If any one has any ideas to how to improve end credits detection, specially in anime, please report them to me and i will look into it!
Same with just general ideas for the plugin.

As always a special thanks to @Neminemfor the help with testing and bug hunting!!

Edited by yocker
  • Thanks 2

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