feat: Separate tracks by user

This commit is contained in:
joao
2025-08-15 11:13:42 -03:00
parent 0b240ba5f0
commit 696342e7dc
8 changed files with 41 additions and 2 deletions

View File

@@ -74,6 +74,7 @@ async def handle_download(album_id: str, request: Request, current_user: User =
"url": url,
"name": name_from_spotify,
"artist": artist_from_spotify,
"username": current_user.username,
"orig_request": orig_params,
}
)

View File

@@ -96,6 +96,7 @@ async def handle_download(playlist_id: str, request: Request, current_user: User
"url": url,
"name": name_from_spotify, # Use fetched name
"artist": artist_from_spotify, # Use fetched owner name as artist
"username": current_user.username,
"orig_request": orig_params,
}
)

View File

@@ -74,6 +74,7 @@ async def handle_download(track_id: str, request: Request, current_user: User =
"url": url,
"name": name_from_spotify,
"artist": artist_from_spotify,
"username": current_user.username,
"orig_request": orig_params,
}
)