feat(dl): add --repack flag to insert REPACK tag in output filenames

This commit is contained in:
Andy
2026-02-22 11:42:35 -07:00
parent 8a4399665e
commit 8b63be4f3e
4 changed files with 14 additions and 0 deletions

View File

@@ -156,6 +156,9 @@ class Episode(Title):
name=self.name or "",
).strip()
if getattr(config, "repack", False):
name += " REPACK"
if primary_video_track:
resolution_token = _get_resolution_token(primary_video_track)
if resolution_token:

View File

@@ -91,6 +91,9 @@ class Movie(Title):
# Name (Year)
name = str(self).replace("$", "S") # e.g., Arli$$
if getattr(config, "repack", False):
name += " REPACK"
if primary_video_track:
resolution_token = _get_resolution_token(primary_video_track)
if resolution_token:

View File

@@ -100,6 +100,9 @@ class Song(Title):
# NN. Song Name
name = str(self).split(" / ")[1]
if getattr(config, "repack", False):
name += " REPACK"
# Service (use track source if available)
if show_service:
source_name = None