CURL soll keinen Progress ins Logfile schreiben

This commit is contained in:
Stefan Bethke 2010-07-04 10:06:46 +00:00
parent c8097f67c1
commit 46245a8c99

View file

@ -1,6 +1,6 @@
#!/usr/bin/python #!/usr/bin/python
# $Schlepperbande: src/tivomirror/tivomirror,v 1.25 2010/06/21 06:14:48 stb Exp $ # $Schlepperbande: src/tivomirror/tivomirror,v 1.26 2010/06/27 11:36:21 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.
@ -144,6 +144,7 @@ def download_decode(file, url, mak, ar):
print "--- dowloading \"%s\" (ar %s)" % (url, ar) print "--- dowloading \"%s\" (ar %s)" % (url, ar)
p_curl = subprocess.Popen(["curl", "--anyauth", "--fail", \ p_curl = subprocess.Popen(["curl", "--anyauth", "--fail", \
"--insecure", "--cookie", "tivo/.cookies.txt", \ "--insecure", "--cookie", "tivo/.cookies.txt", \
"--silent", "--show-error", \
"--user", "tivo:%s" % mak, "--url", url], \ "--user", "tivo:%s" % mak, "--url", url], \
stdout=subprocess.PIPE) stdout=subprocess.PIPE)
p_decode = subprocess.Popen(["tivodecode", "--mak", mak, \ p_decode = subprocess.Popen(["tivodecode", "--mak", mak, \