This commit is contained in:
Stefan Bethke 2010-08-07 13:40:31 +00:00
parent 4a5bcc4f81
commit e4217d0a57

View file

@ -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()