Example implementation of a plugin.
This file serves as an example of a SoCo plugin.
Initialize the plugin.
The plugin can accept any arguments it requires. It should at least accept a soco instance which it passes on to the base class when calling super’s __init__.
Play some music.
This is just a reimplementation of the ordinary play function, to show how we can use the general upnp methods from soco
Stop the music.
This methods shows how, if we need it, we can use the soco functionality from inside the plugins