moritz-weber / mucke

mucke - android music player
GNU General Public License v3.0
226 stars 12 forks source link

ID Tag Track No with leading "0" fails #100

Closed aschiller2 closed 1 year ago

aschiller2 commented 1 year ago

An ID Tag with a leading "0" (e.g. "09" on track no is interpreted as track no "0" instead of the correct integer (here "9")

To Reproduce Steps to reproduce the behavior:

  1. Edit tag on a random mp3 file, set track no to "01"
  2. Rescan Library
  3. Goto to album
  4. edited track is now viewed as track no "0" (instead of 1)

Expected behavior track no should ignore leading zeroes

Screenshots If applicable, add screenshots to help explain your problem.

Smartphone

aschiller2 commented 1 year ago

Sorry.. I now noticed, that this bug seems to happen only with track nos "08" and "09" - most probably the system is trying to interpret numbers with leading zero as octal numbers.