similarity measure with two features
Yes, multiple different ways.

First, we could consider (id-artist,id-track) items as the elements of our set, and compute the Jaccard similarity by comparing those sets. Note that if the artist's id gives us no additional information beyond the track id, this will give the same result, whereas it will give different results if a particular track id could be associated with multiple artists.

Second, we could compute the Jaccard similarity on tracks, and then the Jaccard similarity on artists, and then add the two (probably with some constant coefficient scaling the two). This way two users who listen to the same artists, but none of the same songs by those artists, will be rated as more similar than users who listen to different songs by different artists.

What coefficient makes sense? Well, you could start with 0.5 for each (i.e. just .5*similarity_artist+.5*similarity_track), see if that's reasonable, and adjust if it's not.