Jump to content

HOW TO: identify misnamed movies


Recommended Posts

Painkiller88
Posted (edited)

I've seen this in a lot threads now. People having hundreds or thousands of movies but never named them like recommended by the Emby Team: Movie Naming

For those of you working with Windows i have a quick PowerShell oneliner to find all those movies and save it into a textfile. So you can go through all of them from time to time and correct it.

assuming everyone can open powershell on his PC/Server just navigate in your movies root folder with powershell where you have all your movies in.

 

Get-ChildItem -Include *.mkv -Recurse | Where-Object { $_.Name -notlike '*(*)*' } |select Name |ft > C:\temp\movies.txt

This code will search for all .mkv files recursively where no Bracklets are in the filename and select them by name and create a file called movies.txt in C:\temp\

Edit the code line if you have MP4 files instead of MKV.

Hopefully you don't get a thousand movies back in that list :) if so, i would recommend using TinyMediaManager to rename your movies. but if you have just a hand full, you can add the correct year manually.

i hope this is helpful for a few of you.

Edited by Painkiller8818
  • Thanks 1
Posted

Nice script!

Just to make it clear, brackets are optional in file names to hold extra info.  Parenthesis however should be used for the year. :) 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...