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)
Thanks @nlogozzo for handling this ๐
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 ๐