Organize music and movies: the complete guide to managing your media

How to name and tag your media files
Name your files correctly and your media server will thank you for it

Having all your media on tap without having to find or swap CDs and DVDs is a major attraction of building your own digital media library. Trouble is, there are so many platforms out there, how do you prepare your library to work nicely across such as wide a range of services? In this guide we reveal all.

First, we're going to assume your videos are stored in Apple's MP4/H.264 format. Even Windows 8 natively supports this format, along with most third-party devices such as Android mobiles and smart TVs.

Next, you need to name or rename your files so that the 'media scrapers' employed by many media servers can easily identify them and match them to the information stored on online databases such as thetvdb.com and themoviedb.org.

We'll then show you how to directly embed the metadata used by your media server into your media files through a process called tagging. This allows your files to be correctly seen across a wider range of platforms, including iTunes, giving you maximum flexibility.

Naming conventions

Start by naming your files. The filename convention depends on the type of file (music track, TV show, movie or music video) as well as the media server you're using. Most are flexible enough to support the following conventions, which are favoured by open-source media server XBMC (see the XBMC Wiki for full details):

  • Type / Folder / structure / Syntax Example
  • Music / Music\Artist\Album / artist – track name / a-ha – take on me.mp3
  • Movies / Movie\movie / title (year) / star trek (2009).mp4
  • TV Shows / TV\TV Show\Season / tvshow – s01e01.mp4 / 30 rock – s03e12.mp4
  • Music Videos / Music Videos\Artist / artist – track name / dexy's midnight runners – come on eileen.mp4

Don't be afraid to use spaces and punctuation - so it's schindler's list, not schindlers_list, although remember certain characters - particularly colons (:) and question marks (?) - aren't supported by all file systems.

Think about adding the year to the TV Show name folder if its title is likely to cause confusion - for example, Battlestar Galactica (2003). The s01e01 part of the show refers to its season and episode number - if an episode is listed under the Specials section in thetvdb.com, use s00 for its season number. Consult the wiki for advice naming up multi-episode or split-episode files.

Rename your files

How to name and tag your media files

FileBot makes it easy to change the way your media files are named

Knowing the naming conventions helps when you're starting from scratch, but if you find yourself with a string of movies, TV shows or music tracks to rename, then you'll need the help of a free, cross-platform tool called Filebot.

It's a great tool for organising your media files, but we're specifically using it here to correctly - and quickly - rename incorrect files, including ripped CDs where no track information was available.

Start by loading in the files you want to rename - we suggest restricting yourself to a single TV show or music artist at a time. Now click the Match button and choose Edit Format to tell FileBot how to name your files. For TV shows, type {n} - {s00e00} - {t} into the box and click Use Format.

Click the Switch to… button to switch to movies then music naming conventions, typing {n} ({y}) into the box for movies, and {artist} – {t} into the box for music before clicking Use Format.

With the format defined, click the Match button again, but this time select a database to use from those offered - typically the first entry is best (thetvdb.com, themoviedb.com). FileBot will then attempt to find a match and display the renamed file in the right-hand pane.

If it's correct, click the Rename button to name your files correctly. FileBot will flag any potentially illegal characters like colons and question marks, allowing you to strip them out with a single click.

Tag films and TV shows

How to name and tag your media files

Mac users: utilise Plex Media Server to effortlessly tag your files

With your files named, XBMC, Plex and other media servers employing scrapers should now detect your files and add them to their database. If you want to embed tags into your media files for the benefit of iTunes and its ilk, read on.

Latest in Pro
Branch office chairs next to a TechRadar-branded badge that reads Big Savings.
This office chair deal wins the Amazon Spring Sale for me and it's so good I don't expect it to last
Saily eSIM by Nord Security
"Much more than just an eSIM service" - I spoke to the CEO of Saily about the future of travel and its impact on secure eSIM technology
NetSuite EVP Evan Goldberg at SuiteConnect London 2025
"It's our job to deliver constant innovation” - NetSuite head on why it wants to be the operating system for your whole business
FlexiSpot office furniture next to a TechRadar-branded badge that reads Big Savings.
Upgrade your home office for under $500 in the Amazon Spring Sale: My top picks and biggest savings
Beelink EQi 12 mini PC
I’ve never seen a PC with an Intel Core i3 CPU, 24GB RAM, 500GB SSD and two Gb LAN ports sell for so cheap
cybersecurity
Chinese government hackers allegedly spent years undetected in foreign phone networks
Latest in News
DeepSeek
Deepseek’s new AI is smarter, faster, cheaper, and a real rival to OpenAI's models
Open AI
OpenAI unveiled image generation for 4o – here's everything you need to know about the ChatGPT upgrade
Apple WWDC 2025 announced
Apple just announced WWDC 2025 starts on June 9, and we'll all be watching the opening event
Hornet swings their weapon in mid air
Hollow Knight: Silksong gets new Steam metadata changes, convincing everyone and their mother that the game is finally releasing this year
OpenAI logo
OpenAI just launched a free ChatGPT bible that will help you master the AI chatbot and Sora
An aerial view of an Instavolt Superhub for charging electric vehicles
Forget gas stations – EV charging Superhubs are using solar power to solve the most annoying thing about electric motoring