Jump to content

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


Go to solution Solved by yocker,

Recommended Posts

yocker
Posted
34 minutes ago, rechigo said:

The DLL is missing !

Fixed.

  • Like 1
  • 2 weeks later...
Posted

Is there a reason why previously detected end credit tags would be removed? I've had a number of shows where end credits were detected successfully a few months ago that now no longer have end credit markers. I only realized this after the end credit skip option stopped showing up while watching episodes for those shows. When I viewed end credits from the plug-in for those shows it identified that end credits were missing for almost all of the episodes. I reran the scan for those shows, and end credits were detected again. But I'm not sure why they were deleted in the first place.

Posted
1 minute ago, DarWun said:

Is there a reason why previously detected end credit tags would be removed? I've had a number of shows where end credits were detected successfully a few months ago that now no longer have end credit markers. I only realized this after the end credit skip option stopped showing up while watching episodes for those shows. When I viewed end credits from the plug-in for those shows it identified that end credits were missing for almost all of the episodes. I reran the scan for those shows, and end credits were detected again. But I'm not sure why they were deleted in the first place.

I'm not 100% sure about this but it looks like:

1. Emby for some reason removed all detections, even their own intro detections, when Emby last updated.
2. Emby also removed all detections including their own intro when doing a metadata refresh even when it's said to only look for missing metadata.

I don't know why the devs made it like that or if it's a bug.
It's not the plugin removing the detections.

  • Thanks 1
Posted
3 hours ago, yocker said:

I'm not 100% sure about this but it looks like:

1. Emby for some reason removed all detections, even their own intro detections, when Emby last updated.
2. Emby also removed all detections including their own intro when doing a metadata refresh even when it's said to only look for missing metadata.

I don't know why the devs made it like that or if it's a bug.
It's not the plugin removing the detections.

Thanks. I've been selective in my use of this plug-in, only having used it to determine end credits for a hand full of series in my collection. And it looks like the previously detected end-credit flags were wiped for every one of those shows recently. That may have coincided with Emby rescanning intro markers. But I don't recall Emby redetecting intro credits recently on any of the series where end credits tags disappeared. I am currently rescanning end credits for all of the series where they were deleted. I'll report back if I figure out why they were deleted in the first place.

Posted
33 minutes ago, DarWun said:

Thanks. I've been selective in my use of this plug-in, only having used it to determine end credits for a hand full of series in my collection. And it looks like the previously detected end-credit flags were wiped for every one of those shows recently. That may have coincided with Emby rescanning intro markers. But I don't recall Emby redetecting intro credits recently on any of the series where end credits tags disappeared. I am currently rescanning end credits for all of the series where they were deleted. I'll report back if I figure out why they were deleted in the first place.

It's not Emby rescanning for intro that removes the markers.
Emby doing metadata scans removes all markers, including the intro once.

  • Like 1
Posted
2 hours ago, yocker said:

It's not Emby rescanning for intro that removes the markers.
Emby doing metadata scans removes all markers, including the intro once.

Thanks for the clarification. I haven't seen intro markers removed after Emby doing metadata rescans. I've only seen the end credit markers removed (whether due to metadata rescan of for another reason).

Posted (edited)
53 minutes ago, DarWun said:

Thanks for the clarification. I haven't seen intro markers removed after Emby doing metadata rescans. I've only seen the end credit markers removed (whether due to metadata rescan of for another reason).

For me it sadly does and others have reported the same. :( 

Anyway.. It's sadly out of my hands and needs a change in Emby it self from the devs. 

Edited by yocker
  • Agree 3
  • Thanks 1
Posted

@DarWunI forgot to write.
You can use the backup feature to hasten the re-detection.

spk2010
Posted

Hi, first of all, thanks for the plugin!

I have the same problem, the end markers disappear when an episode is played.

For now I have solved it like this: instead of using Emby's task scheduler, I launch a script that uses the Credits Detector API. First it checks if a backup exists, if there is one it restores it, then it starts detecting all episodes with /CreditsDetector/StartDetection and "SkipExistingMarkers": true, I wait for it to finish (/CreditsDetector/GetProgress) and finally it overwrites the backup.

I would like to comment on another thing, the recommended docker container does not work on my RaspberryPi 4, I had to end up using hertzg/tesseract-server and with another script delete the temp files.

again, thanks for the work done!!

yocker
Posted
14 minutes ago, spk2010 said:

Hi, first of all, thanks for the plugin!

I have the same problem, the end markers disappear when an episode is played.

For now I have solved it like this: instead of using Emby's task scheduler, I launch a script that uses the Credits Detector API. First it checks if a backup exists, if there is one it restores it, then it starts detecting all episodes with /CreditsDetector/StartDetection and "SkipExistingMarkers": true, I wait for it to finish (/CreditsDetector/GetProgress) and finally it overwrites the backup.

I would like to comment on another thing, the recommended docker container does not work on my RaspberryPi 4, I had to end up using hertzg/tesseract-server and with another script delete the temp files.

again, thanks for the work done!!

Hmm that doesn't sound like the normal Emby behavior. Never heard of it removing chapter info after play, i will look into what i can find about it.
Do you have other plugins that edit chapters? 

A Raspberry PI isn't really recommended as it's not powerful enough. I'm surprised you actually got any of the OCR to work on it.
OCR is a form of AI that reads images/texts and gives back what it sees.
For PaddleOCR it's recommended to have a Nvidia GFX card and and 100GB disk space, Tesseract requires way less space but i would recommend a somewhat modern CPU.

yocker
Posted

@LukeSorry for bothering with this but i would love to know if Emby overwriting the chapter markers is intentional or something that will be fixed.
It's affecting Embys own intro markers as well plus it creates havoc for this plugin.

  • Like 1
Posted
58 minutes ago, yocker said:

Hmm that doesn't sound like the normal Emby behavior. Never heard of it removing chapter info after play, i will look into what i can find about it.
Do you have other plugins that edit chapters? 

Chapter API, only for view Intro Summary 

 

1 hour ago, yocker said:

A Raspberry PI isn't really recommended as it's not powerful enough. I'm surprised you actually got any of the OCR to work on it.

yes, it really is slow, it takes about 15 minutes per episode, considering that I have changed these 2 values: Search Start Position I have adjusted it to 5 minutes from the end and the fps to 0.7, I am very happy with the result. Precisely because of how long it takes I restore the last backup before scanning new files

  • Like 1

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