feat(tracks): add edition tags to output filenames

Extend track.edition to support a list of tags (e.g., ["IMAX", "3D"]) that are inserted into the output filename before the resolution.
This commit is contained in:
Andy
2026-02-26 11:11:00 -07:00
parent 6cdfd2828b
commit eeec4e1f1b
6 changed files with 21 additions and 6 deletions

View File

@@ -103,6 +103,11 @@ class Song(Title):
if getattr(config, "repack", False):
name += " REPACK"
if self.tracks:
first_track = next(iter(self.tracks), None)
if first_track and first_track.edition:
name += " " + " ".join(first_track.edition)
# Service (use track source if available)
if show_service:
source_name = None