Yapsy provides 2 ways to create plugins. In both cases you need the plugin.freeseer-plugin extension metadata file + another file or directory as follows.

1. Single file plugin

In this mode you simply create a file with the same name as your metadata filename. Eg:

<pre>
vorbis.freeseer-plugin
vorbis.py
</pre>

In this case all of your code will be contained in the single .py file. This is useful if your plugin is small but if you'd like to split off code to make it more maintainable you can use method 2.


2. Multi file plugin

In this mode you create a directory with the same name as your metadata file and create a __init__.py as the starting point. From there you can create any other .py file and import them using python imports statements. This is handy in larger plugins as splitting off to multiple files makes it easier to manage.