Aspect Ration auch tatsaechlich ubergeben und auswerten

This commit is contained in:
Stefan Bethke 2010-01-05 23:14:32 +00:00
parent cc6edc5ef3
commit 5e477bc09a

View file

@ -1,6 +1,6 @@
#!/usr/bin/python
# $Schlepperbande: src/tivomirror/tivomirror,v 1.6 2010/01/03 14:25:47 stb Exp $
# $Schlepperbande: src/tivomirror/tivomirror,v 1.7 2010/01/03 19:02:24 stb Exp $
#
# Stefans Script, um die Sendungen vom Tivo runterzuladen und in MPEG4
# zu transkodieren.
@ -110,7 +110,7 @@ def download_decode(file, url, mak, ar):
except OSError:
pass
if not os.path.exists(tmpmp2):
print "--- dowloading \"%s\"" % url
print "--- dowloading \"%s\" (ar %s)" % (url, ar)
p_curl = subprocess.Popen(["curl", "--anyauth", "--fail", \
"--insecure", "--cookie", "tivo/.cookies.txt", \
"--user", "tivo:%s" % mak, "--url", url], \
@ -178,7 +178,7 @@ for i in items:
print "*** skipping \"%s\": already downloaded" % name
continue
print "*** downloading \"%s\"" % name
download_decode(file, url, mak, title)
download_decode(file, url, mak, ar)
downloaddb[name] = date
if getattr(downloaddb, "sync", None) and callable(downloaddb.sync):
downloaddb.sync()