Skip to main content
A Plex library is only as good as the files behind it. Throw a folder of randomly named video files at Plex and you’ll get a confusing, poorly-matched mess of posters and metadata. Organize those same files with the right naming conventions and a clear folder structure, and Plex transforms them into a beautiful, browsable library that rivals any commercial streaming service. This guide walks you through everything — from the correct way to name a movie file to fixing stubborn mismatches and building curated Collections — so your library looks perfect on every device.

Step 1: Set Up Your Folder Structure

Before you add anything to Plex, get your folder structure right. Plex expects each library type to have its own root folder, and it works best when movies and TV shows are stored separately.
1

Create separate root folders for each media type

Use a dedicated top-level folder for each library category:
Never mix movies and TV episodes in the same folder — Plex’s metadata agents rely on the library type to determine how to scan and match content.
2

Name movie files and folders correctly

Plex expects movies in the format: Movie Title (Year). Each movie should live in its own subfolder:
Including the year is critical — it helps Plex disambiguate remakes and films with identical titles.
3

Name TV show files and folders correctly

TV shows require a two-level folder structure — show folder, then season subfolder — with episode files named using the SxxExx format:
The show year in the folder name is optional but recommended to avoid ambiguity with remakes.
4

Name music files correctly

Plex reads music metadata from embedded ID3 tags rather than filenames, but a clean folder structure still helps:
Use a tool like MusicBrainz Picard to embed accurate tags before adding music to Plex.
Use FileBot or tinyMediaManager to rename large batches of files automatically using their correct titles. Both tools query TheMovieDB and TheTVDB and rename files to Plex’s preferred format in seconds.

Step 2: Add Library Sections in Plex

With your folders organized, add them to Plex as distinct library sections.
1

Open Plex Media Server settings

In Plex Web, click the + icon next to Libraries in the left sidebar, or navigate to Settings → Libraries → Add Library.
2

Choose the library type

Select from Movies, TV Shows, Music, Photos, or Home Videos. Each type uses a different metadata agent and display layout, so matching the type to your content is essential.
3

Add your media folder

Click Browse for media folder and navigate to your root media folder (e.g., /media/Movies). You can add multiple folders to a single library — useful if you have media spread across multiple drives.
4

Configure the language and agent settings

Before saving, verify that the language is set to your preferred language for metadata. Leave the agent on the default (Plex Movie / Plex TV Series) unless you have a specific reason to change it.
5

Click Add Library and let Plex scan

Plex will scan your folder, match each file to a title in its database, and fetch posters, backdrops, descriptions, cast information, and ratings. For a large library this can take several minutes — leave it running in the background.
Plex’s default metadata agent uses data from TheMovieDB (movies), TheTVDB and TheMovieDB (TV shows), and MusicBrainz (music). These are generally excellent sources, but you can also install community agents via the Plugin directory for specialty content like anime or Asian cinema.

Step 3: Fix Mismatched Metadata

Even with perfect naming, Plex occasionally matches the wrong film or episode. Here’s how to correct it.
1

Identify mismatched items

Browse your library and look for wrong posters, missing artwork, or incorrect descriptions. Items with a spinning refresh icon are still being matched.
2

Right-click and choose Fix Incorrect Match

In Plex Web, right-click (or long-press on mobile) any mismatched item and select Fix Incorrect Match. Plex will show you alternative results from its database — select the correct one.
3

Use Fix Incorrect Audio/Subtitle Tracks if needed

If audio tracks or subtitle languages are labeled incorrectly, right-click the item and choose Fix Incorrect Audio/Subtitle Tracks to re-analyze the file.
4

Manually match by ID if the title doesn't appear

For obscure or foreign titles, click Search by name or ID and paste in the TheMovieDB or TheTVDB ID directly. You can find IDs in the URL on those sites (e.g., themoviedb.org/movie/12345).
After bulk-renaming a folder or adding a large batch of files, trigger a manual library scan via Settings → Troubleshooting → Clean Bundles and then Fix Library Issues. This removes stale metadata and forces a clean re-match.

Step 4: Customize Artwork and Metadata

Plex automatically fetches artwork, but you can swap in your own.
1

Upload custom poster art

Right-click any library item and choose Edit. Under the Poster tab, click the + icon to upload a custom image. Your custom poster takes priority over Plex’s auto-fetched art.
2

Use the Community Rating or your own ratings

In the same edit panel, you can override audience and critic ratings, edit the summary text, add studio information, and correct the content rating. These changes are stored locally and survive metadata refreshes.
3

Lock metadata to prevent overwrites

Once you’ve manually edited an item’s metadata, click the lock icon in the edit panel to pin those fields. Locked fields are never overwritten by automatic metadata refreshes.

Step 5: Build Collections and Playlists

Once your library is clean, Collections and Playlists are what turn a good library into a great one.
1

Create a Collection

Collections group related movies or shows together — franchises, director filmographies, holiday picks, whatever you like. Right-click any movie, choose Edit, and type a name in the Collections field. Add the same collection name to every title in the group, and Plex displays them together as a browsable collection tile.
2

Enable Collection Mode

In your library settings, toggle Show collections and their items to control whether individual movies appear alongside their collection tile or only inside it.
3

Create a Playlist

Playlists are ordered queues of any mix of content — great for movie marathons, curated watch lists, or kid-friendly queues. Click New Playlist in the left sidebar, give it a name, and drag in any items from your library.
4

Share Playlists with household members

With Plex Pass, you can share playlists with other members of your Plex Home so the whole family sees your curated queues.

Common Organization Questions

Plex supports multiple editions of the same movie stored in a single folder. Name each file with the edition in curly braces:
Plex groups them under a single library tile with an Editions selector.
Store specials in a Season 00 folder. Plex maps these to TheTVDB’s “Specials” season:
For behind-the-scenes extras, featurettes, and deleted scenes, create a subfolder called Behind The Scenes, Featurettes, Deleted Scenes, Interviews, Scenes, Shorts, or Trailers inside the movie folder. Plex recognizes these names automatically.
This happens when metadata fields are unlocked. After editing any field manually, open the edit panel and click the lock icon next to each customized field. Locked fields are immune to automatic refreshes. Alternatively, enable Freeze all metadata in the item’s settings to lock everything at once.
Navigate to your library, click the filter icon, and choose Duplicates. Plex lists every title that has more than one file. You can compare file quality (resolution, bitrate, codec) and delete the inferior copy directly from the interface — no need to open a file browser.
Yes, and it works very well. You have two options: run Plex Media Server directly on the NAS (Synology, QNAP, and most Unraid/TrueNAS setups support this), or run PMS on a separate PC and map your NAS shares as network drives. Running PMS on the NAS is simpler; running it on a dedicated PC gives you more CPU headroom for transcoding.

A well-organized Plex library doesn’t require constant maintenance — once you establish the right naming conventions and folder structure, new content slots in automatically. Spend the time upfront to clean up your files, and Plex will reward you with a library that looks polished, stays accurate, and works beautifully on every device in your home.