Is there a simple overview of which elements in the .NFO file maps to which fields in the Plex database? In particular the following Plex fields: Title, Sort Title, Originally Available, Summary, Directors, Country, Genres, Written By, and Collections (for âOther Videosâ library type). If so, it might be a good idea to include a link to the list in the 1st message of the thread.
Also, does the agent support the new Collections view (ie. does it create the proper collection metadata_item to enable the collection to appear in the Collection View)?
Is it possible to set up that the Plex database fields imported from the .NFO file (or just a setting to set the âlockedFields=x|yâ part of the user_fields database field) should be âLockedâ for further modifications when importing?
Finally, where (in the .NFO file) should I place the URLs for Poster/Background images, and how should they be formatted? Which one will be set as the âactiveâ one - the first or the last one listed? I am aware that I need to provide them as http URLs - thatâs not a problem, as I have an in-house web server I can use to âgateâ these into Plex.
@HeartWare42 said:
Is there a simple overview of which elements in the .NFO file maps to which fields in the Plex database? In particular the following Plex fields: Title, Sort Title, Originally Available, Summary, Directors, Country, Genres, Written By, and Collections (for âOther Videosâ library type). If so, it might be a good idea to include a link to the list in the 1st message of the thread.
No list exists as far as I know, you would best look at the code of the plugin. The ones from your list that I know are:
Title = title
Sort Title = sorttitle
Originally Available = first available of releasedate, premiered, dateadded, year
Summary = plot or outline based on preference set
Directors = director
Country = country
Genres = genre
Written By = credits
Collections = set/name or set (can also by created from tags if set in preferences) the text strings have the words series or collection removed to improve display.
Also, does the agent support the new Collections view (ie. does it create the proper collection metadata_item to enable the collection to appear in the Collection View)?
Not sure what you would count as support. Both old and new formats in nfo for the definition of collections are use but only the collection name can be imported at the moment. See a couple of posts back for discussion on supporting the collection summary.
Is it possible to set up that the Plex database fields imported from the .NFO file (or just a setting to set the âlockedFields=x|yâ part of the user_fields database field) should be âLockedâ for further modifications when importing?
The plugins do not support this and without digging through the plex code I donât know if this is easily done.
Finally, where (in the .NFO file) should I place the URLs for Poster/Background images, and how should they be formatted? Which one will be set as the âactiveâ one - the first or the last one listed? I am aware that I need to provide them as http URLs - thatâs not a problem, as I have an in-house web server I can use to âgateâ these into Plex.
This is only required for actor images all other images are assumed to be local and named following either the kodi or plex naming conventions.
@HeartWare42 said:
Also, does the agent support the new Collections view (ie. does it create the proper collection metadata_item to enable the collection to appear in the Collection View)?
Not sure what you would count as support. Both old and new formats in nfo for the definition of collections are use but only the collection name can be imported at the moment. See a couple of posts back for discussion on supporting the collection summary.
I mean that with the later editions of PMS, you can (and should) create an entry in metadata_item for each collection created, so that it can be viewed in the Collection View (where you list all the collections as individual entries per collection). If the plug-in only updates/creates records in the the tags+taggings tables and the tags_collection field in metadata_item, then the collection will not show up in the collection view.
Finally, where (in the .NFO file) should I place the URLs for Poster/Background images, and how should they be formatted? Which one will be set as the âactiveâ one - the first or the last one listed? I am aware that I need to provide them as http URLs - thatâs not a problem, as I have an in-house web server I can use to âgateâ these into Plex.
This is only required for actor images all other images are assumed to be local and named following either the kodi or plex naming conventions.
Collections (new style) can also have poster (and background) images, but it sounds like the agent does not handle the new collection system, so it probably wonât handle these eitherâŠ
@HeartWare42
The question is, if plex allows agents to change those things or if it is only accessible from the webgui. If you know the plex side objects and attributes to make this possible, pull requests on github are always welcome.
The agents are open source and any help is appreciated.
At the moment and in the foreseeable future I wonât have time to do any further development. Time flows and things change. Families are founded, jobs get complicated or whatever happens and priorities get changed.
Also the agents and this thread have long since been abandoned by itâs original developer, other than that he is still having them in his github repository. So there is no way to edit or modify the first post.
I started wikis for the agents github repos, which in theory could host all the info you are requesting, alas I canât add it at the moment. So pull requests are welcome for those things, too.
@SlrG said:
The question is, if plex allows agents to change those things or if it is only accessible from the webgui. If you know the plex side objects and attributes to make this possible, pull requests on github are always welcome.
Unfortunately, I do not. I know the database layout (thatâs how I currently implement this), but have no idea of the API from âthe other sideâ.
I have made a feature request that Plex should release a Web API (like AddMovieToCollection.php/py?MovieID=123&CollectionID=456) and then it would add the movie to the specified collection, including making all updates necessary in the database.
I was about to recommend the Nvidia Shield to a friend of mine as a Plex Server/Client but while doing some research I noticed that it is not possible to install plugins manually and she will definitely need the XBMCnfoMoviesImporter. Is there a way to get it into the shield?
I cannot get this XBMCnfoTVImporter (V 1.1-93) plugin/agent to work for me. I would like to use this to organize some fitness videos for my wife as recommended when searching on Google. I have the latest version of Plex. I installed the plugin using the latest WebTools/UAS. I am not trying to do anything complicated. At present, I would be thrilled if I could just get it to pull in a title for the show and for each episode. I tried creating a basic nfo file for one of the workout videos and the two episodes on it to no avail. Then, I tried using some supplemental Kodi tools to generate the nfo files with no success. I donât think this should be so difficult. Is there a detailed tutorial somewhere of any settings that need to be configured in the XBMCnfoTVImporter agent and any guidance on what is required for the nfo file to work properly with Plex and the nfo agent?
@richwaters
Does the agent show in plexâ settings agents? If not, it is not installed correctly. IMHO that is the biggest hurdle in getting the agent to run. The installation process is described on the github page here.
Afterwards you need to enable it in the plexâ settings agents tv shows to be selectable when creating the library. That is not enough however.
You need to select it in the advanced tab, when creating the library to be really used, or plex will still use its default agent.
Changing anything the agents settings itself should not be necessary, but you still can, to finetune things.
Make sure your files are named correctly and have the correct folder structure. (see here)
If it still doesnât work, please enable the debug logging in the agents settings and recreate the library. Afterwards make sure your logfiles contain infos regarding the scanning process, zip them up and upload them to some sharing service. PM me a link and I will take a look, what is going wrong.
Thank you very much for the response. After reviewing the information you provided, it still wasnât working so I started to get the debug info ready, which involved recreating the library. Well, after recreating the library, it began working. Apparently, if a library was associated with another agent previously, it does not respond well to switching the agent to another one. I tried this with other agent types, as well, and had similar issues.
I do have another question, though. I see that the XBMCnfoTVImporter is available in the list of options for the server agent TheTVDB under Server > Settings > Agents > Shows > The TVDB. If the XBMCnfo agent could work with TheTVDB, that would be great. However, no matter what I try after enabling the XBMCnfo importer under TheTVDB settings, it doesnât seem to work. I tried changing the order to put XBMCnfo first, recreating the library, etc. No luck. Is there any way to have the XBMCnfo agent to work in conjunction with TheTVDB agent? For now, I had to create a second library for a couple of commercial TV compilations that do not work with online databases. This is in addition to the Fitness Videos library that I was previously trying to get working.
@richwaters
canât really answer that question, as Iâm using the agents solely standalone, without any other agent. All the scraping is handled by Ember Media Manager with Kodi settings as Kodi is still my primary media center.
Hi, I am having an issue with XBMCnfoTVImporter. So Iâm using this to put together a music video library, and had setup a few artists with âtvshowâ nfo files no problem, just to get the name, a âplotâ and set genres for the artist. Each artist is a TV series for the logic of the TV Show library.
So, I set a couple artists up, no problem with XBMCnfoTVImporter. Added more videos to my library and I was not able to get any metadata from the NFO files to post in Plex. Iâve now re-created the library a few times and the local media assets I have are pulling in, but no nfo metadata is. Even the artists I had previously working are not showing up correctly. I have un-installed and re-installed XBMCnfoTVImporter via the UAS in Webtools, re-created the Music Video library after that and still get nothing.
I re-created the library now debug logging enabled in XBMCnfoTVImporter - https://i.imgur.com/T5TyP1W.png - but I donât know what to do from here.
Here - https://i.imgur.com/Iqbo9Z0.png - is a sample nfo file Iâm using and here - https://i.imgur.com/L8ykGdG.jpg - is what I see in Plex. When I had this working, I could see the âplotâ in Plex and the Genres as well. Not sure what I am doing wrong now, but any help would be appreciated. Thanks!!
@recursiver
Debug logs will be created in plexâ logs folder. Zip it up and upload it to some cloud storage and send me link via pm, so I can take a look at the logs.
Long ago I had my libraries mixed, including movies with .nfo and those without .nfo; but due to an issue I separated out the .nfo required movies and TV into their own library with either XBMCnfoMoviesImporter or XBMCnfoTVImporter as the agent.
I wanted to ask if it is now okay â if anyone else does this â to have XBMCnfoMoviesImporter selected under the âPlex Movieâ agent and XBMCnfoTVImporter selected under the âTheTVDBâ agent. So i may mix back in movies and TV shows that require .nfo
And in which order you advise? XBMCnfoMoviesImporter under Plex movie? and XBMCnfoTVImporter under TheTVDB?
@Afullmark said:
Long ago I had my libraries mixed, including movies with .nfo and those without .nfo; but due to an issue I separated out the .nfo required movies and TV into their own library with either XBMCnfoMoviesImporter or XBMCnfoTVImporter as the agent.
I wanted to ask if it is now okay â if anyone else does this â to have XBMCnfoMoviesImporter selected under the âPlex Movieâ agent and XBMCnfoTVImporter selected under the âTheTVDBâ agent. So i may mix back in movies and TV shows that require .nfo
And in which order you advise? XBMCnfoMoviesImporter under Plex movie? and XBMCnfoTVImporter under TheTVDB?
Did you ever find a good answer to this? I have the same question. Thanks!
@Afullmark said:
Long ago I had my libraries mixed, including movies with .nfo and those without .nfo; but due to an issue I separated out the .nfo required movies and TV into their own library with either XBMCnfoMoviesImporter or XBMCnfoTVImporter as the agent.
I wanted to ask if it is now okay â if anyone else does this â to have XBMCnfoMoviesImporter selected under the âPlex Movieâ agent and XBMCnfoTVImporter selected under the âTheTVDBâ agent. So i may mix back in movies and TV shows that require .nfo
And in which order you advise? XBMCnfoMoviesImporter under Plex movie? and XBMCnfoTVImporter under TheTVDB?
Did you ever find a good answer to this? I have the same question. Thanks!
set the path to movie library or global actor folder:http://hostname/actors,
or set the nfo :<thumb>http://hostname/actors/actorname.jpg</thumb>.
Image link is no problem,butThe cast image cannot be displayed,and the logs:
failed setting global actor photo: http://hostname/actors/actorname.jpg
failed setting linked actor photo!