This guide will require a few things.
- Plex - Just download plex and install it with your preferred package manager.
- Basic command line understanding; or not? - I will try to make this as much copy-paste as possible, but your config will vary. This will, of course, be a guide for Linux, but all of this should also be possible to do on Windows.
- Anime. Which you probably already have if you are looking at this :D
I first tried this setup on raspberry pi 3 but it failed to transcode the subtitles and send them over to my Chromecast, so I had to move over to something beefier, which is my desktop PC. If you just want to do streaming without the need for transcoding, however, the Pi will work just fine ^_^
If you are like me you keep most of your anime on a larger external HDD, we can also make that talk to plex easily under Linux.
If your HDD is formatted in NTFS, you will also need to install an additional
ntfs-3g package in order for this to work.
/etc/fstab and add
/dev/disk/by-uuid/<YOUR EXT HDD UUID> /home/user/WD ntfs-3g nosuid,nodev,nofail,x-gvfs-show 0 0 at the end
After you can check if the configuration is correct with
sudo mount -a. If there is no our drive is now mounted on the desired mount point and, since it’s in the fstab file, it will mount on every boot.
We need to scan the anime we have, the normal TV/Movie scanner and agent won’t do it for us since it doesn’t have all the anime info that we need. In case you don’t know what a scanner is, you can find more info here, but TLDR, they just search your directory and files in an attempt to match them in their database so they can serve you the relevant info, like the year it came out, short description, proper images and the actors.
On Ubuntu and Solus, the two distros I tested on, plex was located at the same location.
/var/lib/plexmediaserver, but your location will vary, please check where plex is installed and modify the command below accordingly. If you don’t know how to find it, check the locations here. Copy paste the commands below if you are on a Ubuntu based ditro.
Oh… and make sure you have git installed :)
sudo apt install git
service plexmediaserver stop
If you are not sure how to name your folders, search for your show on anidb - this is where the agent is pulling data from. You will maybe have to do a manual match on a few shows, even then it might fail to fetch a poster, which can be quite annoying, so for these shows just download the poster from somewhere online and attach it to the show from the dropdown menu under that show.
For series, if an anime has more than 1 season, create a directory for each season under the main folder, like so:
Shingeki no Kyojin
For movies, if a series has multiple movies, split them up into their own folder.
In the reddit post the OP gives Evangelion to describe the optimal movie folder structure:
Example: Neon Genesis Evangelion. It has a show, a movie that’s the conclusion of the show, and 3 separate movies that retell the story in a different way.
It’s possible some movies with multiple parts (like a trilogy) can only be matched correctly when putting under one entry. This happened to me with the Madoka movies I think. So you can do this or you can use “fix incorrect match” with another scanner. This almost never happens though.
In the end, your structure will involve experimentation to see what works for you, but the end result is worth the time investment :)
Create a new TV Shows library in Plex and select the folder where all your anime is kept.
IMPORTANT: Before adding the library, go into Advanced and change the Scanner to Absolute Series Scanner and the Agent to HamaTV and you can keep the rest as default. If you want, you can also change the languages all the way at the bottom, but I like to keep the defaults.
Enjoy watching anime (/^▽^)/