The plugin API allows you to easily hook into the base functions. The example demonstrates how to load different playlists, and use the callback events.