Author Topic: BASS_ChannelGetTags(): wrong disc numbers on MP4 AAC/ALAC streams  (Read 389 times)

Klaus

  • Posts: 11
Hello,

Using the Tags Add-on Version 18 with format "%DISC" on MP4 (m4a) file formats (AAC and ALAC) I get wrong disc numbers.
Update: The same wrong numbers are returned, if I use BASS_ChannelGetTags(stream, BASS_TAG_MP4) directly.

If the number is 1194 = 0x4AA, the Add-on returns the string "170" = 0xAA.
In case of 2194 = 0x892 a value of "146" = 0x92 is returned.

Thus it seems that only the lowest byte of the disc number is read.

On mp3 and flac files, disc numbers above 255 are read correctly.

Thanks and best regards,
Klaus
« Last Edit: 14 Aug '23 - 16:13 by Klaus »

Ian @ un4seen

  • Administrator
  • Posts: 26019
Here's a BASS update that should fix the problem:

   www.un4seen.com/stuff/bass.zip

Klaus

  • Posts: 11
Thank you for taking care of it so quickly. I really appreciate it. However, I am using macOS (x86_64 and arm64), so I can't check your bugfix right now.

Klaus

Ian @ un4seen

  • Administrator
  • Posts: 26019
Here's a macOS version of the same update:

   www.un4seen.com/stuff/bass-osx.zip

Klaus

  • Posts: 11
Many thanks. I can confirm that the update fixes the issue.