tolo / id3tag

A cross-platform, pure-Dart package for reading ID3 meta data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bad state : No element & not in inlcusive range

VirtualAstronaut opened this issue · comments

[ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: Bad state: No element

parsing Careless whispermp3 gives that warning i checked it has album art/picture but its not detecting.

Unhandled Exception: RangeError (end): Invalid value: Not in inclusive range 264..171467: 619626

parsing never count on me.mp3 gives this error

LINK to songs
code snippet:

  final parser =  ID3TagReader.path(songsList[index].path);
  final tags = parser.readTagSync(); 
  albumArt = Uint8List.fromList(tags.pictures.first.imageData);

Sorry for the exceptionally late reply. I've located the problem and a fix will be available shortly.

yeah, no worries :D