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

Playlist tracks in data model isn't correct #192

Open
NattyNarwhal opened this issue Feb 4, 2024 · 0 comments
Open

Playlist tracks in data model isn't correct #192

NattyNarwhal opened this issue Feb 4, 2024 · 0 comments
Labels
bug Something isn't working refactor Code cleanup

Comments

@NattyNarwhal
Copy link
Member

Tracks are an unordered set in a playlist, which is not quite right. playlistIndex is used as a crutch to deal with that. An ordered set would work, except it precludes duplicate entries of the same track. The corresponding inverse relation isn't quite right iehter, as it's track to single playlist.

See if changing the relations would work. It may involve storing tracks as [Something] transformables.

@NattyNarwhal NattyNarwhal added bug Something isn't working refactor Code cleanup labels Feb 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working refactor Code cleanup
Projects
None yet
Development

No branches or pull requests

1 participant