# Duplicate files in a library

**URL:** <https://forums.plex.tv/t/duplicate-files-in-a-library/749362>\
**Category:** Metadata & Adding Files\
**Tags:** server-windows, library-management\
**Created:** [October 8, 2021, 8:08pm UTC](https://forums.plex.tv/t/duplicate-files-in-a-library/749362 "2021-10-08T20:08:51Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![ChuckRush](https://avatars.discourse-cdn.com/v4/letter/c/9e8a1a/32.png) [@ChuckRush](https://forums.plex.tv/u/ChuckRush)\
**Post date:** [October 8, 2021, 8:08pm UTC](https://forums.plex.tv/t/duplicate-files-in-a-library/749362/1 "2021-10-08T20:08:51Z")

</div>

Server Version#: Windows 10  
Player Version#:  
  
I am getting duplicate entries for some of the Movies in my directories

 ![image](https://global.discourse-cdn.com/plex/original/4X/f/2/6/f266547f651ee38ee710d6c3ab91704301933fff.jpeg)  
 ![image](https://global.discourse-cdn.com/plex/original/4X/5/b/e/5beb91d3abe88354b292583278323d9e3a8def9f.png)

I have deleted and recreated the directory.

I have read as many posts as I can find and none of the suggestions seem to help  
Thanks

---

<div class="post-metadata">

**Author:** ![nydave69](https://avatars.discourse-cdn.com/v4/letter/n/fbc32d/32.png) [@nydave69](https://forums.plex.tv/u/nydave69)\
**Post date:** [October 8, 2021, 8:25pm UTC](https://forums.plex.tv/t/duplicate-files-in-a-library/749362/2 "2021-10-08T20:25:55Z")

</div>

The one you point out has two different names…  
ST2\_DISK1  
and  
Star Trek II Wrath of Kahn

See what file the first one is referenced too…

---

<div class="post-metadata">

**Author:** ![ChuckRush](https://avatars.discourse-cdn.com/v4/letter/c/9e8a1a/32.png) [@ChuckRush](https://forums.plex.tv/u/ChuckRush)\
**Post date:** [October 8, 2021, 8:36pm UTC](https://forums.plex.tv/t/duplicate-files-in-a-library/749362/3 "2021-10-08T20:36:14Z")

</div>

There is nothing in the directory as shown above. The name is actually what the Disc called itself when ripped but I have no idea where the system found it

---

<div class="post-metadata">

**Author:** ![nydave69](https://avatars.discourse-cdn.com/v4/letter/n/fbc32d/32.png) [@nydave69](https://forums.plex.tv/u/nydave69)\
**Post date:** [October 8, 2021, 8:58pm UTC](https://forums.plex.tv/t/duplicate-files-in-a-library/749362/4 "2021-10-08T20:58:56Z")

</div>

Click on the poster find/click get info and see what it says

---

<div class="post-metadata">

**Author:** ![ChuckRush](https://avatars.discourse-cdn.com/v4/letter/c/9e8a1a/32.png) [@ChuckRush](https://forums.plex.tv/u/ChuckRush)\
**Post date:** [October 8, 2021, 9:11pm UTC](https://forums.plex.tv/t/duplicate-files-in-a-library/749362/5 "2021-10-08T21:11:55Z")

</div>

I have been messing with the II but there are several more so I selected the one for Insurrection

 ![image](https://global.discourse-cdn.com/plex/original/4X/f/2/2/f229d6173ef9ed8ca2a9a5e4da5640220ba4e755.png)  
and it is pointing to the same file as the one that is correct  
 ![image](https://global.discourse-cdn.com/plex/original/4X/c/d/9/cd9fde31a6fa93f9743d993606112eb7065f6e3f.png)

Thanks for taking time to help

---

<div class="post-metadata">

**Author:** ![Dan\_Bev](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/dan_bev/32/226338_2.png) [@Dan\_Bev](https://forums.plex.tv/u/Dan_Bev)\
**Post date:** [October 8, 2021, 10:34pm UTC](https://forums.plex.tv/t/duplicate-files-in-a-library/749362/6 "2021-10-08T22:34:22Z")

</div>

ST2\_Disc1 is a Collection not a movie.  
See where it says 1 Movie below it?

You can avoid this by turning off or changing the minimum number of movies required for Collections.

---

<div class="post-metadata">

**Author:** ![FordGuy61](https://avatars.discourse-cdn.com/v4/letter/f/22d042/32.png) [@FordGuy61](https://forums.plex.tv/u/FordGuy61)\
**Post date:** [October 8, 2021, 10:34pm UTC](https://forums.plex.tv/t/duplicate-files-in-a-library/749362/7 "2021-10-08T22:34:31Z")

</div>

Edit: What @Dan_Bev says. I missed that ST2\_Disc1 is a collection.

* * *

1. Place the movies in their own folders. Perform the [Plex Dance](https://forums.plex.tv/t/the-plex-dance/197064) when you move the files. It will clear out incorrect matching, old metadata, etc from the database.

R:\Movies\Star Trek Insurrection (1998) {imdb-tt1020844}\Star Trek Insurrection (1998) {imdb-tt1020844}.mp4

R:\Movies\Star Trek II The Wrath of Khan (1982) {imdb-tt0084726}\Star Trek II The Wrath of Khan (1982) {imdb-tt0084726}.mp4

1. Check the files for any incorrect embedded metadata (title, etc). Plex will read embedded metadata from mp4/m4v files.

2. Configure your library to not use embedded metadata.

If using the new Plex movie agent, edit the library, select Advanced, uncheck the box for “Prefer local metadata.” Save changes, refresh metadata.

If using the old movie agent, go to Settings → Agents → Plex Movie (Legacy). Uncheck the box for Local Media Assets. Refresh metadata.

---

<div class="post-metadata">

**Author:** ![ChuckRush](https://avatars.discourse-cdn.com/v4/letter/c/9e8a1a/32.png) [@ChuckRush](https://forums.plex.tv/u/ChuckRush)\
**Post date:** [October 8, 2021, 11:21pm UTC](https://forums.plex.tv/t/duplicate-files-in-a-library/749362/8 "2021-10-08T23:21:27Z")

</div>

Thanks guys. I will get started

---

<div class="post-metadata">

**Author:** ![ChuckRush](https://avatars.discourse-cdn.com/v4/letter/c/9e8a1a/32.png) [@ChuckRush](https://forums.plex.tv/u/ChuckRush)\
**Post date:** [October 9, 2021, 6:12pm UTC](https://forums.plex.tv/t/duplicate-files-in-a-library/749362/9 "2021-10-09T18:12:59Z")

</div>

Thanks for all of your help. Everything is much better

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [January 7, 2022, 6:13pm UTC](https://forums.plex.tv/t/duplicate-files-in-a-library/749362/10 "2022-01-07T18:13:23Z")

</div>

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