#!/usr/bin/env python2
from xbmc.pidgin import Forwarder
import argparse
import logging

if __name__ == '__main__':
    parser = argparse.ArgumentParser(description='Process some integers.')
    parser.add_argument('--host', dest='host', action='store', required=True)
    parser.add_argument('-v', '--verbose', dest='verbose', action='store_true', default=False)
    args = parser.parse_args()
    logging.root.name = 'xbmcpidgin'
    if args.verbose:
        logging.basicConfig(level=logging.DEBUG)
    f = Forwarder(args.host)
    f.run()

