This patch hides the track number for tracks that don't have it in the album, playlist, track and metadata views.
Details
Details
- Reviewers
mgallien - Group Reviewers
Elisa - Commits
- R255:0596c053f643: Disable track number for songs that don't have it
Diff Detail
Diff Detail
- Repository
- R255 Elisa
- Branch
- hide_track_number (branched from master)
- Lint
No Linters Available - Unit
No Unit Test Coverage
Comment Actions
Thanks!
It is actually Elisa that is initializing the value with -1 (see musicaudiotrack.cpp if you are interested). The playlist (PlayListEntry.qml) already does the check, but does != -1. Could you change your patch to check for >-1 for all three files? This way we would handle the case if a track is incorrectly tagged with a track number 0.
Comment Actions
Check for > -1 to catch tracks tagged with a track number 0
Also include PlayListEntry.qml