From c59fa50ed2883fa012a7e048286d424366aa28c6 Mon Sep 17 00:00:00 2001 From: Rafael Moraes <50295204+glomatico@users.noreply.github.com> Date: Thu, 26 Feb 2026 18:33:44 -0300 Subject: [PATCH] Always update playlist file after download --- votify/downloader/downloader.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/votify/downloader/downloader.py b/votify/downloader/downloader.py index ca31e21..e865fd3 100644 --- a/votify/downloader/downloader.py +++ b/votify/downloader/downloader.py @@ -194,11 +194,11 @@ class SpotifyDownloader: item.staged_path, item.final_path, ) - if item.playlist_file_path and self.save_playlist_file: - self.base.update_playlist_file( - item.playlist_file_path, - item.media.playlist_tags, - ) + if item.playlist_file_path and self.save_playlist_file: + self.base.update_playlist_file( + item.playlist_file_path, + item.media.playlist_tags, + ) def _write_cover_file(self, cover_path: str, cover_bytes: bytes) -> None: logger.debug(f"Writing cover: {cover_path}")