2007-12-27, 01:20
Hi, I hope i've landed in the right forum for this but here it goes...
I've looked through all documentation I could find on the wiki and such and what I want to do is create a plugin for xbmc on linux wich would give better support for the WiiRemote, mostly because I'd like to understand the innerworkings of XBMC so I can develop other plugins... and for the fun of it ofc
From what I've understand there are 2 options for plugins in XBMC
1: Plugin script/plugin wich would then load and handle the wiiremote, although this is from my viewpoint not ideal because I'd like to have some visual conformation of planned gesture support. Also even the simples infinte loop wouldn't work, but this might be an error of mine. But the idea is that the plugin runs always (if choosen) and that doesn't seem to be the idea behind the python scripts.
2: make a dll wrapper for my lib and load it in DllLoader and then hardcode support for it into xbmc. But this does not seem the smartest option because I want the plugin to be a plugin. Not any hardcoded extras of the XBMC source.
Although this may be circumvented by loading needed things when the dll is loaded and then just rely on eventbased program (wich cwiid supports).
The thing I wanted were a more definite plugin system, with a set of common functions and interfaces wich would automaticly load when needed, as a usual plugin works. ex Miranda, anything C# based, Media portal.
Is there something i've missed? Is there already plugins with open source wich i could look at? I excuse myself if I step on a thin thread here but I'm very new to XBMC and therefor I hope you can mind the newbie questions
I've looked through all documentation I could find on the wiki and such and what I want to do is create a plugin for xbmc on linux wich would give better support for the WiiRemote, mostly because I'd like to understand the innerworkings of XBMC so I can develop other plugins... and for the fun of it ofc
From what I've understand there are 2 options for plugins in XBMC
1: Plugin script/plugin wich would then load and handle the wiiremote, although this is from my viewpoint not ideal because I'd like to have some visual conformation of planned gesture support. Also even the simples infinte loop wouldn't work, but this might be an error of mine. But the idea is that the plugin runs always (if choosen) and that doesn't seem to be the idea behind the python scripts.
2: make a dll wrapper for my lib and load it in DllLoader and then hardcode support for it into xbmc. But this does not seem the smartest option because I want the plugin to be a plugin. Not any hardcoded extras of the XBMC source.
Although this may be circumvented by loading needed things when the dll is loaded and then just rely on eventbased program (wich cwiid supports).
The thing I wanted were a more definite plugin system, with a set of common functions and interfaces wich would automaticly load when needed, as a usual plugin works. ex Miranda, anything C# based, Media portal.
Is there something i've missed? Is there already plugins with open source wich i could look at? I excuse myself if I step on a thin thread here but I'm very new to XBMC and therefor I hope you can mind the newbie questions