# General purpose plugins

**URL:** <https://forums.plex.tv/t/general-purpose-plugins/31983>\
**Category:** Dev/API Corner\
**Tags:** other-dev\
**Created:** [April 2, 2013, 3:50am UTC](https://forums.plex.tv/t/general-purpose-plugins/31983 "2013-04-02T03:50:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sitnik](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@Sitnik](https://forums.plex.tv/u/Sitnik)\
**Post date:** [April 2, 2013, 3:50am UTC](https://forums.plex.tv/t/general-purpose-plugins/31983/1 "2013-04-02T03:50:29Z")

</div>

Hi!

I'm new to Plex development, have been reading the docs, wiki and some of the forum posts lately.

&nbsp;

From what I've seen, it looks like Plex plugins go under two categories: channels and agents.

However, I'm still wondering if it is possible to build general purpose plugins that can respond to media server events. For example: I'd like to build a plugin that would be "called"&nbsp;every time&nbsp;a TV show started playing.

&nbsp;

This would be useful to create plugins that gather statistics on played content or that could post status updates on Facebook/Twitter, scrobble music to last.fm and stuff like that.

Is this kind of plugin development possible? If so, how?!

&nbsp;

If not, is there a "requested features" post or somewhere else we could ask for that?

&nbsp;

Thanks!&nbsp; ;)

---

<div class="post-metadata">

**Author:** ![tester22](https://avatars.discourse-cdn.com/v4/letter/t/f9ae1b/32.png) [@tester22](https://forums.plex.tv/u/tester22)\
**Post date:** [April 9, 2013, 8:16pm UTC](https://forums.plex.tv/t/general-purpose-plugins/31983/2 "2013-04-09T20:16:03Z")

</div>

> Hi!
> 
> I'm new to Plex development, have been reading the docs, wiki and some of the forum posts lately.
> 
> From what I've seen, it looks like Plex plugins go under two categories: channels and agents.
> 
> However, I'm still wondering if it is possible to build general purpose plugins that can respond to media server events. For example: I'd like to build a plugin that would be "called"&nbsp;every time&nbsp;a TV show started playing.
> 
> This would be useful to create plugins that gather statistics on played content or that could post status updates on Facebook/Twitter, scrobble music to last.fm and stuff like that.
> 
> Is this kind of plugin development possible? If so, how?!
> 
> If not, is there a "requested features" post or somewhere else we could ask for that?
> 
> Thanks!&nbsp; ;)

I don't think it is possible to get that kind of events. I have created a plugin that is parsing the lofile for that kind of actions (see&nbsp;[https://github.com/tester22/Plex-Trakt-Scrobbler](https://github.com/tester22/Plex-Trakt-Scrobbler)) that might be a start if you wan't to develop something.

---

<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, 11:09pm UTC](https://forums.plex.tv/t/general-purpose-plugins/31983/3 "2019-12-20T23:09:17Z")

</div>

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