Credits detection same movie

Hello,
I have a question about credit detection (probably some issue?). Its about few weeks now that my Plex server start detecting end credits but I noticed that for some reason Plex keep detecting one movie all over again.
So when maintenance time starts then first thing what PLEX do is detecting credits on one specific movie again and again. It takes a while and then work normally after this specific movie is done. So what is this all about? It is some kind of error or why Plex have to detect movies multiple times?

I also have a question if you can somehow see how many movies and series are left to detect end credits. This job is quite long and take some CPU…

1 Like

Are you running the latest PMS (1.31.1)? There were some fixes around credit detection.

If you are on this version, please provide me the logs so I can check what is going on.

We do not have a way to show how many file shave been processed or how many are left. Sorry.

My PMS version is 1.31.2.6739. I have beta channel with auto-update so it should be always lastest version.
Logs.zip (590.6 KB)

Did you ever fix thiz ? Im having a similar issue

@michal_h You do not have debug logging enabled so there isn’t any info on what’s going on. Please enable this setting and then get me a new log after the credit detection runs.

OK here it is. For some reason PLEX do movie Turning Red credits detection again and again every time the maintenance time starts.
Logs.zip (777.5 KB)

It’s having trouble reading that file. You can remove/replace the file to see if that will stop it for now. I’m checking with the team to see if we can stop retrying after a while.

Also, i had forgot we had this, you can turn off credit detection just for that movie. No need to remove the file.

Would this be a proper approach to determine how many items have already been processed by the credit detection process?

sqlite3 com.plexapp.plugins.library.db -header -column ā€œselect count(*) Count_MediaItems, sum(iif(extra_data like ā€˜%credits%’, 1, 0)) Count_Credits from media_parts;ā€

Any particular reason why? I didnt notice any error or artifact/glitches in this movie. I remux this movie with mkvtoolnix (also no errors) delete old and replace it. I will let you know if it helps.

So just change file for another (remux with mkvtoolnix) didnt help. Also this movie (Turning Red) dont have working credits marks either so why Plex keep detecting credits? If Plex cant handle it just let people mark it manually or stop detecting it. Its wasting about 30min of CPU time for nothing

It looked like something with the encoding, so remuxing is not going to fix that. You need a full re-encode. We don’t currently have a mechanism to track failed attempts. Maybe something for the future. For now the only option is to turn off the credit detection for that movie.

OK I will try to rencode it again and test it but it will take at least a few days. It is also strange to hear that because I encode all movies with same settings so it should happend with lots of other movies.
This movie have non standart (not black and white scene) credits so maybe could be other issue with detection problems? So maybe the algorithm try to detect credits but fail multiple time to do so and next maintenance time do this again and again…
Credits example:

Weird. I got 2 credits markers recognized in that movie just fine.

<Marker id="332898" type="credits" startTimeOffset="5333661" endTimeOffset="5915661">
<Attributes id="332898" version="4"/>
</Marker>
<Marker final="1" id="332898" type="credits" startTimeOffset="5959661" endTimeOffset="5980778">
<Attributes id="332898" version="4"/>
</Marker>

How can I get this information about credits detection?

It’s in the Plex media info XML

FWIW credits detection on ā€œTurning Redā€ also failed for me.

EDIT: Nevermind. I also got two markers, didn’t saw them first because I disabled credits detection.

I have only one marker:

<Marker id="58242" type="credits" startTimeOffset="5720512" endTimeOffset="6414512">
<Attributes id="58242" version="4"/>
</Marker>

Also I find out that this movie have some strange behavior with Plex transcoder. For some reason when you play this movie directly everything is fine but when transcoder changing quality the lenght of movie is different and longer. Maybe you have some issue with transcoder.

Your endTimeOffset suggests that your version is either

  • significantly longer than mine. But I’m not aware of an ā€œextended versionā€ of this movie.
  • the credit detection had trouble reading the file, similarly to your transcoder

Which still suggests that there may be something about the video file on your file storage which is confusing Plex.

When transcoder changing video quality then the movie is about half and hour longer then normal direct play.