Ejemplo n.º 1
0
def main():

  mediamanager.initialize()
  mediamanager.start()

  cli = ui.CLI()

  while cli.thread.isAlive():
    time.sleep(10)

  cli.finish()
  cli = None
  mediamanager.shutdown()

  os.exit(0)