I recently installed the plex server on my Ubuntu server. Everything works fine when I download a movie with Radarr and it happily sends it on to the Plex movie library I have set up (/home/parker/Media/Movies). It gets metadata and the movie poster, no problems there.
I have a bunch of movies on a USB hard drive that I want to add to my library, so I copied a few of them as a test directly into the media folder. They are all in folders with this naming convention: “Movie Title (Year)”.
The movies I copied in from my USB do not get metadata and they don’t show the movie covers. They play fine.
I tried going into Settings > Library and clicking scan library to refresh metadata, but all it does is quickly pop up a spinner next to the Movie library and then it goes away with no change.
Does anyone know how I can fix this? I have a feeling that it may be a permissions issue but the Media folder has full permissions, and I have added the plex user to the group “parker” which is what my user account is in.
ls -ltr results for the Media folder and the Movies folder inside:
drwxrwxrwx 4 parker parker 4096 Dec 30 12:14 Media
drwxrwxrwx 48 parker parker 4096 Jan 3 11:46 Movies
ls -ltr example of one of the movies in the Movies folder:
drwxrwxrwx 48 parker parker 4096 Jan 3 11:46 Movies
Shouldn’t the plex user have access then? Do I need to change something?
Here’s what I got when I ran ls -la inside the Media directory
drwxrwxrwx 4 parker parker 4096 Dec 30 12:14 .
drwxr-xr-x 28 parker parker 4096 Jan 6 13:31 …
drwxrwxrwx 48 parker parker 4096 Jan 3 11:46 Movies
drwxrwxrwx 2 parker parker 4096 Dec 30 12:14 ‘TV Shows’
The folders are named by a program, I can’t remember which, and all follow the format “Movie Title (Year)”
The video file itself doesn’t have a naming convention and there is a lot of junk. For example it could be something like “21 Jump Street (2012) DVDRip xvidripz.torrentz.ru.avi” Would that cause an issue?
Junky file names will kill you. Why? Plex allows you to put all your movies (just the files themselves) into one directory and they will all match. This means the file name is the dominant portion. Junky names introduces confusion.
AVI and MP4 files carry embedded titles. If they have junky embedded data, it is worse.
Recommendation:
Make certain to purge embedded metadata from the files themselves
Use a renaming tool (FileBot is very common) to make them perfect.