diff options
| author | tassaron | 2017-05-21 20:07:07 -0400 |
|---|---|---|
| committer | tassaron | 2017-05-21 20:07:07 -0400 |
| commit | fb5115f0b205adbcd8f5a2d4d29a98fbc79cec60 (patch) | |
| tree | 1af1a28a2375839b62d50848b790ca03181fe92f /core.py | |
| parent | cb04c950d48ac7c7fa9b95b3c39d9a8fb6c5bae0 (diff) | |
fixed preview not updating when changing between two videos
making the filename of preview.jpg different each time seems to work
Diffstat (limited to 'core.py')
| -rw-r--r-- | core.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -176,7 +176,7 @@ class Core(): self.deleteTempDir() os.mkdir(self.tempDir) if firstOnly: - filename = 'preview.jpg' + filename = 'preview%s.jpg' % os.path.basename(videoPath).split('.', 1)[0] options = '-ss 10 -vframes 1' else: filename = '$frame%05d.jpg' |
