When doing a Update Library Files task, what is thiis doing?

So initially, when you do a update library scan, it adds new files to the library and creates the metadata for it. But when that finishes it does this

  • 9:45AM Finished processing [Titanic: 20 Years Later with James Cameron
  • 9:45AM Finished processing [Titanic: 20 Years Later with James Cameron]
  • 9:45AM Finished processing [Titanic: 20 Years Later with James Cameron]
  • 9:45AM Finished processing [To Be Frank: Sinatra at 100]
  • 9:45AM Finished processing [To Be Frank: Sinatra at 100]
  • 9:45AM Finished processing [To Be Frank: Sinatra at 100]

3x lines of finished processing for movies, what is this actually doing?

Fetching metadata,
analysing the files for technical data, like which codec is used, how many audio and subtitle streams are there
generating preview pictures, in case there are none available from external metadata sources.

Will it do this for all files every scan? So if I have 30,000 movies, it will scan all 30,000 of these files every Library Update?

No, only files it didn’t have previously in its database.

However, it makes an effort to “match” files which are still unmatched – even if they were already in the library before.
That’s why it is important to separate “matchable” items (e.g. cinema movies, tv series) and “unmatchable” items (personal videos, sport events, training videos etc.) into separate libraries. And to pick the ‘Personal Media’ agent for the “unmatchables” library.

Lets say for whatever reason plex failed to get mediainfo for a file, but has correct metadata in the initial scan for that movie and file. In a future scan, will it retry to get mediainfo for that file?

Sorry, I don’t understand that.

Scan 1:
Plex finds a new file, matches it to a movie, grabs the metadata for that movie but fails to get the mediainfo for that file (Resolution, runtime, etc) for whatever reason.

In future scans, will plex retry to grab mediainfo(resolution, runetime, audio codecs, etc…) for that file?

No, but it might do so during the maintenance period.
https://support.plex.tv/articles/201553286-scheduled-tasks/

Keeo in mind that disabling media analysis might lead to:

  • playback failures on some client types
  • unnecessary transcoding during playback

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.