From a812198a070db2c943446337fe78f727d1d60420 Mon Sep 17 00:00:00 2001 From: edideaur Date: Sun, 5 Apr 2026 01:20:21 +0000 Subject: [PATCH] why not --- editors-picks-input.txt | 3 ++- gen-editors-picks.py | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/editors-picks-input.txt b/editors-picks-input.txt index 6d8a390..b365994 100644 --- a/editors-picks-input.txt +++ b/editors-picks-input.txt @@ -20,4 +20,5 @@ album:423471869 album:250986538 album:509761344 album:15621057 -album:103897783 \ No newline at end of file +album:103897783 +album:151728406 \ No newline at end of file diff --git a/gen-editors-picks.py b/gen-editors-picks.py index 4abef1c..e6404e0 100644 --- a/gen-editors-picks.py +++ b/gen-editors-picks.py @@ -107,7 +107,7 @@ def uuid_to_path_segments(uuid): def download_and_process_cover(cover_uuid): - url = f"https://resources.tidal.com/images/{uuid_to_path_segments(cover_uuid)}/640x640.jpg" + url = f"https://resources.tidal.com/images/{uuid_to_path_segments(cover_uuid)}/320x320.jpg" with tempfile.NamedTemporaryFile(suffix='.jpg', delete=False) as tmp: tmp_path = tmp.name @@ -121,7 +121,7 @@ def download_and_process_cover(cover_uuid): output_path = os.path.join(IMAGES_DIR, f"{cover_uuid}.webp") subprocess.run( - ['cwebp', '-q', '50', '-resize', '500', '500', tmp_path, '-o', output_path], + ['cwebp', '-q', '50', tmp_path, '-o', output_path], check=True, capture_output=True )