1
0
mirror of synced 2026-09-01 00:04:45 +00:00
Commit Graph

234 Commits

Author SHA1 Message Date
Lee Treveil 78c2537025 parse full file to calculate duration
If the Xtra / Info header is not present in the
first frame we have to parse the full stream to
get the total number of frames.
2014-01-22 16:36:48 +00:00
Lee Treveil 048c16a5b2 read duration info from mp3 data 2014-01-20 23:56:00 +00:00
Lee Treveil 5721269692 simplify id3 parser
This lays the foundations required to read the duration info.
The entire first ID3 frame is read in one chunk.
2014-01-20 23:56:00 +00:00
Andrew Kelley 1e4fc7222e add ASF (wma, wmv) support 2013-09-04 12:17:59 -04:00
Andrew Kelley c9e96c8e0b fix crash for unrecognized frame 2013-08-11 11:45:19 -04:00
Lee Treveil 4dea2329f4 return error when we unexpectedly hit the end of the stream 2013-08-11 00:58:38 +01:00
Andrew Kelley 3e462fce3c fix ogg files unexpected end of stream 2013-08-10 17:25:16 -04:00
Andrew Kelley c0486fa4fc id4: handle end of stream correctly. closes #27 2013-08-10 17:25:16 -04:00
Lee Treveil abf78aed71 handle id3v2 with extended headers 2013-05-30 15:25:55 +01:00
Lee Treveil d25615941c add regress test for #18 2013-05-19 20:57:26 +01:00
Lee Treveil 88f2141d91 Reduce size of sample mp3 file 2012-08-22 23:01:15 +01:00
Lee Treveil db5259fdb2 educe size of sample audio file. Fixes #8 2012-08-22 22:50:18 +01:00
Lee Treveil d1bbc1303a Revert "Reduce size of sample audio file. Fixes #7"
This reverts commit d3ec9db48f.
2012-08-22 22:47:57 +01:00
Lee Treveil d3ec9db48f Reduce size of sample audio file. Fixes #7 2012-08-22 22:45:07 +01:00
Lee Treveil 233a16567e wrote test for ogg issue 2012-05-01 03:37:03 +01:00
Lee Treveil 5b26bbb9fd Fixed problem with utf-16-bom encoded strings being read incorrectly. 2011-12-20 14:27:54 +00:00
Lee Treveil d498076972 Syntax changes. 2011-05-25 16:26:18 +01:00
Lee Treveil 6376d84940 Added tests and sample of multiple artwork in id3v2.4. 2011-05-15 19:07:11 +01:00
Lee Treveil 1222eed82c Improved apev2 support. 2011-05-15 18:38:40 +01:00
Lee Treveil c8f28b7f74 Now using my own testy testing framework. Unstable support for apev2. 2011-05-15 15:54:49 +01:00
Lee Treveil 2e5af75b79 Implemented multiple artwork (id4) 2011-05-07 00:38:19 +01:00
Lee Treveil 20ae8f92ea Syntax highlighting! 2011-05-06 15:04:01 +01:00
Lee Treveil 69d598958a Changed how aliased events are emitted, they are now more inline with the 'metadata' event. 2011-05-05 22:44:40 +01:00
Lee Treveil c6024703aa Fixed bug with alltests.js on cygwin. 2011-05-05 17:25:01 +01:00
Lee Treveil 06a67db14f Added flac support. 2011-05-04 23:30:31 +01:00
Lee Treveil d6f4ca8a38 Now works with npm test / other refactorings 2011-05-03 12:32:39 +01:00
Lee Treveil 6431ed8508 now reads iso-8859-1 encoded frames correctly 2011-04-25 12:19:25 +01:00
Lee Treveil ea8fde3c2c Fixed bug where utf-16 strings weren't being read correctly. This
was because common.findZero wasn't aware that the utf-16 zero 'flag'
was $00 $00 and not just $00
2011-04-22 02:28:44 +01:00
Lee Treveil 014388833f Trimmed the fat from vorbis.ogg 2011-04-19 22:07:59 +01:00
Lee Treveil 1e8951ab7f Changed how the aliasing works, emitted alias values are now not 'converted' into arrays. They are left how they where originally. We had to do this because one event could be emitted more than once and so emitting two arrays wouldn't make sense. 2011-04-18 00:28:06 +01:00
Lee Treveil 40fafb8990 Re-wrote tests to not use async_testing, now just using 'assert'. Fixed bug in lib/index.js that was causing TDRC to not emit 'year'. 2011-03-10 18:41:42 +00:00
Lee Treveil bdad0ce200 Can now de-unsynchronize frames in id3v2.4 tags, bumped to 0.0.5 2011-03-03 22:23:29 +00:00
Lee Treveil 7c78c4881c Started work on vorbis support, improved tests. Bumped to v0.0.4. 2011-02-28 19:52:43 +00:00
Lee Treveil ca424492d8 Adding missing files from previous commit, oops. 2010-11-08 15:20:56 +00:00