gmyth-stream/server/0.2/gms.py
branchtrunk
changeset 830 0e159c5e2d32
parent 829 0a4e6b811acc
child 831 e2baa6947dbf
     1.1 --- a/gmyth-stream/server/0.2/gms.py	Tue Aug 28 15:41:35 2007 +0100
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,20 +0,0 @@
     1.4 -#!/usr/bin/env python
     1.5 -
     1.6 -import sys
     1.7 -import os
     1.8 -import logging as log
     1.9 -from lib.server import serve_forever, load_plugins_transcoders
    1.10 -
    1.11 -log_level = log.INFO
    1.12 -for p in sys.argv[1:]:
    1.13 -    if p == "-v" or p == "--verbose":
    1.14 -        log_level -= 10
    1.15 -
    1.16 -log.basicConfig(level=log_level,
    1.17 -                format=("### %(asctime)s %(name)-18s \t%(levelname)-8s "
    1.18 -                        "\t%(message)s"),
    1.19 -                datefmt="%Y-%m-%d %H:%M:%S")
    1.20 -
    1.21 -pd = os.path.join("plugins", "transcoders")
    1.22 -load_plugins_transcoders(pd)
    1.23 -serve_forever()