NFO agent

My log is attached. To be safe, I just did a complete fresh install of Plex, etc. Same results.

Your nfo is borked…



Sequence were originally created for the THX WOW! laserdisc, but also appear on the “THX Ultimate Demo Disc” that was given out when you brought a THX package that cost at best £10.000 ~15-20 years ago.



mismatched tags.

You rock! I can’t believe I missed that.

Hi Harley,



thanks for all your great work, I was trying out the NFO bundle version 1.1 (latest one for movies I believe) and it seems to be working now but ran into an issue–I suspect PMS related but not sure. I have a mac mini as the main server but I tested it out on my Imac first and it worked fine (it was really cool watching it update in real time as I saved new nfo’s!). So then I grabbed all the files and nfo’s together and copied over to my external drive on the mini. As it copied over, I then set up a new section using the NFO bundle on the mini (perhaps not a good idea!). This seems to have stumped it as no matter what (force refresh, rename the files, move the files, re-add the section) it would not update with nfo data. I’m at work now so I’ll have to post a log later, but there were a lot of errors related to querying /search?, could not parse file, xml 0bytes etc. What is perplexing is that if I quit PMS and renamed the L/AS/Plex(PMS) folders so that I could start fresh and readded the section from scratch with all files completely copied over it did the same thing (same errors).



For some reason when I restored the previous L/AS folders if I renamed a video file in place, waited for PMS to detect the change and scan the WHOLE directory first, then rename the nfo to match, and again wait for the whole dir to scan it took. I have the even hotter patch as well the whole time.

if you can post your log, that would be most helpful



Hey Harley,
it seems like you have all hands full of work with this.
Anyway, anything new about the actor thumbs problem.
Just asking, don't want to push you. Just interested.
I am really amazed how active you are on all of those forums here!

Daniel


OK I attached three sets of logs for PMS and scanner:

log_1: simple refresh of the section as is (not forced). All files are home video named in this format, except two: date_name, eg 2010_myvacation.mkv and 2010_myvacation.nfo and reside on an external firewire drive. There are two files there that do not have the date as part of the name--these are two that I tried renaming and these picked up nfo data after renaming the file, waiting for scan, then renaming the nfo to match. search "cowles" as one of these.

log_2: after renaming the video file and waiting for PMS to detect and complete scan.
log_3: after renaming nfo file and waiting for scan.

For log 3 I changed "2009_roday-oh" to "roday-oh." Note though that it seems any change will do--I thought maybe movie scanner doesn't like dates in the filename but on my Imac first go it worked fine, and they are all named with the year in the filename. I no longer have the initial scan log from that computer to show it.

EDIT: well I tried different random renamings--it seems the only thing that works IS to remove the date from the filename..don't know why it worked on my other computer.

some videos don’t get good matches when title is after year. try putting the year second. I bet you have fantastic results on both systems



I'll get to that this weekend.


Great, Thanks alot.

Take your time.

Great work!

I’ve put the update to the Movie Info Provider on the front page.


Hi Harley
I tested you new Agent.
But it doesn't do anything anymore. I get no information out of the NFO Files anymore.
That's what my Console says:


2010-10-17 19:40:46,363 (2d1500) : DEBUG (core) - Starting framework core
2010-10-17 19:40:46,363 (2d1500) : DEBUG (core) - Using the elevated security policy
2010-10-17 19:40:46,367 (2d1500) : DEBUG (networking) - Setting the default network timeout to 20.0
2010-10-17 19:40:46,368 (2d1500) : DEBUG (networking) - Loaded HTTP cookies
2010-10-17 19:40:46,431 (2d1500) : INFO (localization) - Setting the default locale to en-us
2010-10-17 19:40:46,431 (2d1500) : DEBUG (localization) - Unable to find en strings from /Users/Daniel/Library/Application Support/Plex Media Server/Plug-ins/XBMC .nfo Importer.bundle/Contents/Strings/en.json
2010-10-17 19:40:46,431 (2d1500) : DEBUG (localization) - Unable to find en-us strings from /Users/Daniel/Library/Application Support/Plex Media Server/Plug-ins/XBMC .nfo Importer.bundle/Contents/Strings/en-us.json
2010-10-17 19:40:46,432 (-4fa6b000) : DEBUG (messaging) - http://127.0.0.1:32400/system/messaging/clear_events/com.plexapp.agents.xbmcnfo
2010-10-17 19:40:46,435 (2d1500) : DEBUG (prefskit) - Loaded the user preferences
2010-10-17 19:40:46,436 (2d1500) : DEBUG (prefskit) - Saved the user preferences
2010-10-17 19:40:46,440 (-4fa6b000) : DEBUG (core) - Requesting http://127.0.0.1:32400/system/messaging/clear_events/com.plexapp.agents.xbmcnfo
2010-10-17 19:40:46,504 (2d1500) : DEBUG (accessor) - Creating a new model access point for provider com.plexapp.agents.xbmcnfo in namespace 'metadata'
2010-10-17 19:40:46,504 (2d1500) : DEBUG (classes) - Generating class for 'Album' model in namespace 'metadata' with access point 'com.plexapp.agents.xbmcnfo'
2010-10-17 19:40:46,504 (2d1500) : DEBUG (classes) - Generating class for 'Movie' model in namespace 'metadata' with access point 'com.plexapp.agents.xbmcnfo'
2010-10-17 19:40:46,505 (2d1500) : DEBUG (classes) - Generating class for 'TV_Show' model in namespace 'metadata' with access point 'com.plexapp.agents.xbmcnfo'
2010-10-17 19:40:46,505 (2d1500) : DEBUG (classes) - Generating class for 'Person' model in namespace 'metadata' with access point 'com.plexapp.agents.xbmcnfo'
2010-10-17 19:40:46,506 (2d1500) : DEBUG (classes) - Generating class for 'Artist' model in namespace 'metadata' with access point 'com.plexapp.agents.xbmcnfo'
2010-10-17 19:40:46,507 (2d1500) : DEBUG (core) - Finished starting framework core
2010-10-17 19:40:46,508 (2d1500) : DEBUG (core) - Loading plug-in code
2010-10-17 19:40:46,511 (2d1500) : CRITICAL (core) - Exception while loading code (most recent call last):
File "/Users/Daniel/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/core.py", line 122, in load_code
self.init_code = self.loader.load(self.init_path, elevated)
File "/Users/Daniel/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code.py", line 18, in load
code = self.compile(source, filename, elevated)
File "/Users/Daniel/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code.py", line 23, in compile
return RestrictedPython.compile_restricted(source, name, 'exec', elevated=elevated)
File "/Users/Daniel/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/RestrictedPython/RCompile.py", line 115, in compile_restricted
gen.compile()
File "/Users/Daniel/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/RestrictedPython/RCompile.py", line 68, in compile
tree = self._get_tree()
File "/Users/Daniel/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/RestrictedPython/RCompile.py", line 59, in _get_tree
tree = self.parse()
File "/Users/Daniel/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/RestrictedPython/RCompile.py", line 56, in parse
return niceParse(self.source, self.filename, self.mode)
File "/Users/Daniel/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/RestrictedPython/RCompile.py", line 38, in niceParse
compile(source, filename, mode)
File "/Users/Daniel/Library/Application Support/Plex Media Server/Plug-ins/XBMC .nfo Importer.bundle/Contents/Code/__init__.py", line 51
<<<<<<< HEAD
^
SyntaxError: invalid syntax

I’ve been wrestling with the TV Info Provider plug-in, with no success: I have applied the latest “even hotter” fix…Under “Info Provider Settings” I have the info plug-in dragged to the top of the list under both TheTVDB and XBMC TV .nfo Importer…in my TV SHOWS section, I have selected type: TV Shows, Primary info provider: XBMC TV .nfo Importer…I’ve quit everything/refreshed everything/SHIFT-refreshed everything: no info from an .nfo file propagates in my library.



Now, I’ve only installed the TV Info Provider plug-in: is it dependent on the Movie Agent plug-in?



I’ve copied the format for an xml nfo file from other posts: MUST there be an online database URL included in the nfo in order for other info in the nfo file to be used? (I’m trying to force proper names for DVD bonus features…I can force Season & Episode number simply by naming the actual data files–inaccurate, as these clips had no episode numbers–but can’t get any title info from nfo files to take…



I hope I’ve described what I’m doing accurately enough for suggestions. I’m still learning the vocabulary for this stuff, and I’m new to Plex with version 9, so haven’t encountered any of this under version 8…

go to finder to the go menu to utilities. in utilities go to console. in console scroll down on the left and find com.plexapp.agent.xbmcnfotv.log. zip an upload please.

Thanks for your willingness to take a look: I’m trying not to be an idiot about this, but it’s entirely possible there’s something I’m overlooking.



In order to figure out which console report was most recent, I cleared the existing ones…the TV info plug-in only seemed to run–or at least, only produced a log again–when I SHIFT-updated.



Happy to be a guinea pig if there’s tires I can slam or doors I can kick…

this log doesn’t have any scans in it. Open up console and plex media manager. in console choose com.plexapp.agent.xbmcnfotv.log. No number after Log. Go back to plex media manager. add your tv section with xbmcnfotv chosen as the primary info provider. let it scan. you shuld ntice text flying around in console atthis point. upload that log please.

for example, you should see code like this in console:



2010-10-12 20:33:17,086 (-4faed000) :  DEBUG (core) - Requesting http://127.0.0.1:32400/library/metadata/156/tree<br />
2010-10-12 20:33:17,286 (-4faed000) :  INFO (core) - 156<br />
2010-10-12 20:33:17,326 (-4faed000) :  DEBUG (core) - Requesting http://localhost:32400/library/metadata/156/tree<br />
2010-10-12 20:33:17,459 (-4faed000) :  INFO (core) - /Volumes/MEDIA/tv 2/True Blood/tvshow.nfo<br />
2010-10-12 20:33:17,544 (-4faed000) :  INFO (core) - [<Element title at 1d887b0>]<br />
2010-10-12 20:33:17,586 (-4faed000) :  INFO (core) - True Blood<br />
2010-10-12 20:33:17,587 (-4faed000) :  INFO (core) - None<br />
2010-10-12 20:33:17,700 (-4faed000) :  INFO (core) - Added Thumbnail for: Sam Trammell<br />
2010-10-12 20:33:17,702 (-4faed000) :  INFO (core) - Added Thumbnail for: William Sanderson<br />
2010-10-12 20:33:17,785 (-4faed000) :  INFO (core) - Added Thumbnail for: Anna Paquin<br />
2010-10-12 20:33:17,807 (-4faed000) :  INFO (core) - Added Thumbnail for: Stephen Moyer<br />
2010-10-12 20:33:17,869 (-4faed000) :  INFO (core) - Added Thumbnail for: Rutina Wesley<br />
2010-10-12 20:33:17,884 (-4faed000) :  INFO (core) - Added Thumbnail for: Carrie Preston<br />
2010-10-12 20:33:17,887 (-4faed000) :  INFO (core) - Added Thumbnail for: Alexander Skarsgård<br />
2010-10-12 20:33:17,889 (-4faed000) :  INFO (core) - Added Thumbnail for: Lois Smith<br />
2010-10-12 20:33:17,892 (-4faed000) :  INFO (core) - Added Thumbnail for: Nelsan Ellis<br />
2010-10-12 20:33:17,895 (-4faed000) :  INFO (core) - Added Thumbnail for: Ryan Kwanten<br />
2010-10-12 20:33:17,946 (-4faed000) :  INFO (core) - Added Thumbnail for: Mehcad Brooks <br />
2010-10-12 20:33:17,987 (-4faed000) :  INFO (core) - Added Thumbnail for: Michelle Forbes<br />
2010-10-12 20:33:17,989 (-4faed000) :  INFO (core) - Added Thumbnail for: Michael McMillian<br />
2010-10-12 20:33:17,996 (-4faed000) :  INFO (core) - Added Thumbnail for: Anna Camp<br />
2010-10-12 20:33:18,035 (-4faed000) :  INFO (core) - Added Thumbnail for: Chris Bauer<br />
2010-10-12 20:33:18,037 (-4faed000) :  INFO (core) - Added Thumbnail for: Deborah Ann Woll<br />
2010-10-12 20:33:18,218 (-4faed000) :  INFO (core) - all your tv shows are belong to us<br />
2010-10-12 20:33:18,223 (-4faed000) :  DEBUG (core) - Requesting http://localhost:32400/library/metadata/156/children<br />
2010-10-12 20:33:18,341 (-4faed000) :  INFO (core) - Finding episodes<br />
2010-10-12 20:33:18,357 (-4faed000) :  DEBUG (core) - Requesting http://localhost:32400/library/metadata/157/children<br />
2010-10-12 20:33:18,425 (-4faed000) :  DEBUG (core) - Requesting http://localhost:32400/library/metadata/157/children<br />
2010-10-12 20:33:18,484 (-4faed000) :  DEBUG (core) - Requesting http://localhost:32400/library/metadata/157/children<br />
2010-10-12 20:33:18,600 (-4faed000) :  INFO (core) - Found episode with key: /library/metadata/158<br />
2010-10-12 20:33:18,660 (-4faed000) :  DEBUG (core) - Starting a parallel task set named UpdateEpisodes with 1 tasks<br />
2010-10-12 20:33:18,661 (-4f75f000) :  INFO (core) - all your episodes are belong to us.<br />
2010-10-12 20:33:18,683 (-4f75f000) :  DEBUG (core) - Requesting http://localhost:32400/library/metadata/158/tree<br />
2010-10-12 20:33:18,767 (-4f75f000) :  INFO (core) - UPDATE: /Volumes/MEDIA/tv 2/True Blood/true.blood.0301.hdtv.xvid-notv.avi<br />
2010-10-12 20:33:18,796 (-4f75f000) :  INFO (core) - ++++++++++++++++++++++++<br />
2010-10-12 20:33:18,796 (-4f75f000) :  INFO (core) - TV Episode nfo Information<br />
2010-10-12 20:33:18,796 (-4f75f000) :  INFO (core) - ------------------------<br />
2010-10-12 20:33:18,796 (-4f75f000) :  INFO (core) - Title: True Blood<br />
2010-10-12 20:33:18,797 (-4f75f000) :  INFO (core) - Summary: Sookie turns to Eric for help finding Bill; Andy urges Jason to stay the course; Sam reconnects with his past; Tara seeks refuge from her grief.<br />
2010-10-12 20:33:18,797 (-4f75f000) :  INFO (core) - Year: None<br />
2010-10-12 20:33:18,798 (-4f75f000) :  INFO (core) - IMDB rating: None<br />
2010-10-12 20:33:18,798 (-4f75f000) :  INFO (core) - ++++++++++++++++++++++++<br />
2010-10-12 20:33:18,824 (-4faed000) :  DEBUG (threadkit) - Parallel task set UpdateEpisodes ended<br />


Excitingly, the TV Info plugin generates no log now when I (having deleted the existing version of the section) recreate my TV Shows section.



The plugin IS in the ~/Library/Application Support/PMS directory.



I’m attaching the Plex Media Scanner log, which IS updating: does it seem to not be seeing any valid nfo files? There are references to XML=0 bytes…but even if I’ve made a complete disaster of those somehow, I’m puzzled that the plugin isn’t generating its own console log…

As an experiment, I deleted my “TV Shows” section (source directory: /Movies/TV Shows)…and created a new section drawing on the exact same directory, but called “Try This Again” in PMS.



Still no joy as far as anything propagating–not even poster art, which I was getting before–but it did generate a TV plugin log this time (attached below)



Then I changed the Primary Info Provider for the section to TheTVDB (in which category I have the TV plug in dragged higher than the original native The TVDB) and now I’m getting poster art and background images again, but still nothing attributable to an NFO. That console log appears to be similar to the first I posted, with no files being parsed…

Since I was the one starting this thread by making the request for the NFO agent, I just wanted to express my gratitude to especially Harley for your great work on this! Thank you very much, your agent is working great for me! I have yet to try the TV Shows agent. Hopefully I will this weekend…



Thank you again - I really appreciate your efforts! :slight_smile: