Include video id in default filename format
Update default filename_format to append the video id as _[%(id)s] before the extension, improving uniqueness of generated filenames and preventing collisions when multiple videos share the same title and resolution.
This commit is contained in:
@@ -95,7 +95,7 @@ class ConfigManager:
|
||||
"force_audio_format": False,
|
||||
"preferred_audio_format": "best",
|
||||
"audio_normalization": False,
|
||||
"filename_format": "%(title)s_%(resolution)s.%(ext)s",
|
||||
"filename_format": "%(title)s_%(resolution)s_[%(id)s].%(ext)s",
|
||||
"cached_versions": {
|
||||
"ytdlp": {"version": None, "path": None, "last_check": 0, "path_mtime": 0},
|
||||
"ffmpeg": {"version": None, "path": None, "last_check": 0, "path_mtime": 0},
|
||||
|
||||
Reference in New Issue
Block a user