> For the complete documentation index, see [llms.txt](https://www.tvrename.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.tvrename.com/menu/tools-menu/find-duplicate-movies.md).

# Find Duplicate Movies

![](https://3508557057-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx0gPeIfHpbgTioNust1M%2Fuploads%2FVoO6K4tmIStfcXjhkM6j%2Fimage.png?alt=media\&token=74377523-1ff4-403b-ad64-8280681fba16)

**Tools > Find Duplicate Movies...** checks every movie in your library and lists the ones that have more than one video file in their folder. It starts as soon as the window opens, with a progress bar while it works.

| Column          | What it means                                                                                                                                                                                                              |
| --------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Movie           | The movie in your library.                                                                                                                                                                                                 |
| Filenames       | The video files found for it.                                                                                                                                                                                              |
| # files         | How many files were found.                                                                                                                                                                                                 |
| MultiPart Movie | True when there are exactly two files whose names end in a part number, such as `CD1`/`CD2`, `Part1`/`Part2` or `Disc1`/`Disc2` (also `pt`, `dvd` and `disk`). These are normally one movie split in two, not a duplicate. |
| Sample?         | True when one of the files looks like a sample: "sample" is in its name and it is smaller than the sample size limit set in Preferences.                                                                                   |
| Deleted?        | True when one of the files is a tiny leftover stub, such as a macOS `._` file.                                                                                                                                             |

Right-click a row to:

* **Force Refresh**: download this movie's information again, then re-check it.
* **Update**: re-check this movie's folder, for example after you have removed a file yourself.
* **Edit Movie**: open the movie's settings.
* **Choose Best**: keep the best file and remove the others (read the warning below first).
* **Visit** a file: open File Explorer with that file selected.

**How Choose Best decides.** It compares the files' running time and picture width (resolution). A file wins if it is longer or wider by more than the margin set in [Preferences > Search Folders](https://www.tvrename.com/menu/preferences/search-folders.md) (*Consider a file better if it is X% higher resolution/longer*, 10% by default). If that doesn't separate them, a file whose name contains one of the *Priority override terms* (`PROPER;REPACK;RERIP` by default) wins. If it still can't tell, or can't read the video details, it asks you which file to keep, or whether to keep both. If the files are identical it keeps one and removes the other without asking.

{% hint style="danger" %}
**Choose Best removes the losing file immediately.** It does not go to the Scan tab for you to confirm. The file is sent to the Windows Recycle Bin, whatever your Folder Deleting settings say. A file on a network drive usually can't go to the Recycle Bin, so Windows deletes it permanently. If removing the file leaves the folder with no video files, the folder is then tidied up using your Folder Deleting settings.

**Do not use Choose Best on a MultiPart Movie row.** The two parts are compared like any other pair, so if one part is more than 10% longer than the other, the shorter part is removed without asking.
{% endhint %}

Click `Refresh` to check the whole library again, and `Close` when you are done.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://www.tvrename.com/menu/tools-menu/find-duplicate-movies.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
