Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 59428e7679 | |||
| 33c4698286 | |||
| 3ac4c34d73 | |||
| 88e303cbe4 |
@@ -6,7 +6,7 @@
|
||||
<b>SpotiFLAC</b> allows you to download Spotify tracks in true FLAC format through services like Tidal, Amazon Music, and Deezer <code>(via Lucida)</code>, as well as Qobuz <code>(via SquidWTF)</code>.
|
||||
</div>
|
||||
|
||||
### [Download](https://github.com/afkarxyz/SpotiFLAC/releases/download/v2.8/SpotiFLAC.exe)
|
||||
### [Download](https://github.com/afkarxyz/SpotiFLAC/releases/download/v3.0/SpotiFLAC.exe)
|
||||
|
||||
#
|
||||
|
||||
|
||||
+6
-4
@@ -550,7 +550,7 @@ class QobuzRegionComboBox(QComboBox):
|
||||
class SpotiFLACGUI(QWidget):
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
self.current_version = "2.9"
|
||||
self.current_version = "3.1"
|
||||
self.tracks = []
|
||||
self.reset_state()
|
||||
|
||||
@@ -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.9 | May 2025")
|
||||
footer_label = QLabel("v3.1 | June 2025")
|
||||
footer_label.setStyleSheet("font-size: 12px; margin-top: 10px;")
|
||||
about_layout.addWidget(footer_label, alignment=Qt.AlignmentFlag.AlignCenter)
|
||||
|
||||
@@ -1355,7 +1355,8 @@ class SpotiFLACGUI(QWidget):
|
||||
|
||||
def download_tracks(self, indices):
|
||||
self.log_output.clear()
|
||||
outpath = self.output_dir.text()
|
||||
raw_outpath = self.output_dir.text().strip()
|
||||
outpath = os.path.normpath(raw_outpath)
|
||||
if not os.path.exists(outpath):
|
||||
self.log_output.append('Warning: Invalid output directory.')
|
||||
return
|
||||
@@ -1363,7 +1364,8 @@ class SpotiFLACGUI(QWidget):
|
||||
tracks_to_download = self.tracks if self.is_single_track else [self.tracks[i] for i in indices]
|
||||
|
||||
if self.is_album or self.is_playlist:
|
||||
folder_name = re.sub(r'[<>:"/\\|?*]', '_', self.album_or_playlist_name)
|
||||
name = self.album_or_playlist_name.strip()
|
||||
folder_name = re.sub(r'[<>:"/\\|?*]', '_', name)
|
||||
outpath = os.path.join(outpath, folder_name)
|
||||
os.makedirs(outpath, exist_ok=True)
|
||||
|
||||
|
||||
+4
-2
@@ -352,7 +352,9 @@ class SquidWTFDownloader:
|
||||
items = data.get("data", {}).get("tracks", {}).get("items", [])
|
||||
priority = {24: 1, 16: 2}
|
||||
for track in items:
|
||||
if track.get("isrc") == isrc:
|
||||
track_isrc = track.get("isrc", "").upper()
|
||||
search_isrc = isrc.upper()
|
||||
if track_isrc == search_isrc:
|
||||
current_prio = priority.get(track.get("maximum_bit_depth"), 3)
|
||||
if selected_track is None or current_prio < priority.get(selected_track.get("maximum_bit_depth"), 3):
|
||||
selected_track = track
|
||||
@@ -646,7 +648,7 @@ class TidalDownloader:
|
||||
return result
|
||||
|
||||
if isrc:
|
||||
isrc_items = [item for item in result["items"] if item.get("isrc") == isrc]
|
||||
isrc_items = [item for item in result["items"] if item.get("isrc", "").upper() == isrc.upper()]
|
||||
|
||||
if len(isrc_items) > 1:
|
||||
hires_items = []
|
||||
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"version": "2.8"
|
||||
"version": "3.0"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user