Movies not getting added to Plex

When you have “automatically update my library” enabled,
PMS is sensitive to directory activity.

If the directory date/time last modified changes, PMS will see that and rescan it because the linux kernel generates a Directory_write notification event.

When starts scannng, before it decides “match again”, it looks at the file header checksum (fingerprint). If that fingerprint is in the DB, nothing will happen.

This is why we “Plex Dance” media files which were renamed AFTER PMS scans them incorrectly the first time. (Removes the fingerprint when empty-cleanbundles-optimize is performed)

The best way to add media is

  1. Rename media directories / files into final form.
  2. Move finished (PMS-ready) directories with files in them into where PMS monitors
  3. Allow PMS to detect and add properly the first time.

Re-iterating about Plex Dance,

Plex Dance puts PMS back into the state where the media files will be “New” when you move them back. They will be “as if new” and without any previous entries in the DB.