Skip to content

Commit

Permalink
Merge branch '1.9'
Browse files Browse the repository at this point in the history
  • Loading branch information
oskvr37 committed Dec 29, 2024
2 parents 2ba6c9b + 71ece5c commit 5ee70cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name="tiddl",
version="1.9.1",
version="1.9.2",
description="TIDDL (Tidal Downloader) is a Python CLI application that allows downloading Tidal tracks.",
long_description=open("README.md", encoding="utf-8").read(),
long_description_content_type="text/markdown",
Expand Down
3 changes: 2 additions & 1 deletion tiddl/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ def formatFilename(template: str, track: Track, playlist=""):
artists = [artist["name"].strip() for artist in track["artists"]]

release_date = datetime.strptime(
track["streamStartDate"], "%Y-%m-%dT%H:%M:%S.000+0000"
track["streamStartDate"] or "1970-01-01T00:00:00.000+0000",
"%Y-%m-%dT%H:%M:%S.000+0000",
)

formatted_track: FormattedTrack = {
Expand Down

0 comments on commit 5ee70cb

Please sign in to comment.