This commit is contained in:
afkarxyz
2025-05-30 22:22:14 +07:00
parent 2b12684960
commit c13855fadd
2 changed files with 16 additions and 6 deletions
+3 -3
View File
@@ -550,7 +550,7 @@ class QobuzRegionComboBox(QComboBox):
class SpotiFLACGUI(QWidget): class SpotiFLACGUI(QWidget):
def __init__(self): def __init__(self):
super().__init__() super().__init__()
self.current_version = "2.8" self.current_version = "2.9"
self.tracks = [] self.tracks = []
self.reset_state() self.reset_state()
@@ -954,7 +954,7 @@ class SpotiFLACGUI(QWidget):
sections = [ sections = [
("Check for Updates", "https://github.com/afkarxyz/SpotiFLAC/releases"), ("Check for Updates", "https://github.com/afkarxyz/SpotiFLAC/releases"),
("Report an Issue", "https://github.com/afkarxyz/SpotiFLAC/issues"), ("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: for title, url in sections:
@@ -995,7 +995,7 @@ class SpotiFLACGUI(QWidget):
spacer = QSpacerItem(20, 6, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Fixed) spacer = QSpacerItem(20, 6, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Fixed)
about_layout.addItem(spacer) 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;") footer_label.setStyleSheet("font-size: 12px; margin-top: 10px;")
about_layout.addWidget(footer_label, alignment=Qt.AlignmentFlag.AlignCenter) about_layout.addWidget(footer_label, alignment=Qt.AlignmentFlag.AlignCenter)
+13 -3
View File
@@ -764,8 +764,18 @@ class TidalDownloader:
if copyright_info: if copyright_info:
audio["COPYRIGHT"] = copyright_info audio["COPYRIGHT"] = copyright_info
if album_info.get("releaseDate"): release_date = None
audio["DATE"] = album_info["releaseDate"][:4] 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"): if track_info.get("genre"):
audio["GENRE"] = track_info["genre"] audio["GENRE"] = track_info["genre"]
@@ -1014,7 +1024,7 @@ async def main():
print("\n\n=== SquidWTFDownloader ===") print("\n\n=== SquidWTFDownloader ===")
squid = SquidWTFDownloader(region="us") squid = SquidWTFDownloader(region="us")
isrc = "USUM72409273" isrc = "USAT22409172"
output_dir = "." output_dir = "."
try: try: