The video file should not have multiple extensions

This commit is contained in:
tcely 2025-05-22 09:57:33 -04:00 committed by GitHub
parent 1415af5001
commit 54aa9fd165
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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: