A template to fork for creating XBMC video plugin