2014-03-11, 20:16
(2014-03-11, 19:21)pvagner Wrote: I haven't moved further however I prefer comtypes over pywin32.I tried comtypes and it worked great. Thanks for pointing me in that direction. I think I'll put it together as a module addon and throw it on my repository, and then use it instead running a subprocess.
(2014-03-11, 19:21)pvagner Wrote: Anyway I have got some packaging issues here to consider:I think libraries that will be generally useful for addons should be put into module addons, and those that are really only going to be used for the addon in question should just be bundled in. So I would think that speech-dispatcher could just be included in the addon, especially since it looks like it's just a single file module.
- What about 3rd party python modules such as comtypes? Should we create seperate XBMC addons for them or should we bundle into this addon?
The same goes for speech dispatcher for linux. Speech-dispatcher has python bindings which communicate with the speech-dispatcher daemon using sockets. I have packaged this as a seperate addon.
Of course, the XMBC team might have a different opinion, I'm not sure. As for comtypes, I am leaning towards making it into a module addon, though it could go either way since it is windows only and not necessarily something that will be broadly used (of course I've done very little windows specific python coding so I'm just guessing here).