예제 #1
0
def test_logoToLog():
    """!Test logo to log"""
    assert header.logoToLog()
예제 #2
0
logging.debug("- queue")
import time
logging.debug("- time")

logging.debug("Import BOSWatch modules")
from boswatch.configYaml import ConfigYAML
from boswatch.network.client import TCPClient
from boswatch.network.broadcast import BroadcastClient
from boswatch.decoder.decoder import Decoder
from boswatch.utils import header
from boswatch.utils import misc
from boswatch.inputSource.sdrInput import SdrInput
from boswatch.inputSource.lineInInput import LineInInput
from boswatch.inputSource.pulseaudioInput import PulseAudioInput

header.logoToLog()
header.infoToLog()

# With -h or --help you get the Args help
parser = argparse.ArgumentParser(
    prog="bw_client.py",
    description="""BOSWatch is a Python Script to receive and
                                 decode german BOS information with rtl_fm and multimon-NG""",
    epilog="""More options you can find in the extern client.ini
                                 file in the folder /config""")
parser.add_argument("-c",
                    "--config",
                    help="Name to configuration File",
                    required=True)
parser.add_argument("-t",
                    "--test",