-
Notifications
You must be signed in to change notification settings - Fork 123
Description
Thanks for this project!
I have a CSV file with the columns ISRC code and added at datetimestamps containing all my favorite tracks that I exported from another streaming service. I would now love to reproduce my favorites "added at" history in Tidal.
For this, I need to be able to add songs to the users favorite tracks with a modified addedAt attribute.
Currently, the add_track method does not include any parameters but the track id:
Lines 370 to 372 in dd803f8
| return self.requests.request( | |
| "POST", f"{self.base_url}/tracks", data={"trackId": ",".join(track_id)} | |
| ).ok |
I'm not sure about the used API call but for other POST calls this seems to be possible via a meta attribute:
/userCollections/{id}/relationships/tracks:
{
"data": [
{
"id": "string",
"meta": {
"addedAt": "2025-12-15T18:49:27.670Z"
},
"type": "tracks"
}
]
}Do you think this would be possible for favorite tracks as well and would you be open to integrate this into your library?