# Learning to write an agent

**URL:** <https://forums.plex.tv/t/learning-to-write-an-agent/7119>\
**Category:** Dev/API Corner\
**Tags:** other-dev\
**Created:** [December 29, 2010, 4:40pm UTC](https://forums.plex.tv/t/learning-to-write-an-agent/7119 "2010-12-29T16:40:22Z")\
**Posts on this page:** 11\
**Page:** 1

<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:** [December 29, 2010, 4:40pm UTC](https://forums.plex.tv/t/learning-to-write-an-agent/7119/1 "2010-12-29T16:40:22Z")

</div>

opportunities abound!
Start by downloading the XBMC nfo info provider here : http://forums.plexapp.com/index.php/topic/16293-nfo-agent/  
  
Open the bundle using "Show Package Contents", and then navigate to Contents -\>Code-\> \_init\_.py. Open that with a text editor or code editor of your choice. Get a feel for it and post back when you are done.

---

<div class="post-metadata">

**Author:** ![billytheonion\_gmail.com](https://avatars.discourse-cdn.com/v4/letter/b/77aa72/32.png) [@billytheonion\_gmail.com](https://forums.plex.tv/u/billytheonion_gmail.com)\
**Post date:** [December 29, 2010, 5:20pm UTC](https://forums.plex.tv/t/learning-to-write-an-agent/7119/2 "2010-12-29T17:20:12Z")

</div>

I get no option to Show Package Content when i right click on the bundle.

---

<div class="post-metadata">

**Author:** ![pooploser](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/pooploser/32/133851_2.png) [@pooploser](https://forums.plex.tv/u/pooploser)\
**Post date:** [December 29, 2010, 5:26pm UTC](https://forums.plex.tv/t/learning-to-write-an-agent/7119/3 "2010-12-29T17:26:47Z")

</div>

you are using mac, yea?

---

<div class="post-metadata">

**Author:** ![billytheonion\_gmail.com](https://avatars.discourse-cdn.com/v4/letter/b/77aa72/32.png) [@billytheonion\_gmail.com](https://forums.plex.tv/u/billytheonion_gmail.com)\
**Post date:** [December 29, 2010, 5:35pm UTC](https://forums.plex.tv/t/learning-to-write-an-agent/7119/4 "2010-12-29T17:35:38Z")

</div>

Yes im on a Mac. iMac and MacMini 10.6.5

---

<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:** [December 29, 2010, 5:35pm UTC](https://forums.plex.tv/t/learning-to-write-an-agent/7119/5 "2010-12-29T17:35:39Z")

</div>

you need to install the plexapp first, then navigate to User/Library/Application Support/Plex Media Server/Plugins

---

<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:** [December 29, 2010, 5:37pm UTC](https://forums.plex.tv/t/learning-to-write-an-agent/7119/6 "2010-12-29T17:37:57Z")

</div>

Do you have Star wars IV New Hope?

---

<div class="post-metadata">

**Author:** ![billytheonion\_gmail.com](https://avatars.discourse-cdn.com/v4/letter/b/77aa72/32.png) [@billytheonion\_gmail.com](https://forums.plex.tv/u/billytheonion_gmail.com)\
**Post date:** [December 29, 2010, 5:47pm UTC](https://forums.plex.tv/t/learning-to-write-an-agent/7119/7 "2010-12-29T17:47:35Z")

</div>

All is good now, opened in Text Edit. Yes, i have the movie on DVD

---

<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:** [December 29, 2010, 5:52pm UTC](https://forums.plex.tv/t/learning-to-write-an-agent/7119/8 "2010-12-29T17:52:27Z")

</div>

Let’s go ahead and work with that movie then. Make a new folder and copy (don’t just move it, make a copy) into that folder. Then make a new section in Plex Media Manager with this folder.

---

<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:** [December 29, 2010, 6:08pm UTC](https://forums.plex.tv/t/learning-to-write-an-agent/7119/9 "2010-12-29T18:08:05Z")

</div>

Let me know when you complete each step as we go along. I don’t want to go to quickly.

---

<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:** [January 2, 2011, 1:19pm UTC](https://forums.plex.tv/t/learning-to-write-an-agent/7119/10 "2011-01-02T13:19:07Z")

</div>

Are you still interested in this HotDog?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [December 20, 2019, 8:56pm UTC](https://forums.plex.tv/t/learning-to-write-an-agent/7119/11 "2019-12-20T20:56:02Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
