Plex not adding a movie to library


#1

I have set up a Movie library on my PMS which has successfully imported 99% of my movies using the 'Plex Movie Scanner' and the 'Plex Movie' Agent.
With a little post editing, it's looking great, but having gone through the entire list, I noticed the 3 films were missing.
I have tried remaining them as per The Movie Database and various other things, but cannot get them to appear in the library.
Eventually, I created a new folder on my hard drive for the files and set up a new library on Plex pointed at the folder containing the problem files. This time, I used 'The Movie Database' as the agent and voila, it imported the files and found the metadata without any problems.
What is happening here and how can I fix it. I do not want to have 2 movie libraries on Plex, one with 1000 films and the other with 3. I want all the films in the same library.
1. Is it possible to rescan the library using The Movie Database without losing all of the metadata already pulled down from the 'Plex Move' Agent? So that it will pick up these 3 films?
2. Now that i have these movies in a library on Plex, can I merge the 2 libraries somehow?
3. Can I use different agents for different folders within the same library?
3. What else can I do to get all the movies in one library without starting from scratch using The Movie Database?

I have been looking online for an hour or so and cannot find anything that helps. It's really annoying. Please help if you know of a solution or have experience this yourself.

I am running Plex on Mac OS Sierra and the Movies include: Nim's Island and Lucky Number Slevin.

Thanks


#2

In short, you’re doing it wrong.

Setting Plex Movie as the default agent is an exercise in frustration. The Movie Database is far more accurate, but you should give Plex every opportunity to get it right.

In your Server Agents listings for Movies you should have under the Plex Movie tab, Plex Movie in the top slot. In TMDB tab TMDB should be in the top slot. Everywhere Local Media Assets should be at the bottom of all lists - in case you ever want to use an MP4/M4V file.

Then, you should read and follow these directions - as they are required (and not just suggestions):
https://support.plex.tv/hc/en-us/categories/200028098-Media-Preparation
https://support.plex.tv/hc/en-us/articles/200381023-Naming-Movie-files <— of particular interest
https://support.plex.tv/hc/en-us/articles/200220687-Naming-Series-Season-Based-TV-Shows

Revealing:

A Movie Library/
…Nim’s Island (2008).xxx
…Lucky Number Slevin (2006).xxx

would be the proper file names for the movies in question.

FileBot (link in my signature) can handle that for you automatically or manually in seconds.

What FileBot can’t do is remove possible embedded metadata in the Title Field of MP4/M4V files as I eluded to previously. Plex will read this info and prefer it over a perfect file name/structure (you probably don’t have any of those yet), but you can combat that situation by moving Local Media Assets to the bottom of every agent list you can find. All tabs in TV Show and Movies here:
https://support.plex.tv/hc/en-us/articles/200241558-Agents
Just drag LMA to the bottom of the list and drop it. If you do have embedded metadata this will cure the issue, if you don’t it won’t matter. LMA will do what it has to from the bottom.

Renaming/restructuring is best performed OUTSIDE the library and you’ll need to write a new bundle for the show so The Plex Dance® was invented:

The Plex Dance®:

  1. remove show/movie from library
  2. update library
  3. empty trash
  4. clean bundles
    https://support.plex.tv/hc/en-us/articles/200392106-Library-Actions <— update library, empty trash, clean bundles
  5. bring names and structures into compliance/ or the ultimate bundle reboot operation
  6. replace corrected show/movie into library
  7. update library

All Steps. In Order. No Shortcuts.


Odd problem detecting TV Shows (does not appear to be the usual naming problem)
#3
  1. yes

  2. no

  3. you can use different agents for every movie, if you want. (Although it is a PITA to achieve)

#1.
Settings - Server - Agents - Movies - Plex Movie
Drag the line ‘Local Media Assets’ to the bottom.
#2.
Lookup your movie at the IMDb to find its correct title and alternative titles. Sometimes a title is changed.
#3.
perform the Plex Dance with those movies
#4.
If 3 didn’t help, change the default agent for your movie library. Add those 3 movies, then change it back.
This won’t affect the movies which are already in the library (provided these are all properly ‘matched’ and you didn’t put in all meta data by hand on some of them).


#4

Ok, for JuiceWSA,

I followed your instructions to change the Server Agents listings order, which i now have as you suggested (previously LMA was at the top)
I looked over the media prep articles, but my files are already named correctly. This is why they are added without any issue in the second library I set up using The Movie Database.
I then did the Plex Dance, making a couple of assumptions:

  1. Updating the library means ‘Scan Library Files’ and not ‘Refresh all Metadata’
  2. Emptying trash - I performed this first on the individual library and then on the main ‘Libraries’ heading.
  3. Clean bundles is only found under the main ‘Libraries’ heading. So I did it there

I then re-added the files and hit Scan library again. This time, I actually went to the spot where I expected the file to be placed in the library and could see that it actually added the movie for a few seconds, along with the correct name and year (no image) before it disappeared.

So, unfortunately the solution didn’t work, unless you think I went wrong somewhere…

As I said, I have no problem adding the files when i set up an entirely new library.


#5

Log files:
https://support.plex.tv/hc/en-us/articles/200250417-Plex-Media-Server-Log-Files
Drag zip file to a message window and drop it.


#6

To OttoKerner,

Just to clarify.

I already have 900 films in the library, I am just missing 3. For the existing library I have already had to go through some editing - fixing movie titles, changing posters, fixing matches, etc

So your suggestion is go to the 3 dots next to the Movies library - Edit - Advanced and change the Agent to The Movie Database.

Then just add the 3 movies to the folder on my hard drive and hit ‘Scan Library Files’ again?

This will just pick up the additional 3 movies and not touch the rest of my files?

Then change the Agent back to the original one?

If this will work, then great. But the next time I scan library for files when i add new media, won’t this just delete the 3 movies that were found using the Movie Database agent?

Thanks


#7

to JuiceWSA,

There are around 50 files in the log folder, do you want them all?


#8

Log files:
https://support.plex.tv/hc/en-us/articles/200250417-Plex-Media-Server-Log-Files
Drag zip file to a message window and drop it.

Graphic Novella Version:

The zip file is in your downloads folder - drag it to a message window and drop it.


#9

@gurchinaus said:
So your suggestion is go to the 3 dots next to the Movies library - Edit - Advanced and change the Agent to The Movie Database.
Then just add the 3 movies to the folder on my hard drive and hit ‘Scan Library Files’ again?
This will just pick up the additional 3 movies and not touch the rest of my files?
Then change the Agent back to the original one?

Precisely.

If this will work, then great. But the next time I scan library for files when i add new media, won’t this just delete the 3 movies that were found using the Movie Database agent?

No, it won’t. Because by then, these 3 movies are “tied” to the agent that was used to ‘match’ them.
They won’t change a bit.

You can verify this, for instance by going to the preplay page of the movie, clicking on the ellipsis ( . . . ) then look if either ‘Fix Match’ is an available menu item or if it is just ‘Match’.

‘Fix Match’ means the movie is matched. All good.

‘Match’ means the movie is not matched and Plex may try to match it upon next library rescan. (thus deleting manually entered metadata from this movie).


#10

Thanks to both you guys for the help. Apologies, I just had to step away from the computer.

OttoKerner’s solution worked. I simply changed the Agent at the Library level. Re-added the movies to the hard drive folder then Updated the library and the movies appeared!

Thanks again for your quick responses.


#11

Hey, I posted this in the discussions but got no answers.You guys might be able to help?

Having spent the last few days uploading all of my content to the PMS. I am now seeing the red Unavailable next to most of my content.
I have the PMS on my mac mini with my media stored on a seagate NAS drive. I have had no issues with Plex being able to read the drive while I have been uploading the content to the PMS, but now that I am done and I want to watch my first movie on my Plex App on my TV, I am getting the following message - “There was a problem playing this item - Please check the file exists and the necessary drive is mounted”
When I look at the file in the Plex app and click on the ‘Unavailable’ button it shows me the file path, which, upon checking, is correct.
I am able to play the media on the mac mini accessing it via finder without issue.
I have no idea why the content that the PMS just scanned today from the NAS drive can no longer be found.
I have tried accessing the content using the Plex app on my TV, my iPhone and also on the mac mini itself, but no dice
Any ideas please? This is totally frustrating


#12

Not to worry guys, i figured it out. Thanks


#13

Was the NAS switched off or got a different local IP?


#14

No, it ended up being that I had changed the name of the original file slightly. I had renamed Episode 1 to Ep 1 and this broke the access.
Obvious once I saw it, but didnt even occur to me that such a small change would break the connection.


#15

@gurchinaus said:
No, it ended up being that I had changed the name of the original file slightly. I had renamed Episode 1 to Ep 1 and this broke the access.
Obvious once I saw it, but didnt even occur to me that such a small change would break the connection.

Yes, because the entry in the Plex database points to the ecxact file name.
But let me warn you also in advance, that you should better take a look at how series are organised in Plex.
If you have a file with episode in its name, then it is just a matter of time until your series library breaks down.
https://support.plex.tv/hc/en-us/articles/200220687-Naming-Series-Season-Based-TV-Shows


#16

Yes, the term Episode is only being used when it is the actual name of the episode. I think I am still following correct naming conventions. i.e. “Misfits - s01e06 - Episode 6.avi” . This shouldnt cause any problems as far as I am aware? Correct me if i’m wrong.


#17

Also, I have another issue which i have posted but hasnt had a response. Perhaps you can help me with it.

I have over 400 Audiobooks which I have painstakingly matched, edited the data for using the Audiobook agent from the unsupported app store. https://github.com/macr0dev/Audiobooks.bundle
Having gone through all the individual book metadate, I added some more content and updated my library. I then went through and added bios, etc for each of the artists.
Thinking that I was finally done, when i checked the individual books again, I found that updating my library had wiped most of my edited metadata and rematched the books. I have lost hours of work.
3 questions:

  1. Is there a way of reverting back to my edited metadata , from a backup perhaps, bearing in mind that I do not want to lose the work I did on the authors after editing the individual books.
  2. Is there a way to stop this happening again in the future - locking down metadata that I have edited and only scanning and matching new content added to the library in future
  3. How do I back up my metadata so that if this happens again I have all the edits to hand to re-upload, rather than having to google each review, genre, cover art, etc again seperately

#18

@gurchinaus said:
Yes, the term Episode is only being used when it is the actual name of the episode. I think I am still following correct naming conventions. i.e. “Misfits - s01e06 - Episode 6.avi” . This shouldnt cause any problems as far as I am aware? Correct me if i’m wrong.

Yes, that is actually fine.


#19

@gurchinaus said:
Also, I have another issue which i have posted but hasnt had a response. Perhaps you can help me with it.
I have over 400 Audiobooks

I saw your other thread, but I have no big experience with audiobooks, particularly when a 3rd part agent is involved. First thing you should probably do is to post in the release thread of the agent. Maybe the issue is known already and the author is working on a fix.


#20

Let’s pretend that I am not using this specific meta agent. My questions still stand:

  1. Is there a way of reverting back to my edited metadata , from a backup perhaps,
  2. Is there a way to lock down metadata fields so that they never get overwritten when updating libraries
  3. How do I back up my metadata or even export my metadata to a spreadsheet