feat: Separate tracks by user
This commit is contained in:
@@ -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,
|
||||
}
|
||||
)
|
||||
|
||||
@@ -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,
|
||||
}
|
||||
)
|
||||
|
||||
@@ -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,
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user