From 9a879c0857290ca08a62fc0a99d6a96ed4aaa42b Mon Sep 17 00:00:00 2001 From: Rafael Moraes <50295204+glomatico@users.noreply.github.com> Date: Thu, 15 Jan 2026 22:30:09 -0300 Subject: [PATCH] Refactor template variable names for clarity --- gamdl/downloader/downloader_base.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gamdl/downloader/downloader_base.py b/gamdl/downloader/downloader_base.py index 2d95b82..448a558 100644 --- a/gamdl/downloader/downloader_base.py +++ b/gamdl/downloader/downloader_base.py @@ -166,24 +166,24 @@ class AppleMusicBaseDownloader: playlist_tags: PlaylistTags | None, ) -> str: if tags.album: - template_folder = ( + template_folder_parts = ( self.compilation_folder_template.split("/") if tags.compilation else self.album_folder_template.split("/") ) else: - template_folder = self.no_album_folder_template.split("/") + template_folder_parts = self.no_album_folder_template.split("/") if tags.album: - template_file = ( + template_file_parts = ( self.multi_disc_file_template.split("/") if isinstance(tags.disc_total, int) and tags.disc_total > 1 else self.single_disc_file_template.split("/") ) else: - template_file = self.no_album_file_template.split("/") + template_file_parts = self.no_album_file_template.split("/") - template_parts = template_folder + template_file + template_parts = template_folder_parts + template_file_parts formatted_parts = [] for i, part in enumerate(template_parts):