mirror of
https://github.com/oskvr37/tiddl.git
synced 2026-06-13 12:15:13 +03:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 7e0fb9fb37 | |||
| 880f6008b0 |
@@ -137,7 +137,7 @@ allowed = [
|
||||
# album = "albums/{album.artist} - {album.title}"
|
||||
|
||||
# you can access: {playlist}
|
||||
# playlist = "playlists/{title}"
|
||||
# playlist = "playlists/{playlist.title}"
|
||||
|
||||
|
||||
[m3u]
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "tiddl"
|
||||
version = "3.4.0a7"
|
||||
version = "3.4.0a8"
|
||||
description = "Download Tidal tracks with CLI downloader."
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.13"
|
||||
|
||||
@@ -679,7 +679,7 @@ def download_callback(
|
||||
and playlist.squareImage
|
||||
):
|
||||
Cover(
|
||||
playlist.squareImage, size=max(CONFIG.cover.size, 1080)
|
||||
playlist.squareImage, size=min(CONFIG.cover.size, 1080)
|
||||
).save_to_directory(
|
||||
path=DOWNLOAD_PATH
|
||||
/ format_template(
|
||||
|
||||
@@ -50,6 +50,10 @@ class Cover:
|
||||
if not self.data:
|
||||
self.data = self.fetch_data()
|
||||
|
||||
if not self.data:
|
||||
log.debug(f"cover data is empty ({file})")
|
||||
return
|
||||
|
||||
file.parent.mkdir(parents=True, exist_ok=True)
|
||||
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user