                 if (line.length <= 1) {
                     continue;
                 }
+
+                // discard tags pertaining to a playlist and not a fragment, that require no further processing
+                if (line.indexOf(HEADER) == 0 || line.indexOf(TARGETDURATION) == 0 || line.indexOf(VERSION) == 0) {
+                    continue;
+                }
+
                 if (line.indexOf(SEQNUM) == 0) {
                     seqnum = parseInt(line.substr(SEQNUM.length));
-                    tags.push(line);
                 } else if (line.indexOf(DISCONTINUITY_SEQ) == 0) {
                     continuity_index = parseInt(line.substr(DISCONTINUITY_SEQ.length));
-                    tags.push(line);
                 } else if (line.indexOf(BYTERANGE) == 0) {
                     var params : Array = line.substr(BYTERANGE.length).split('@');
                     if (params.length == 1) {

        public static const FRAGMENT : String = '#EXTINF:';
        /** Header tag that must be at the first line. **/
        public static const HEADER : String = '#EXTM3U';
        /** Starttag for a level. **/
        public static const LEVEL : String = '#EXT-X-STREAM-INF:';
        /** Tag that delimits the end of a playlist. **/

                                break;
                        }
                    }
                    tag_list.push(line);
                } else if (line.indexOf(PROGRAMDATETIME) == 0) {
                    // CONFIG::LOGGING {
                    // Log.info(line);
