Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Album field to TrackSimple #170

Open
tikbox opened this issue Sep 18, 2023 · 2 comments
Open

Add Album field to TrackSimple #170

tikbox opened this issue Sep 18, 2023 · 2 comments

Comments

@tikbox
Copy link

tikbox commented Sep 18, 2023

I would like to request an update for the new Spotify API. It appears that the TrackSimple object is currently missing the Album field.

Could you please add the Album field to the TrackSimple object? This addition would greatly enhance the functionality and completeness of the API.

Thank you for your attention to this matter.

Best regards,

@tikbox tikbox changed the title Added Album member to SimpleTrack Add Album member to SimpleTrack Sep 18, 2023
@tikbox tikbox changed the title Add Album member to SimpleTrack Add Album member to TrackSimple Sep 18, 2023
@tikbox tikbox changed the title Add Album member to TrackSimple Add Album field to TrackSimple Sep 18, 2023
@hayribakici
Copy link
Collaborator

hayribakici commented Sep 21, 2023

The TrackSimple object cannot have an Album child object, because it would have a circular reference. While looking in the spotify documentation, it is stated where TrackSimple objects are required (e.g. in Album). I see however, that the recentlyPlayed endpoint does return an array of Track objects, which themselves contain an Album (and currently the PlayHistory dart object has an array of TrackSimple). Is that what you are referring to @tikbox ?

@rinukkusu
Copy link
Owner

Hmm, this also plays into #179 and maybe #172

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants