# NFO agent

**URL:** <https://forums.plex.tv/t/nfo-agent/4688>\
**Category:** Dev/API Corner\
**Tags:** scanner-agent-dev\
**Created:** [September 1, 2010, 8:20pm UTC](https://forums.plex.tv/t/nfo-agent/4688 "2010-09-01T20:20:44Z")\
**Posts on this page:** 20\
**Page:** 7

<div class="post-metadata">

**Author:** ![hrcolb0](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/hrcolb0/32/380_2.png) [@hrcolb0](https://forums.plex.tv/u/hrcolb0)\
**Post date:** [September 21, 2010, 11:44am UTC](https://forums.plex.tv/t/nfo-agent/4688/121 "2010-09-21T11:44:26Z")

</div>

> [@](#):
>
> Not yet, we're still testing it :)

  
  
Is this fix going to be an update to the framework to allow for path information in the search() function, or is going to be an enabling of the "Fix incorrect info" button, or possibly both?

---

<div class="post-metadata">

**Author:** ![mkh](https://avatars.discourse-cdn.com/v4/letter/m/4af34b/32.png) [@mkh](https://forums.plex.tv/u/mkh)\
**Post date:** [September 24, 2010, 2:00pm UTC](https://forums.plex.tv/t/nfo-agent/4688/122 "2010-09-24T14:00:05Z")

</div>

Could somebody be so kind to tell me how I would setup my .nfo to work with this?  
  
  
  
I’ve got a few shows and movies which dont get any posters or data (they are named correct)  
  
  
  
  
  
/mkh

---

<div class="post-metadata">

**Author:** ![hrcolb0](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/hrcolb0/32/380_2.png) [@hrcolb0](https://forums.plex.tv/u/hrcolb0)\
**Post date:** [September 25, 2010, 2:28am UTC](https://forums.plex.tv/t/nfo-agent/4688/123 "2010-09-25T02:28:03Z")

</div>

Check out elan’s blog everyone. You now have your old v8.5 names. Make sure xbmcnfo is at the top of your info provider list. Right click and refresh the movies you want renamed to your nfo’s.

---

<div class="post-metadata">

**Author:** ![hrcolb0](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/hrcolb0/32/380_2.png) [@hrcolb0](https://forums.plex.tv/u/hrcolb0)\
**Post date:** [September 25, 2010, 2:37am UTC](https://forums.plex.tv/t/nfo-agent/4688/124 "2010-09-25T02:37:46Z")

</div>

> [@](#):
>
> Could somebody be so kind to tell me how I would setup my .nfo to work with this?  
>   
> I've got a few shows and movies which dont get any posters or data (they are named correct)  
>   
>   
> /mkh

  
  
what does your nfo look like now?

---

<div class="post-metadata">

**Author:** ![hrcolb0](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/hrcolb0/32/380_2.png) [@hrcolb0](https://forums.plex.tv/u/hrcolb0)\
**Post date:** [September 25, 2010, 2:53am UTC](https://forums.plex.tv/t/nfo-agent/4688/125 "2010-09-25T02:53:51Z")

</div>

Remember…If you don’t have an nfo for a new movie, that you can always create your own nfo and get custom names of new movies. Use this format:

```auto

<br />
<movie><br />
 	<title>Insert Custom Name Here</title><br />
</movie><br />
<br />
Make sure to use the exact same name as your movie file and use the .nfo file extension. Cheap fix until Edit Info button works, but it is something.
```

---

<div class="post-metadata">

**Author:** ![mkh](https://avatars.discourse-cdn.com/v4/letter/m/4af34b/32.png) [@mkh](https://forums.plex.tv/u/mkh)\
**Post date:** [September 25, 2010, 8:06am UTC](https://forums.plex.tv/t/nfo-agent/4688/126 "2010-09-25T08:06:51Z")

</div>

> [@](#):
>
> Remember...If you don't have an nfo for a new movie, that you can always create your own nfo and get custom names of new movies. Use this format:  
>   
> 
> ```auto
> 
> <br />
> <movie><br />
> <title>Insert Custom Name Here</title><br />
> </movie><br />
> <br />
> Make sure to use the exact same name as your movie file and use the .nfo file extension. Cheap fix until Edit Info button works, but it is something.<br />
> 
> ```

  
  
Hi Harley : Thanks alot that worked perfect..

---

<div class="post-metadata">

**Author:** ![CJE](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/cje/32/213_2.png) [@CJE](https://forums.plex.tv/u/CJE)\
**Post date:** [September 25, 2010, 8:53am UTC](https://forums.plex.tv/t/nfo-agent/4688/127 "2010-09-25T08:53:00Z")

</div>

I still can’t get this to pick up any .nfos and I don’t know why.  
  
  
  
Here’s what I did:

- Click “Download Source” from Git ([http://github.com/HooliganHarls/XBMCnfo.bundle](http://github.com/HooliganHarls/XBMCnfo.bundle))  
  
  
- Open the downloaded zip  
  
  
- Rename resulting folder from _HooliganHarls-XBMCnfo.bundle-5565920_ to _XBMCnfo.bundle_   
  
  
- OK the warning about changing the file extension  
  
  
- Move to L/AS/PMS/Plugins  
  
  
- Restart PMS  
  
  
  
Here’s my Info Provider Settings:  
  
  

[http://dl.dropbox.com/u/113286/Plex/Screen%20shot%202010-09-25%20at%2010.33.36%20AM.png](http://dl.dropbox.com/u/113286/Plex/Screen%20shot%202010-09-25%20at%2010.33.36%20AM.png)

  
  
  
Yet it doesn't seem to picking up any of the info in the .nfos. These are nfos that I also used in 0.8x, so I'm pretty sure they're formatted correctly.  
  
Can anyone see from the above where I've gone wrong? The bit that seems a bit odd to me is getting a folder from the zip and renaming it - that doesn't feel like the correct way to get the bundle to me, have I got that right?

---

<div class="post-metadata">

**Author:** ![elan](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/elan/32/5_2.png) [@elan](https://forums.plex.tv/u/elan)\
**Post date:** [September 25, 2010, 8:55am UTC](https://forums.plex.tv/t/nfo-agent/4688/128 "2010-09-25T08:55:11Z")

</div>

Silly question for Harley, is this agent a primary agent? If so, then it could work for people who have custom media which is never going to match any other primary agent.

---

<div class="post-metadata">

**Author:** ![hrcolb0](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/hrcolb0/32/380_2.png) [@hrcolb0](https://forums.plex.tv/u/hrcolb0)\
**Post date:** [September 25, 2010, 1:02pm UTC](https://forums.plex.tv/t/nfo-agent/4688/129 "2010-09-25T13:02:35Z")

</div>

> [@](#):
>
> Silly question for Harley, is this agent a primary agent? If so, then it could work for people who have custom media which is never going to match any other primary agent.

  
  
Not so silly question as I tried that from time to time. I'll make separate one for being an info provider. I prefer the scanner better because it fills out the rest of the data that old plex didn't get.  
  
Also, here's something I have not tested yet. I'm just waking up. If I switch back to using plex movie scanner agent, will it overwrite my new name?

---

<div class="post-metadata">

**Author:** ![elan](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/elan/32/5_2.png) [@elan](https://forums.plex.tv/u/elan)\
**Post date:** [September 25, 2010, 7:28pm UTC](https://forums.plex.tv/t/nfo-agent/4688/130 "2010-09-25T19:28:55Z")

</div>

> [@](#):
>
> Not so silly question as I tried that from time to time. I'll make separate one for being an info provider. I prefer the scanner better because it fills out the rest of the data that old plex didn't get.  
>   
> Also, here's something I have not tested yet. I'm just waking up. If I switch back to using plex movie scanner agent, will it overwrite my new name?

  
  
Sorry, I wasn't talking about scanner vs agent, I was talking about primary agent vs secondary agent.  
  
A primary agent manages its own GUIDs, and in this case could be useful if a person has lots of media with NFO files which aren't going to "match" through any other primary agent.

---

<div class="post-metadata">

**Author:** ![MTI](https://avatars.discourse-cdn.com/v4/letter/m/fbc32d/32.png) [@MTI](https://forums.plex.tv/u/MTI)\
**Post date:** [September 25, 2010, 7:34pm UTC](https://forums.plex.tv/t/nfo-agent/4688/131 "2010-09-25T19:34:15Z")

</div>

I was just testing the agent in a de novo install of Plex/Nine with the new PMS hot fix.  
  
  
  
Placing the code downloaded from github in the plugins folder, did not work. In the PMS Logs a critical error is logged - something about an “unexpected unindent” in line 115 of the code? :o

---

<div class="post-metadata">

**Author:** ![ussalaska](https://avatars.discourse-cdn.com/v4/letter/u/46a35a/32.png) [@ussalaska](https://forums.plex.tv/u/ussalaska)\
**Post date:** [September 25, 2010, 8:21pm UTC](https://forums.plex.tv/t/nfo-agent/4688/132 "2010-09-25T20:21:32Z")

</div>

> [@](#):
>
> I was just testing the agent in a de novo install of Plex/Nine with the new PMS hot fix.  
>   
> Placing the code downloaded from github in the plugins folder, did not work. In the PMS Logs a critical error is logged - something about an "unexpected unindent" in line 115 of the code? :o

  
  
Ya it is not working here either, it looks like the conditional statement -- 'if nfoTextLower.count('') \> 0 and nfoTextLower.count('') \> 0: ' that feeds everything into reading the xml is coming back as false.   
  
Chris

---

<div class="post-metadata">

**Author:** ![hrcolb0](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/hrcolb0/32/380_2.png) [@hrcolb0](https://forums.plex.tv/u/hrcolb0)\
**Post date:** [September 25, 2010, 8:56pm UTC](https://forums.plex.tv/t/nfo-agent/4688/133 "2010-09-25T20:56:01Z")

</div>

give me a couple and I’ll push the fix. I saw that this morning. I think it’ll work as a plexapp too. I’ll try to post that here

---

<div class="post-metadata">

**Author:** ![hrcolb0](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/hrcolb0/32/380_2.png) [@hrcolb0](https://forums.plex.tv/u/hrcolb0)\
**Post date:** [September 25, 2010, 9:06pm UTC](https://forums.plex.tv/t/nfo-agent/4688/134 "2010-09-25T21:06:56Z")

</div>

git updated and here is a plexapp for it. Just download and double click.

---

<div class="post-metadata">

**Author:** ![KiLLoVoX](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/killovox/32/316_2.png) [@KiLLoVoX](https://forums.plex.tv/u/KiLLoVoX)\
**Post date:** [September 27, 2010, 6:06am UTC](https://forums.plex.tv/t/nfo-agent/4688/135 "2010-09-27T06:06:56Z")

</div>

This Agent Works beautiful. Thank you!!!  
  
I’ve found only 1 problem. I got for example the 4 Alien movies, the agent pick ups the covers & the plot correctly from the nfo but sets the title “Alien” for all the 4 movies  
  
Thank You Again!

---

<div class="post-metadata">

**Author:** ![crislaet](https://avatars.discourse-cdn.com/v4/letter/c/8dc957/32.png) [@crislaet](https://forums.plex.tv/u/crislaet)\
**Post date:** [September 27, 2010, 8:49am UTC](https://forums.plex.tv/t/nfo-agent/4688/136 "2010-09-27T08:49:34Z")

</div>

> [@](#):
>
> git updated and here is a plexapp for it. Just download and double click.

  
Hi Harley  
  
Works fine for Movie, thanks again for that... However is there any plan to make this happens for TV Shows too?   
Thanks again for all your contribution

---

<div class="post-metadata">

**Author:** ![CJE](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/cje/32/213_2.png) [@CJE](https://forums.plex.tv/u/CJE)\
**Post date:** [September 27, 2010, 9:10am UTC](https://forums.plex.tv/t/nfo-agent/4688/137 "2010-09-27T09:10:16Z")

</div>

Could anyone tell me how you know if this has installed correctly, as I can’t get the bundle or the app to work. My Info Provider settings look like this - is that right?

[http://dl.dropbox.com/u/113286/Plex/Screen%20shot%202010-09-25%20at%2010.33.36%20AM.png](http://dl.dropbox.com/u/113286/Plex/Screen%20shot%202010-09-25%20at%2010.33.36%20AM.png)

---

<div class="post-metadata">

**Author:** ![hrcolb0](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/hrcolb0/32/380_2.png) [@hrcolb0](https://forums.plex.tv/u/hrcolb0)\
**Post date:** [September 27, 2010, 10:14am UTC](https://forums.plex.tv/t/nfo-agent/4688/138 "2010-09-27T10:14:10Z")

</div>

> [@](#):
>
> This Agent Works beautiful. Thank you!!!!!!  
> I've found only 1 problem. I got for example the 4 Alien movies, the agent pick ups the covers & the plot correctly from the nfo but sets the title "Alien" for all the 4 movies  
> Thank You Again!

  
  
  
I had the same problem with lotr. Can you check your nfo's? If the is correct, zip up your nfo and upload it here.

---

<div class="post-metadata">

**Author:** ![hrcolb0](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/hrcolb0/32/380_2.png) [@hrcolb0](https://forums.plex.tv/u/hrcolb0)\
**Post date:** [September 27, 2010, 10:16am UTC](https://forums.plex.tv/t/nfo-agent/4688/139 "2010-09-27T10:16:50Z")

</div>

> [@](#):
>
> Could anyone tell me how you know if this has installed correctly, as I can't get the bundle or the app to work. My Info Provider settings look like this - is that right?  
>   
> 
> [http://dl.dropbox.com/u/113286/Plex/Screen%20shot%202010-09-25%20at%2010.33.36%20AM.png](http://dl.dropbox.com/u/113286/Plex/Screen%20shot%202010-09-25%20at%2010.33.36%20AM.png)

  
  
  
Go to your finder--\>utilities--\>console. On the left side scroll down to pms plugins/com.plexapp.agent.xbmcnfo.log. S ee if there is an error here.

---

<div class="post-metadata">

**Author:** ![hrcolb0](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/hrcolb0/32/380_2.png) [@hrcolb0](https://forums.plex.tv/u/hrcolb0)\
**Post date:** [September 27, 2010, 10:17am UTC](https://forums.plex.tv/t/nfo-agent/4688/140 "2010-09-27T10:17:40Z")

</div>

> [@](#):
>
> Hi Harley  
>   
> Works fine for Movie, thanks again for that... However is there any plan to make this happens for TV Shows too?   
> Thanks again for all your contribution

  
  
  
In the works for sometime this week.

[Previous page](https://forums.plex.tv/t/nfo-agent/4688.md?page=6)

[Next page](https://forums.plex.tv/t/nfo-agent/4688.md?page=8)
