atldotnet: Strings in ID3v2.4 tags too long?

Hello ๐Ÿ˜ƒ

I ran into a little problem and hope you can help me:

my application does add and also read ID3v2.4 tags to mp3-files with z440.atl.core version 4.9.0 on Windows 10.

It seemed to be working at first, but when strings for artist and album are gettting too long, it seems to be returning empty strings for any โ€œpropertyโ€ (artist, album, title, genre etc.) when trying to read.

Writing of the same files before seems to work properly though, I tested with the default music app on my android phone and with MP3Tag on Windows 10.

Is there something like a maximum string length or something like that?

Or do you need ATL.Logging.Log? Where can I find it?

I have tried this on about 500 files, and the issue happens only when strings for artist and album are pretty long.

This is my code (VB.Net Framework 4.8):

For i = 0 To ExistingFiles.Count - 1
    Dim FileMp3WithPath = ExistingFiles(i)

    Dim MyTrack As ATL.Track = New ATL.Track(FileMp3WithPath)

    Dim Artist As String = MeinTrack.Artist
    Dim Album As String = MeinTrack.Album
    Dim Title As String = MeinTrack.Title
    Dim Genre As String = MeinTrack.Genre

    If Artist = "" Then Artist = "[Unknown Artist]"
    If Album = "" Then Album = "[Unknown Album]"
    If Title = "" Then Title = "[" & System.IO.Path.GetFileName(ExistingFiles(i)) & "]"
    If Genre = "" Then Genre = "[Unknown Genre]"

    MainModule.Content.Add(New ViewModel.MP3FileInfoVM(ExistingFiles(i), Tracknumber, Artist, Album, Title, TimeSpan.FromSeconds(CDbl(MyTrack.Duration)), MyTrack.Year, False, Genre, False, "", 0, "", ""))
Next

Greetings, kafffee

About this issue

  • Original URL
  • State: closed
  • Created 9 months ago
  • Comments: 15 (9 by maintainers)

Most upvoted comments

Thanks @nlogozzo for handling this ๐Ÿ˜‰

Thanks for the support anyways guys, have a nice week

Youโ€™re welcome !

Okay, so thatโ€™s still good news for both of us ๐Ÿ˜„

You dont have to fix anything and I know whatโ€™s up ๐Ÿ˜‚

Thanks for the support anyways guys, have a nice week ๐Ÿ˜€