3 __author__ = "Artur Duque de Souza"
4 __author_email__ = "artur.souza@indt.org.br"
7 __thanks__ = "Gustavo Sverzut Barbieri"
13 from lib.server import serve_forever, load_plugins_transcoders
17 for p in sys.argv[1:]:
18 if p == "-v" or p == "--verbose":
21 log.basicConfig(level=log_level,
22 format=("### %(asctime)s %(name)-18s \t%(levelname)-8s "
24 datefmt="%Y-%m-%d %H:%M:%S")
26 if not os.path.exists(".transcoded"):
27 os.mkdir(".transcoded")
29 pd = os.path.join("plugins", "transcoders")
30 load_plugins_transcoders(pd)