This is the code that catches the mismatch:
Code: Select all
If Tracks.Count <> Int(TagListLines / MaskLines) Then SDB.MessageBox "Number of Lines in Tag-List and Track-List doesn't fit!", mtError, Array(mbOK)
TagListLines= 308 (Should be 1000 according to note pad)
What fixed it was that I opened the TXT file in Notepad++ and selected "Encode in ANSI", then re-saved it as a TXT file. So it seems like the TXT file has to be encoded in the ANSI format, otherwise the line count comes up wrong.
After Encoding TXT file in ANSI: