# Objects (Definition and Usage)

**URL:** <https://forums.plex.tv/t/objects-definition-and-usage/113679>\
**Category:** Dev/API Corner\
**Tags:** other-dev\
**Created:** [August 28, 2015, 12:44pm UTC](https://forums.plex.tv/t/objects-definition-and-usage/113679 "2015-08-28T12:44:42Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![rmorris](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/rmorris/32/13669_2.png) [@rmorris](https://forums.plex.tv/u/rmorris)\
**Post date:** [August 28, 2015, 12:44pm UTC](https://forums.plex.tv/t/objects-definition-and-usage/113679/1 "2015-08-28T12:44:42Z")

</div>

Hi,

My apologies, as I’m sure this is a dumb question, but I just can’t find the info. Trying to create a plug-in to play back some video files, but I can’t figure out when to use the different objects, and what is needed to make it work (e.g. EpisodeObject, VideoObject, VideoClip, parts, codecs, etc.). Is this captured somewhere perhaps?

Thanks!

---

<div class="post-metadata">

**Author:** ![ZeroQI](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/zeroqi/32/6522_2.png) [@ZeroQI](https://forums.plex.tv/u/ZeroQI)\
**Post date:** [August 28, 2015, 1:59pm UTC](https://forums.plex.tv/t/objects-definition-and-usage/113679/2 "2015-08-28T13:59:52Z")

</div>

Here is the manual for the framework

---

<div class="post-metadata">

**Author:** ![rmorris](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/rmorris/32/13669_2.png) [@rmorris](https://forums.plex.tv/u/rmorris)\
**Post date:** [August 28, 2015, 2:05pm UTC](https://forums.plex.tv/t/objects-definition-and-usage/113679/3 "2015-08-28T14:05:44Z")

</div>

Thanks! I guess what I’m missing yet (and it’s me!) … when are the different objects used, and how to get Plex to play an item (i.e. create an object of some type, let Plex control and play it from there).

Make sense?

Thanks again.

---

<div class="post-metadata">

**Author:** ![ZeroQI](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/zeroqi/32/6522_2.png) [@ZeroQI](https://forums.plex.tv/u/ZeroQI)\
**Post date:** [August 28, 2015, 2:40pm UTC](https://forums.plex.tv/t/objects-definition-and-usage/113679/4 "2015-08-28T14:40:50Z")

</div>

The agent just populate metadata but the scanner list the files and pass the files to Plex so it appears in the web interface. The file can be added and not be readable necessarily by Plex (exemple: [https://github.com/NoMoreNicksLeft/Video-Games-Scanner](https://github.com/NoMoreNicksLeft/Video-Games-Scanner)).

Have a look at my scanner, you could tweak it to list certain file extensions, but you cannot teach Plex how to play those if it cannot…

---

<div class="post-metadata">

**Author:** ![rmorris](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/rmorris/32/13669_2.png) [@rmorris](https://forums.plex.tv/u/rmorris)\
**Post date:** [August 28, 2015, 3:43pm UTC](https://forums.plex.tv/t/objects-definition-and-usage/113679/5 "2015-08-28T15:43:16Z")

</div>

Thanks very much! Will dig into this more this weekend … :).

---

<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:** [January 8, 2020, 7:50pm UTC](https://forums.plex.tv/t/objects-definition-and-usage/113679/6 "2020-01-08T19:50:58Z")

</div>


