Fix inverted track_number condition in Bandcamp converter (#3211)
authorDavid Bishop <teancom@users.noreply.github.com>
Mon, 23 Feb 2026 07:23:25 +0000 (23:23 -0800)
committerGitHub <noreply@github.com>
Mon, 23 Feb 2026 07:23:25 +0000 (08:23 +0100)
commit2e91723518a05889fa4d1a96eb21d2003bd4f6cf
treeee624b612455025e8bfd2834064e720ae41cb90c
parent6f198f8c0cb5c22c3e87b206353651a1d202601d
Fix inverted track_number condition in Bandcamp converter (#3211)

The condition checked output.track_number instead of track.track_number,
meaning track numbers from the API were only applied when the output
already had a non-None default.

Co-authored-by: David Bishop <git@gnuconsulting.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
music_assistant/providers/bandcamp/converters.py