Prompt
Why are duplicate files showing up in our media library?
Latest observation
Nov 3, 2026
OpenAI APIWeb search: off
Duplicate files usually show up in a media library for one of a few common reasons:
-
The same file was imported more than once
- Re-uploaded manually
- A sync job ran twice
- An import tool didn’t detect existing items
-
The library is scanning multiple locations that contain the same file
- For example, the same folder is added twice
- A folder is included both directly and through a parent directory
-
Renamed or moved files are being treated as new assets
- If the library identifies media by file path instead of content hash or ID, moving a file can create a “duplicate”
-
Generated variants are being shown as separate files
- Thumbnails, transcoded versions, or resized copies may be indexed as individual media items if filtering isn’t set correctly
-
Metadata or database sync issues
- The media database may have stale entries after an interrupted scan, failed cleanup, or migration
-
Case-sensitivity or path normalization issues
- On some systems,
IMG_001.jpgandimg_001.jpgmay be considered different, or path differences can cause duplicates
- On some systems,
What to check
- Verify the library’s watched/imported folders
- Look for repeated upload or sync jobs
- Check whether the library deduplicates by path, filename, or content hash
- Clear stale entries and rescan if needed
- Make sure derivative files (thumbnails, previews, proxies) are excluded from indexing
If you want, I can help you troubleshoot this based on the specific platform you’re using, like Plex, Jellyfin, Emby, Nextcloud, or a custom app.