Closed moffatman closed 3 years ago
@sanket143 Going to merge it?
thanks, @moffatman and @4-alok for contributing
I came from #1 and still have the issue where it only outputs the "Version". I'm trying to display the image from the mp3 but the data isn't there.
@StarBattle08 will it be possible for you to share that mp3 file?
First of all, thanks for updating the package. #14 It properly outputs the tags now. But i can't seem to display the image cover due to invalid base64 🤷. Is it because it has to do with it being encoded by itunes? I tried some other mp3 files and it works fine.
the tags output:
{Version: v2.2.0, COMM: {eng: {iTunPGAP: 0, iTunNORM: 000002E1 000002F2 00002C8D 00002B28 001A5500 001A5500 00008D71 00008D1F 003038E8 003038E8, iTunSMPB: 00000000 00000210 00000956 000000000927DB9A 00000000 0124F860 00000000 00000000 00000000 00000000 00000000 00000000}}, EncodedBy: iTunes 12.8.2.3, APIC: {mime: JPG\^C, textEncoding: 0, picType: , description: ÿØÿà , base64: EEpGSUYAAQEBAEgASAAA/9sAQwAIBgYHBgUIBwcHCQkICgwUDQwLCwwZEhMPFB0aHx4dGhwcICQuJyAiLCMcHCg3KSwwMTQ0NB8nOT04MjwuMzQy/9sAQwEJCQkMCwwYDQ0YMiEcITIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIy/8AAEQgC0AUAAwEiAAIRAQMRAf/EAB8AAAEFAQEBAQEBAAAAAAAAAAABAgMEBQYHCAkKC//EALUQAAIBAwMCBAMFBQQEAAABfQECAwAEEQUSITFBBhNRYQcicRQygZGhCCNCscEVUtHwJDNicoIJChYXGBkaJSYnKCkqNDU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6g4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2drh4uPk5ebn6Onq8fLz9PX29/j5+v/EAB8BAAMBAQEBAQEBAQEAAAAAAAABAgMEBQYHCAkKC//EALURAAIBAgQEAwQHBQQEAAECdwABAgMRBAUhMQYSQVEHYXETIjKB<…>
The frame size wasn't being calculated correctly. For images this meant it was not getting all the image data, resulting in corrupted images.
The text encoding wasn't being read properly, resulting in foreign characters being lost.
Include @4-alok's null-safety work.