I'm working with the Spotify Web Api in C# and I want to find out which tracks of my playlists are disabled. I know how to get all the FullTrack-Objects from my playlists, but I don't know which property tells me whether the track is disabled or enabled. Here's the link to the FullTrack-Object documentation: https://developer.spotify.com/documentation/web-api/reference/tracks/get-track/
In the following picture you see what i mean with disabled/enabled tracks:
The disabled track 'Get Up' is greyed out and I can't play it. The enabled track 'Glitch Gang' is not greyed out and playable.
Note: Both tracks are not local!
A FullTrack-Object has the property is_playable... But that seems to be always null no matter what.
Then I tried to identify disabled tracks according to the available_markets property. I thought those would be null or empty when the track is disabled, but that wasn't the case. Tracks that were enabled sometimes also had an empty array of available_markets.
So I'm stuck here... I don't know how or if it's even possible to differentiate disabled/enabled tracks with the Spotify Web Api. Does Anyone have a answer to that?