Skip to content

[Question] Is it possible to add songs to favorites with a timestamp #393

@schlagmichdoch

Description

@schlagmichdoch

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:

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions