fix cache with video
This commit is contained in:
parent
124f4ae315
commit
6e29dd3c40
@ -118,7 +118,6 @@ class Video(object):
|
|||||||
command = "{binary} {loglevel} -i {source} {video} {vbitrate} {other} {audio} {abitrate} {resolution} {format} -y {target}".format(**ffmpeg_switches)
|
command = "{binary} {loglevel} -i {source} {video} {vbitrate} {other} {audio} {abitrate} {resolution} {format} -y {target}".format(**ffmpeg_switches)
|
||||||
print(command)
|
print(command)
|
||||||
error(os.system(command) == 0, "%s command failed" % ffmpeg_switches["binary"])
|
error(os.system(command) == 0, "%s command failed" % ffmpeg_switches["binary"])
|
||||||
target = target + "." + options["extension"]
|
|
||||||
print target
|
print target
|
||||||
|
|
||||||
CACHE.cache_picture(source, target, options)
|
CACHE.cache_picture(source, target, options)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user