Craig wird in 14:9 gesendet

This commit is contained in:
Stefan Bethke 2010-01-30 12:31:54 +00:00
parent 11a2c7c5e6
commit c1e3f77996

View file

@ -1,6 +1,6 @@
#!/usr/bin/python #!/usr/bin/python
# $Schlepperbande: src/tivomirror/tivomirror,v 1.13 2010/01/24 14:46:13 stb Exp $ # $Schlepperbande: src/tivomirror/tivomirror,v 1.14 2010/01/30 11:46:37 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.
@ -30,6 +30,7 @@ arset["The Daily Show With Jon Stewart"] = 43
arset["John Oliver's New York Stand-Up Show"] = 43 arset["John Oliver's New York Stand-Up Show"] = 43
arset["John Oliver: Terrifying Times"] = 43 arset["John Oliver: Terrifying Times"] = 43
arset["House"] = 43 arset["House"] = 43
arset["The Late Late Show With Craig Ferguson"] = 149
class flushfile(object): class flushfile(object):
def __init__(self, f): def __init__(self, f):
@ -101,6 +102,9 @@ def transcode(file, passno, ar):
if ar == 43: if ar == 43:
transcode_opts.extend(["-croptop", "4", "-cropbottom", "4", "-cropleft", "6", "-cropright", "6"]) transcode_opts.extend(["-croptop", "4", "-cropbottom", "4", "-cropleft", "6", "-cropright", "6"])
transcode_opts.extend(["-aspect", "4:3"]) transcode_opts.extend(["-aspect", "4:3"])
elif ar == 149:
transcode_opts.extend(["-croptop", "34", "-cropbottom", "34", "-cropleft", "6", "-cropright", "6"])
transcode_opts.extend(["-aspect", "14:9"])
else: else:
transcode_opts.extend(["-croptop", "60", "-cropbottom", "60", "-cropleft", "6", "-cropright", "6"]) transcode_opts.extend(["-croptop", "60", "-cropbottom", "60", "-cropleft", "6", "-cropright", "6"])
transcode_opts.extend(["-aspect", "16:9"]) transcode_opts.extend(["-aspect", "16:9"])