Jump to content

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


Go to solution Solved by yocker,

Recommended Posts

Baenwort
Posted

I've make sure CPU limit is 100, DMP is on, and I've set what I can figure out to Parallels processing. However, it doesn't seem to be using much resources on my server as I'm only seeing 15-20% resource usage. The server is at very low load at the moment with only ~4% cpu usage from other processes in other jails.

image.png.d7caca847cb0a9c869de08ed0d53eae0.png

The settings I've adjusted:

image.png.5b43831912477c32352a60d0f26f4f66.png

image.png.592ab6a26088c9e9b291c5a25944fe1c.png

image.png.762bfdb0060d14ff660e885b00a5ea6e.png

image.png.518ba42b110af35d5a9e36d06517dffc.png

image.png.3979b91b78615a021d9d98035889ee8f.png

 

yocker
Posted (edited)

@Baenwort Looking at number of threads you have available for that CPU 30% usage sounds about right.
The FFmpeg usage is actually rather bursty so any CPU monitoring tool might not report it right either.

I can look into making some more "dedicated machine" settings to really let everything stretch it legs. Like for example increase batch size, looking into getting it to work with multiple tesseracts instances at once.
Atm. it's set rather conservative to make sure it wouldn't bog down peoples servers when running.

For now you can increase the speed a bit by disabling "Optimized Predictive Sampling in the OCR OCR Enhancements tab.
image.thumb.png.4004e824f8771d7548a13822244c0481.png

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

@Baenwort Looking at number of threads you have available for that CPU 30% usage sounds about right.
The FFmpeg usage is actually rather bursty so any CPU monitoring tool might not report it right either.

I can look into making some more "dedicated machine" settings to really let everything stretch it legs. Like for example increase batch size, looking into getting it to work with multiple tesseracts instances at once.
Atm. it's set rather conservative to make sure it wouldn't bog down peoples servers when running.

For now you can increase the speed a bit by disabling "Optimized Predictive Sampling in the OCR OCR Enhancements tab.
image.thumb.png.4004e824f8771d7548a13822244c0481.png

The CPU used percentage isn't 30% as the FreeBSD htop command doesn't use 100% as the max but rather 100 x number of threads. If you look at the top of the htop window you will see most threads are under 30%. The CPU% column is the percent of a thread that is being used by that process. If a thread is using multiple threads fully then the percentage will show greater than 100.

I've disabled that and we'll see what the new calculation for time remaining levels out at.

yocker
Posted
16 minutes ago, Baenwort said:

The CPU used percentage isn't 30% as the FreeBSD htop command doesn't use 100% as the max but rather 100 x number of threads. If you look at the top of the htop window you will see most threads are under 30%. The CPU% column is the percent of a thread that is being used by that process. If a thread is using multiple threads fully then the percentage will show greater than 100.

I've disabled that and we'll see what the new calculation for time remaining levels out at.

I meant to write 20% as you mentioned but guess i hit 3 instead of 2. :) 

Disabling it should speed it up a bit since it's an extra "detection method" used before the actual detection.
I should make it disabled by default tbh.

I've added what we discussed to my todo list and will start work on it next.

yocker
Posted

@Baenwort did you see an improvement with the feature turned off?

Posted

@BaenwortI have added some improvements, they are in the latest beta in the catalog.
Biggest improvement is being able to run multiple instances of local Tesseract detections.

Posted (edited)

New version v2.7.1.3 in the catalog.

Added:
1) Ability to use multiple local Tesseract instances at once.
2) More control over CPU/GPU to improve performance on bigger machines.

Fixed:
1) Episode process bars should now show the correct info.
 

Edited by yocker
  • Like 1
Posted

question for understanding.

I have set a schedule for the plugin to run for 18 hours every day (as it needs to get through my whole library which will take a while).

The schedule screen shows the plugin ran correctly, but only for ~40 mins (1st screenshot).

When I run it manually, it states it needs ~450 hrs to complete (2nd screenshot).

Why is the scheduled task not running for the full 18 hours?

 

Screenshot 2026-09-01 at 09.25.44.png

Screenshot 2026-09-01 at 09.27.50.png

yocker
Posted (edited)
2 hours ago, RedNo7 said:

question for understanding.

I have set a schedule for the plugin to run for 18 hours every day (as it needs to get through my whole library which will take a while).

The schedule screen shows the plugin ran correctly, but only for ~40 mins (1st screenshot).

When I run it manually, it states it needs ~450 hrs to complete (2nd screenshot).

Why is the scheduled task not running for the full 18 hours?

 

Screenshot 2026-09-01 at 09.25.44.png

Screenshot 2026-09-01 at 09.27.50.png

Did you set it to look in the correct folders?
image.png.fa3d1d216413fd03ceb5ebfcd54075c4.png

Edited by yocker
RedNo7
Posted (edited)

No - I cannot find those settings anywhere and it's not shown in the instructions. Where can I find them?

 

Sorry, Yes, I have these checked....

image.png.5dd0b7ab4bcfdd8bb50b1272d822dbd4.png

 

Edited by RedNo7
  • Like 1
yocker
Posted
16 minutes ago, RedNo7 said:

No - I cannot find those settings anywhere and it's not shown in the instructions. Where can I find them?

 

Sorry, Yes, I have these checked....

image.png.5dd0b7ab4bcfdd8bb50b1272d822dbd4.png

 

And it still doesn't run detection for all videos with missing end credits?

image.png.63464af2446d125194f3e6e8ed4efc80.png

Be sure this setting is disabled or it will only process new files since it last ran.

RedNo7
Posted

no, that's not enabled.

 

 

Screenshot 2026-09-01 at 21.11.58.png

yocker
Posted (edited)
23 minutes ago, RedNo7 said:

no, that's not enabled.

 

 

Screenshot 2026-09-01 at 21.11.58.png

That's strange.
There is nothing that should stop it then other than some settings in Emby.

image.png.3f55b16c9c169647a002978a2a20d3a0.png

This is the schedule task in Emby.
See if the time limit is set as that will stop it.

Edit: I mean if it is set incorrectly. ;) 

Also are these enabled in the plugin?
image.png.11e949f42533ca2011b4adfd18bfdf1d.png

Edited by yocker
yocker
Posted

I'm considering making an automatic resume if a failure happens.. Problem will be having it working well together with Embys time limit setting.

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