Minimal Plugin Template

Hi,

I try to create a simple Agent that will fit my need. I only need something that read the title in the metadata, and the date the file was created.

I think I got my code right (I check on other plugins to find what I need), but after many try I can’t make my Plugin appear in the Plugins section of Plex.

I know where is my Plugin directory, I can manually install Sub-Zero, delete it, and it work well in Plex.

But when I put my “homemade” plugin in the plugins directory, it does not appear in the plugin list, neither in the list of agent (even after I restart Plex). I try many things, like using the Sub-Zero plugin, but as soon as I change something in the Sub-Zero plugin, it does’t show up in plex. But if I revert everything back to the original Sub-Zero, it show up.

Can someone help me to make thinks right? What is the minimal files / parameters a .bundle should have just to load in Plex? From that I should be able to test things and make my code works.

Many thanks,

Claude Fortier

To help you, we need to see logs from your plugin, and even better, a link to your GitHub repo

Hi,

I don’t have a GitHub repo. I just want to do a very simple plugin, simpler than the « PersonalMedia ».

I could find the log, but would not be simpler just to show me where I could find a basic bundle that I could use to start?

Meanwhile, I’ll be back in a few days with the logs.

Claude Fortier

There’s no such template

But you could look here and find a plugin that are close to what you want, and start looking at that

@dane22 Actually i made a template ages ago: https://github.com/ZeroQI/Hama.bundle/releases/download/v1.0/Empty_Agent_template.bundle.7z

1 Like

Hi,
I found out what was happening.

First, I used the “LocalMedia.bundle” as a template for my plugin. I just change few line of code. Then I put my customized “LocalMedia” plugin (named “AgentSpecial”) in the plugin directory. But it did not show on the plugin menu in Plex. So I thought Plex didn’t recognise it, neither loaded it.

In fact, my customized plugin was properly loaded by Plex. My metadata agent “AgentSpecial” was there, in the “Agent” section of Plex. I move it up in the list, and Plex begin using it to populate metadata. It was just not show in the Plugin section.

Don’t know why, but it works so i’m happy.

Thanks for your help.

Claude Fortier

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