Everyone say hi to the genius behind the MAFW bindings . Your code rocks dude .
Code: loop = gobject.MainLoop() gobject.threads_init() context = loop.get_context()
loop = gobject.MainLoop() gobject.threads_init() context = loop.get_context()
My biggest gripe ATM is that I kinda wish we could make these backends into modules.. as it is if someone uses MediaBox and pyRadio they will have 4 copies of (almost) identical files. Just seems like a waste of space.
But, for now I'd like to figure out your EventEmitter system here so I can connect my own methods to the on_eof and the position_cb methods.. so that I can receive events/signals when a file is done playing and every second to make my new countdown timer more accurate.