This guide explains how to set up One Pace for Plex
- Episodes grouped by One Pace arcs
- Custom metadata files for each episode
- Automatic renaming of One Pace episodes to correct format required for this project
- Allows to include episodes not completed by the One Pace team yet
- Plex
- XBMCnfoTVImporter
- Python 3.7+ (only if running Linux/Mac)
Download this repo as a zip file then copy the "One Pace" folder to your Anime or TV folder as used in Plex.
└───media
├───anime
│ ├───One Pace
├───movies
└───tvshows
Download all the One Pace episodes you wish to add and place them in their respective season folders.
- Keep the default One Pace episode naming (do not make any changes!)
- You can delete any season folders you don't want to include, and add them later if you wish.
└───media
├───anime
│ ├───One Pace
│ │ ├───Season 01
│ │ │ ├───[One Pace][1] Romance Dawn 01 [1080p][FB72C13F].mkv
│ │ │ └───One Pace - S01E01 - Romance Dawn, the Dawn of an Adventure.nfo
│ │ └───Season 02
│ │ ├───[One Pace][8-11] Orange Town 01 [1080p][2388DB63].mkv
│ │ └───One Pace - S02E01 - Enter Nami.nfo
├───movies
└───tvshows
One Pace does not currently cover the entire series. Thus, you will need to add missing episodes to fill out your collection.
Current missing episodes:
- Season 16: 181-195, 207
- Season 35: 981-1085
See the One Pace Episode Spreadsheet for up-to-date information on what episodes are available. Check column Q to see which original One Piece episodes need to be added to your library.
Place the missing episodes in their respective season folders.
└───media
├───anime
│ ├───One Pace
│ │ └───Season 07
│ │ ├───One Piece - 46 - Chase Straw Hat! Little Buggy's Big Adventure!.mkv
│ │ ├───One Pace - S07E46 - Chase Straw Hat! Little Buggy's Big Adventure!.nfo
│ │ ├───One Piece - 47 - The Wait is Over! The Return of Captain Buggy!.mkv
│ │ └───One Pace - S07E47 - The Wait is Over! The Return of Captain Buggy!.nfo
├───movies
└───tvshows
This approach uses an executable to rename all your files.
- Only works on Windows machines.
- Can modify exceptions.json to suit your needs. 1
- Copy rename.exe, seasons.json and exceptions.json to your One Pace directory. (from /dist/ folder)
└───media
└───anime
└───One Pace
├───Season 01
└───Season 02
└───rename.exe
└───seasons.json
└───exceptions.json
-
Open executable to run.
-
Your files will be renamed automagically!
-
Check output to see what files were renamed.
This approach uses python to rename all your files, which is a bit more complex but allows for more flexibility.
- Works on Windows/Linux/Mac
- Allows dry-running to check renaming
- Can modify exceptions.json to suit your needs. 1
- Copy the rename.py, seasons.json and exceptions.json file to your One Pace directory. (from /dist/ folder)
└───media
└───anime
└───One Pace
├───Season 01
└───Season 02
└───rename.py
└───seasons.json
└───exceptions.json
-
Open a shell/powershell terminal.
-
Change directory to where your One Pace script folder is:
cd /media/anime/One Pace/
-
Run the script in dry-run mode to see what change would occur (you can try with Docker or Python): a) Python:
python3 rename.py --dry-run
orpython rename.py --dry-run
b) Docker:docker run --rm -v "$PWD":/data -w="/data" python:3 python rename.py --dry-run
-
Once you are okay with the changes you see, remove the
--dry-run
flag from the command and run it again. Your files will be renamed to the corresponding One Piece episode, i.e.: "[One Pace][1] Romance Dawn 01 [1080p][FB72C13F].mkv" -> "One Pace - S01E01 - Romance Dawn, the Dawn of an Adventure.mkv"
You need to install XBMCnfoTVImporter for plex in order to scan in One Pace. Follow the instructions and install.
You need to swap to the XBMCnfoTVImporter agent in Plex to scan your new One Pace folder.
- Open Plex
- Navigate to your anime library
- Click 'Manage Library' -> 'Edit...'
- Click on the 'Advanced' tab
- Click the 'Agent' dropdown box. (and note what you have set to currently so that you can change it back)
- Select the 'XBMCnfoTVImporter' option. (If this does not exist XBMCnfoTVImporter may not be installed correctly)
- Click "Save Changes"
- Click "Scan Library Files"
- One Pace should get scanned into your library
- Once it is complete, change your agent back to what you had originally!
Notes:
- This method will scan in One Pace without interfering with your existing shows.
- Don't press "Refresh all metadata" in plex as this may mess up your other shows.
- Thanks to @tomatoshadow for creating all the nfo files and original instructions for this plex setup
- Inspired by this alternative plex setup one-pace-to-plex by @Matroxt
- Cheers to /u/piratezekk for the awesome posters!
- Shoutout to the One Pace Team - thanks for putting together this amazing project!
Footnotes
-
Inside 'exceptions.json' you can map any file name to a specific episode number. It looks in your specified season directory to see if any of the .mkv files have matching text in their filenames, then renames it as the corresponding episode number if found. If you have some strange episode naming, you may need to modify this json and add your episode filenames. ↩ ↩2