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

Fix: Provide a proper track number for Deezer tracks if available #1900

Merged

Conversation

awhiemstra
Copy link
Contributor

Use the track_position attribute if it's available as the track number. This ensures we get the right track number for things like multi-disc albums. Without this, tracks seem to follow the order in which they have been added, which does not match the actual track numbering.

Use the track_position attribute if it's available as the track number.
This ensures we get the right track number for things like multi-disc
albums. Without this, tracks seem to follow the order in which they have
been added, which does not match the actual track numbering.
Copy link
Member

@marcelveldt marcelveldt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @awhiemstra !

@marcelveldt marcelveldt merged commit bbe219d into music-assistant:dev Jan 21, 2025
4 checks passed
@awhiemstra awhiemstra deleted the work/ahiemstra/tracknumber branch January 28, 2025 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants