Comment 16 for bug 684460

Revision history for this message
Jason Gerard DeRose (jderose) wrote :

David,

re (1) - Good idea, I totally agree that we want a way to disable UI activity in dmedia-session. I'll add that feature soon. For Novacut, it's also important to be able to run dmedia on a headless server, launched with upstart (or similar). So I plan to move the import logic out of service.DMedia, and in general make dbus an option rather than a requirement.

re (2) - noted. my hunch is your in-tree code was talking to the installed dmedia-session. i'm hoping to come up with a way to make it easier to run totally in-tree as i've got bitten by this problem many times myself.

Hehe... and I didn't realize it was called a "splat operator". You can do the same thing with keyword args too, BTW. **kw will put arbitrary kwargs in the dictionary `kw`. So you can make a fully generic function signature like this:

def generic(*args, **kw):
   pass

No worries if you're ever too busy (or if you get burnt out). I'm always happy to wrap up loose ends if needed to get your work into trunk.

Good luck on those exams and I hope to hear from you in February! Thanks again for all your work!