diff --git a/SpotiFLAC.py b/SpotiFLAC.py index 3f19e15..de80ec6 100644 --- a/SpotiFLAC.py +++ b/SpotiFLAC.py @@ -550,7 +550,7 @@ class QobuzRegionComboBox(QComboBox): class SpotiFLACGUI(QWidget): def __init__(self): super().__init__() - self.current_version = "2.8" + self.current_version = "2.9" self.tracks = [] self.reset_state() @@ -954,7 +954,7 @@ class SpotiFLACGUI(QWidget): sections = [ ("Check for Updates", "https://github.com/afkarxyz/SpotiFLAC/releases"), ("Report an Issue", "https://github.com/afkarxyz/SpotiFLAC/issues"), - ("Lucida Site", "https://lucida.to/stats") + ("Lucida Status", "https://status.lucida.to") ] for title, url in sections: @@ -995,7 +995,7 @@ class SpotiFLACGUI(QWidget): spacer = QSpacerItem(20, 6, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Fixed) about_layout.addItem(spacer) - footer_label = QLabel("v2.8 | May 2025") + footer_label = QLabel("v2.9 | May 2025") footer_label.setStyleSheet("font-size: 12px; margin-top: 10px;") about_layout.addWidget(footer_label, alignment=Qt.AlignmentFlag.AlignCenter) diff --git a/getTracks.py b/getTracks.py index 3ec2c21..23b5533 100644 --- a/getTracks.py +++ b/getTracks.py @@ -764,8 +764,18 @@ class TidalDownloader: if copyright_info: audio["COPYRIGHT"] = copyright_info - if album_info.get("releaseDate"): - audio["DATE"] = album_info["releaseDate"][:4] + release_date = None + if search_info and search_info.get("streamStartDate"): + release_date = search_info["streamStartDate"] + elif track_info.get("streamStartDate"): + release_date = track_info["streamStartDate"] + + if release_date: + if "T" in release_date: + date_part = release_date.split("T")[0] + audio["DATE"] = date_part + else: + audio["DATE"] = release_date if track_info.get("genre"): audio["GENRE"] = track_info["genre"] @@ -1014,7 +1024,7 @@ async def main(): print("\n\n=== SquidWTFDownloader ===") squid = SquidWTFDownloader(region="us") - isrc = "USUM72409273" + isrc = "USAT22409172" output_dir = "." try: