Logging
This commit is contained in:
parent
4a5bcc4f81
commit
e4217d0a57
1 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
|
|
||||||
# $Schlepperbande: src/tivomirror/tivomirror,v 1.32 2010/08/07 09:04:16 stb Exp $
|
# $Schlepperbande: src/tivomirror/tivomirror,v 1.33 2010/08/07 12:23:17 stb Exp $
|
||||||
#
|
#
|
||||||
# Stefans Script, um die Sendungen vom Tivo runterzuladen und in MPEG4
|
# Stefans Script, um die Sendungen vom Tivo runterzuladen und in MPEG4
|
||||||
# zu transkodieren.
|
# zu transkodieren.
|
||||||
|
@ -269,9 +269,10 @@ for i in items:
|
||||||
if getattr(downloaddb, "sync", None) and callable(downloaddb.sync):
|
if getattr(downloaddb, "sync", None) and callable(downloaddb.sync):
|
||||||
downloaddb.sync()
|
downloaddb.sync()
|
||||||
# stop after the fist successful download since the tivo hangs easily
|
# stop after the fist successful download since the tivo hangs easily
|
||||||
|
print "Stopping after one successful transfer"
|
||||||
break
|
break
|
||||||
except TivoException, e:
|
except TivoException, e:
|
||||||
print "Error processing \"%s\": %s" % (name, e)
|
print "Error processing \"%s\": %s" % (name, e)
|
||||||
print "*** Completed"
|
|
||||||
|
|
||||||
|
print "*** Completed"
|
||||||
downloaddb.close()
|
downloaddb.close()
|
||||||
|
|
Loading…
Reference in a new issue