mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-24 14:06:36 +00:00
The video file should not have multiple extensions
This commit is contained in:
parent
1415af5001
commit
54aa9fd165
@ -1172,7 +1172,7 @@ class Media(models.Model):
|
||||
self.save(update_fields=('media_file', 'skip'))
|
||||
log.info(f'Updated "media_file" in the database for: {self!s}')
|
||||
|
||||
(new_prefix_path, new_stem) = directory_and_stem(new_video_path)
|
||||
(new_prefix_path, new_stem) = directory_and_stem(new_video_path, only_once=True)
|
||||
|
||||
# move and change names to match stem
|
||||
for other_path in other_paths:
|
||||
|
Loading…
Reference in New Issue
Block a user