Lets try the import again
[pyTivo/krkeegan.git] / pyTivo.py
blobab0acbd9e9a13425b2a1fed67c054fcc9dc72a55
1 import beacon, httpserver
3 httpd = httpserver.TivoHTTPServer(('', 9032), httpserver.TivoHTTPHandler)
4 httpd.add_container('test', 'x-container/tivo-videos', r'C:\Documents and Settings\Armooo\Desktop\pyTivo\test')
6 b = beacon.Beacon()
7 b.add_service('TiVoMediaServer:9032/http')
8 b.send_beacon_timer()
10 httpd.serve_forever()