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

33 Commits

Author SHA1 Message Date
glebrock e191ae87e8 #2574: add support for correctly populating the 'metadata.common.grouping' field for a file with an Tunes IDv2.2 tag with the 'GP1' frame 2026-02-02 20:18:17 +01:00
Borewit 4909b6fe12 fix(id3v2): prevent crash when no tag frames present
Fix TypeError: Cannot read properties of undefined (reading 'filter') by defaulting missing frame/tag collections to empty arrays/objects.

- Add MP3 sample without tags + regression test
- Update related TS configs and dependencies/lockfile
2026-01-28 19:54:25 +01:00
Borewit 8c822709d3 Add ID3v2 chapter support 2026-01-24 19:48:05 +01:00
Borewit 5445cbb816 Support variable length PCNT and POPM numeric values.
Add `common.playCounter`
2025-09-15 20:36:21 +02:00
Borewit c7fd893a22 Add support for ID3v2 SYLT frame
Improve and extend generic comment mapping
2024-07-20 15:32:17 +02:00
Borewit e705fad41f Add unit for ID3v2.4 GRP1 2024-05-29 21:16:04 +02:00
Borewit be2222c0e7 Handle invalid (odd octet length) UTF-16 string
Register a warning instead of a fatal error.

Resolves Borewit/music-metadata#979
2022-01-17 15:58:51 +01:00
Borewit 48f9571c21 Map tag ID3v2.2 TBP to common.bpm
Also ensures `common.bpm` is a numeric value.
2022-01-12 22:13:17 +01:00
Borewit b67e7a2bf2 Borewit/music-metadata#828 Handle invalid LAME version. 2021-06-05 12:15:21 +02:00
Borewit 46b47a2421 Borewit/music-metadata#802 Add unit test for mapping "TXXX:ISRC" in TD3v2.4 header. 2021-04-26 11:48:49 +02:00
Borewit 59c51a3ccc Add unit test handling ID32.2 tag ID's in ID32.3 header 2021-04-18 13:07:21 +02:00
Borewit 67535ef865 Borewit/music-metadata#668 Add unit tests 2021-02-17 20:16:28 +01:00
Borewit 8e2fc6db0b Improve parsing LAME header 2021-02-08 18:18:38 +01:00
Borewit 2c1b925ce7 Borewit/music-metadata#691 Fix handling empty ID3v2 PRIV tag. 2020-12-15 07:39:32 +01:00
Borewit b69f38d289 Add MP1, MP2, MP3 format tests 2020-12-06 14:09:02 +01:00
Borewit e11f278ebc Borewit/music-metadata#681: Fix MP3 Xing/LAME header handling. 2020-12-06 14:09:02 +01:00
Borewit a25a2f7830 Fix decoding of picture format text field in id3v2.2 header. (#615) 2020-09-11 19:13:51 +02:00
Borewit ec65060fc5 Handle invalid LAME header. (#555)
Handle invalid LAME header. (#554, #555)
2020-08-09 12:13:44 +02:00
ozelot379 6d1dc0051c Add and fix some mappings 2020-06-29 20:58:11 +02:00
Borewit f0434c4ef8 Add unit tests, using shrunken sample 2020-05-10 16:41:41 +02:00
Borewit 71751acd76 Fix handling empty id3v2.x TXXX frame.
Fixes #471.
2020-03-24 09:03:28 +01:00
Borewit 82cea30ca1 Fix decoding of WXXX frames, UTF encoding only applies to description, not to the URL.
Fixes #453.
2020-03-10 08:49:39 +01:00
Borewit 983f5b6c6a Support non-standard null separator for ID3v2.3 tag values.
Resolves #432.
2020-02-02 15:16:39 +01:00
Borewit 2959ab18c1 Prevent infinite loop in ADTS frame parser if header.frameLength < 7
Fixes #430
2020-02-01 20:55:34 +01:00
Borewit 6cd4d845d7 Fix decoding of ID3v2 GEOB frame. Fixes #406. 2020-01-12 11:29:31 +01:00
Borewit fbdf1d0a45 Fix picture MIME-type
#389
2020-01-08 21:06:53 +01:00
Borewit 2e25035f0b Fix parsing empty ID3 frame data
Issue #381
2019-12-28 13:17:52 +01:00
Borewit 09e4043df9 Add support for APEv1 tag header 2019-12-19 21:50:48 +01:00
Borewit 176833e582 Fix decoding bit-rate of MPEG version 2.5 2019-12-09 20:07:09 +01:00
Borewit 707fcab3c4 #331 Add workaround for item-count in APEv2 header 2019-11-19 20:43:32 +01:00
Borewit 764818346f #264 Add unit test for APEv2 header & Lyric3v2 header (in MP3) 2019-09-26 21:11:11 +02:00
Borewit 8f493d27b5 Guess file type on content if ot could to be derived from the file-path (extension) 2019-09-04 21:06:08 +02:00
Borewit 781c663866 #174 Add unit test 2018-11-24 14:36:24 +01:00