4 Commits

Author SHA1 Message Date
Tim Rae
299cc3209f Don't specify point version of spotify and tidal APIs
So we don't have to put out a new release to update the dependency
2025-12-31 15:01:30 +01:00
Tim Rae
46771aefc8 Bump version to 1.0.6 2025-12-31 14:59:03 +01:00
Tim Rae
eb745eab6f Update tidalapi version 2025-12-31 14:54:44 +01:00
Alex Camilleri
9ff181ae6e Playlist name in txt output (#140) 2025-10-20 09:36:04 +02:00
3 changed files with 6 additions and 3 deletions

1
.gitignore vendored
View File

@@ -3,6 +3,7 @@ config.yml
config.yaml config.yaml
.cache* .cache*
.session.yml .session.yml
songs not found.txt
# Byte-compiled / optimized / DLL files # Byte-compiled / optimized / DLL files
__pycache__/ __pycache__/

View File

@@ -4,12 +4,12 @@ build-backend = "setuptools.build_meta"
[project] [project]
name = "spotify_to_tidal" name = "spotify_to_tidal"
version = "1.0.4" version = "1.0.6"
requires-python = ">= 3.10" requires-python = ">= 3.10"
dependencies = [ dependencies = [
"spotipy~=2.24.0", "spotipy~=2.24",
"tidalapi==0.8.8", "tidalapi==0.8",
"pyyaml~=6.0", "pyyaml~=6.0",
"tqdm~=4.64", "tqdm~=4.64",
"sqlalchemy~=2.0", "sqlalchemy~=2.0",

View File

@@ -281,7 +281,9 @@ async def search_new_tracks_on_tidal(tidal_session: tidalapi.Session, spotify_tr
color = ('\033[91m', '\033[0m') color = ('\033[91m', '\033[0m')
print(color[0] + "Could not find the track " + song404[-1] + color[1]) print(color[0] + "Could not find the track " + song404[-1] + color[1])
file_name = "songs not found.txt" file_name = "songs not found.txt"
header = f"==========================\nPlaylist: {playlist_name}\n==========================\n"
with open(file_name, "a", encoding="utf-8") as file: with open(file_name, "a", encoding="utf-8") as file:
file.write(header)
for song in song404: for song in song404:
file.write(f"{song}\n") file.write(f"{song}\n")