Skip to content
File name parser for Plex using Python
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
CHANGELOG.md
README.md
movie-name-parser.py
tv-show-name-parser.py

README.md

clean-movie-names

While trying to clean my plex movie database, I was tired of changing the naming schemes to match Plex's. I wrote this simple script in Python to clean (most) of my databases which typically would take me hours of my weekend time to sit and manually update it. In few cases (duplicate file names), I still have to manually intervene once a while, but that is far less work as before.

Installation:

  1. Install Python2.x
  2. Copy the python file, and update the directory where we want to process the filenames.
  3. Run - python movie-name-parser.py to clean movie titles / python tv-show-name-parser.py for tv-shows

Movie name parser

Follows the requirements as per Plex naming scheme -

/Movies
   /Avatar (2009)
      Avatar (2009).mkv
   /Batman Begins (2005)
      Batman Begins (2005).mp4
      Batman Begins (2005).eng.srt
      poster.jpg

TV-show name parser

Follows the requirements as per Plex naming scheme -

/TV Shows
  /Grey's Anatomy
     /Season 02
         Grey's Anatomy - s02e01.avi
         Grey's Anatomy - s02e02.mkv
         Grey's Anatomy - s02e03.m4v

Changelog

Check Changelog.md

You can’t perform that action at this time.