Jump to content

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


Go to solution Solved by yocker,

Recommended Posts

Posted
4 minutes ago, RedNo7 said:

Thanks, but I have 17,824 shows - has it done them all (according to the original ETA it was going to take 300 hrs to complete).

Depends on if you have the same libraries activated in scheduled task as in the manual detection. 

I can see from one of your screenshot that you only have one library activated for schedule task.

I am going through your logs and settings now, I will report if anything stand out.

Posted
4 hours ago, RedNo7 said:

Thanks @yocker. I do only have 1 real TV library.

I have gone through the log, nothing in it stands out as a plugin problem.
Tracing the progress i do see a small problem in the plugin it self. When scheduled task is running and auto detecting new files is enabled any new files found while a schedule task is running might actually reset the queue.

I will fix that bug.

What i did see in the log.
A lot of files were skipped because they either already had end credit markers, had previously failed or time stamps were downloaded from TheIntroDB.

If you have set the manual detection run to ignore those things it will take a much longer time than the schedule task.

  • Thanks 1
Posted

As said though.
I always recommend doing manual detection when starting to add credit markers to videos.
Once you have completed all videos then using auto detection and/or scheduled task to keep the library up to date.

Running scheduled task to fill up the marks as a first run through is not really recommended as you are a bit out the loop as to what is happening.

 

Posted
8 hours ago, yocker said:

Tracing the progress i do see a small problem in the plugin it self. When scheduled task is running and auto detecting new files is enabled any new files found while a schedule task is running might actually reset the queue.

I think that has happened to me.  This morning I have '0' skipped and the ETA has doubled (was ~200 hrs yesterday)...

image.png.3fa00f2383ec9037b61bebd1129a897d.png

What would explain me having multiple backups of the same show (when nothing has changed for that show)?image.png.ffc8dd9b9e92cfc67452aebb703e95aa.png

Posted
2 hours ago, RedNo7 said:

I think that has happened to me.  This morning I have '0' skipped and the ETA has doubled (was ~200 hrs yesterday)...

image.png.3fa00f2383ec9037b61bebd1129a897d.png

What would explain me having multiple backups of the same show (when nothing has changed for that show)?image.png.ffc8dd9b9e92cfc67452aebb703e95aa.png

Wow! You really are unlucky with finding bugs, Microsoft should hire you! ;) 
I will look into what is causing it to ignore previously saved backups, this one i can replicate so should be easy to fix.

I have fixed the scheduled task getting interrupted by auto detection, it will be in a future version.

Btw. thanks for reporting the problems, it really helps make the plugin better! :) 

  • Like 1
  • Haha 1
Posted
2 hours ago, yocker said:

Wow! You really are unlucky with finding bugs, Microsoft should hire you! ;) 

they can't afford me 🤣

  • Haha 2
Posted

@RedNo7I've added a new beta version in the catalog (v2.7.1.7) which should fix the problems.

Please report back.

RedNo7
Posted (edited)

OK, it looks like the scheduled task did not stop the already running task this time:

Screenshot 2026-09-05 at 09.05.17.png

...the task itself has decided it now needs over 2,200 hours (10x the ETA was before and it has only checked ~140 episodes since I started it manually yesterday which is also significantly less then before.)

 

Screenshot 2026-09-05 at 09.09.52.png

Is it because everyone has failed with this comment:

 

Screenshot 2026-09-05 at 09.11.19.png

Edited by RedNo7
yocker
Posted
1 hour ago, RedNo7 said:

OK, it looks like the scheduled task did not stop the already running task this time:

Screenshot 2026-09-05 at 09.05.17.png

...the task itself has decided it now needs over 2,200 hours (10x the ETA was before and it has only checked ~140 episodes since I started it manually yesterday which is also significantly less then before.)

 

Screenshot 2026-09-05 at 09.09.52.png

Is it because everyone has failed with this comment:

 

Screenshot 2026-09-05 at 09.11.19.png

Try the latest beta (v2.7.1.8), i fixed the problem.
Basically chromaprint/hash trying to run on a single file when OCR failed and then fails because chroma needs a whole season for comparison.

Everything should be perfect now. :) 
I very much appreciate reporting the bugs! Please keep it up when you find any. :) 

  • Like 1
  • Thanks 1
yocker
Posted

@RedNo7

I actually discovered the bug my self as well as i copied your settings and ran detections with those. 

From my testing that should be all the bugs fixed. 

One last thing, I recommend you edit the keywords it looks for to fit your collection better, the words per default are just generic fit all words that might not cover some series.

  • Thanks 1
RedNo7
Posted

Thanks!

v2.7.1.8 installed - just restarting the server now and will report back!

  • Thanks 1
RedNo7
Posted

Humming along now, but the ETA is high, I assume because the "QI" TV series which is using Chromaprint (which was failing before your fix)?

These episodes do have both credits and timed text subtitles

image.png.d416399e47a18d75e81bc0660a76f6ed.png

In this example, the credits actually start at 29:00, but EmbyCredits says "00:27:56 / 00:298:26"

image.thumb.png.ed525d2f437e4760c7e99b95820493f9.png

 

Screenshot 2026-09-05 at 17.42.56.png

Screenshot 2026-09-05 at 17.43.11.png

enterpr1se
Posted

Hi, thanks for your plugin!

It seems like .strm support was dropped after version 2.7.0.5. Is there any chance you could add it back?
I know .strm files aren't ideal for detection, but could we perhaps have an option to enable it at our own risk?

yocker
Posted
38 minutes ago, RedNo7 said:

Humming along now, but the ETA is high, I assume because the "QI" TV series which is using Chromaprint (which was failing before your fix)?

These episodes do have both credits and timed text subtitles

image.png.d416399e47a18d75e81bc0660a76f6ed.png

In this example, the credits actually start at 29:00, but EmbyCredits says "00:27:56 / 00:298:26"

image.thumb.png.ed525d2f437e4760c7e99b95820493f9.png

 

Screenshot 2026-09-05 at 17.42.56.png

Screenshot 2026-09-05 at 17.43.11.png

Chroma detection is always a little hot and miss.

Best you can do is look at an episode and see what words are used in the end credits and then add those words to the keywords lidt for the OCR to look for.

yocker
Posted (edited)
27 minutes ago, enterpr1se said:

Hi, thanks for your plugin!

It seems like .strm support was dropped after version 2.7.0.5. Is there any chance you could add it back?
I know .strm files aren't ideal for detection, but could we perhaps have an option to enable it at our own risk?

The code is still there but strm files were a mess to work with. 

I can look into seeing if I can make it better but in the end it's FFMpeg that needs to handle then properly.

Edited by yocker
enterpr1se
Posted
21 minutes ago, yocker said:

The code is still there but strm files were a mess to work with. 

I can look into seeing if I can make it better but in the end it's FFMpeg that needs to handle then properly.

Thanks so much! When I was on version 2.4.x, although it wasn't perfect, it still worked for over 60% of my videos (mostly anime). So I really hope it can be brought back as an optional setting.

I also have another suggestion: when credit detection fails for a video, the credit start time defaults to 0:00. However, some third-party players (like SenPlayer) treat the video as completely watched the moment it starts playing due to this timestamp.

Is it possible to add an option that sets the fallback credit start time to the very end of the video when detection fails?

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