1
0
mirror of synced 2026-09-10 20:49:43 +00:00
Commit Graph

40 Commits

Author SHA1 Message Date
Borewit 81dca61fee Fix small code smalls, update Biome to 2.3.11 2026-01-06 15:50:42 +01:00
Borewit 5445cbb816 Support variable length PCNT and POPM numeric values.
Add `common.playCounter`
2025-09-15 20:36:21 +02:00
Borewit a9094e9829 Indicate on every media file if it contains an audio and/or video stream.
Introduces: `format.hasAudio` and `format.hasVideo`
2025-06-30 17:33:09 +02:00
Borewit 5e93e8e1d8 Move supported MIME-types declaration to parser implementations 2025-04-10 18:24:45 +02:00
Justinas Delinda 7fc74efc5b simplify parser loader 2025-04-01 20:01:38 +02:00
Justinas Delinda 9d2d2a7c69 Refactor enums to mapped objects 2025-04-01 19:57:20 +02:00
Borewit cff652760a Update dependency strtok3 to version 10.0.0 2024-12-01 12:20:06 +01:00
Borewit d06111add7 Include numberOfSamples for CBR encoded MP3 2024-11-10 15:25:23 +01:00
Borewit 4456defc99 Dynamic import parsers 2024-09-05 20:25:18 +02:00
Borewit 8fe9ac2057 Implement own custom Error using ADT style implementation 2024-08-29 17:48:28 +02:00
Borewit 3937085154 Enable TypeScript options strict & verbatimModuleSyntax 2024-08-12 08:54:43 +02:00
Borewit 89ff43a053 Migrate eslint to biome, fix lint errors 2024-08-08 19:15:49 +02:00
Borewit d6c275509d Remove remaining Buffer usages.
Add lint rule to prevent global Buffer usage.
2024-07-12 12:01:12 +02:00
Borewit 573c505a84 Prevent subpath imports, for Angular compatibility 2024-07-09 21:26:38 +02:00
Borewit 7cdebd1ca6 Migrate from CommonJS to ES Modules 2022-02-27 15:27:40 +01:00
Borewit 65ba6661fa Normalize import debug towards ES module compatibility 2022-02-27 13:28:45 +01:00
Borewit 19366b896c Fix lint code style issues
Parse TypeScript files recursive.
Fix duplicate interface declarations.
2022-01-29 19:02:24 +01:00
Borewit 5ae7f3817d Minor source code improvements 2021-12-10 17:50:09 +01:00
Borewit 973e90978c Use Uint8Array instead of Buffer where reasonable possible 2021-07-22 15:34:01 +02:00
Borewit ac47b0fb62 Convert static methods from Util to module functions
Normalize the util is imported.
2021-07-11 17:04:36 +02:00
Borewit b67e7a2bf2 Borewit/music-metadata#828 Handle invalid LAME version. 2021-06-05 12:15:21 +02:00
Borewit 8e2fc6db0b Improve parsing LAME header 2021-02-08 18:18:38 +01:00
Borewit abbaafd18c Get rid of assert dependency. 2021-01-10 21:10:25 +01:00
Borewit 94112e3c06 Remove unused files & move WaveParser to wav package 2020-12-30 15:17:35 +01:00
Borewit e11f278ebc Borewit/music-metadata#681: Fix MP3 Xing/LAME header handling. 2020-12-06 14:09:02 +01:00
Borewit ec65060fc5 Handle invalid LAME header. (#555)
Handle invalid LAME header. (#554, #555)
2020-08-09 12:13:44 +02:00
Borewit 2655addd9d Adjust minimum MPEG frame size to 163 bytes, to prevent frames to be skipped. (#581) 2020-08-09 12:05:41 +02:00
Borewit 97f3a26aea Fix VBR codec profile detection, displat V2 instead of V2.3 2020-02-01 21:01:18 +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 ca88b489db Update to strtok3 v6 API 2020-01-25 21:25:18 +01:00
Borewit 9008262f77 Adapt to strtok3 v5: API changes: tokenizer.fileInfo 2019-12-30 11:05:55 +01:00
Borewit 9ba5abaf3c Update to EndOfStream error 2019-12-24 17:17:42 +01:00
Borewit 72d7a8cfed Update strtok3 & token-types 2019-12-23 19:37:10 +01:00
Borewit a119ef5524 Enhance MPEG (MP3) codec description 2019-12-09 20:30:40 +01:00
Borewit 176833e582 Fix decoding bit-rate of MPEG version 2.5 2019-12-09 20:07:09 +01:00
Borewit cc383228b6 Prevent usage of IgnoreType token
Address #309
2019-10-31 20:11:26 +01:00
Borewit 9ba31fc797 Combine JavaScript & TypeScript folder in /lib 2019-09-07 18:30:20 +02:00
Borewit ceed3a9b3b #25: Avoid TypeScripts files ending up in NPM module 2017-08-12 22:05:38 +02:00
Borewit 8488923a0f Fix tslint errors, update dependencies 2017-08-08 11:35:05 +02:00
Borewit be574eaf85 Move TypeScript to lib directory 2017-07-17 10:32:00 +02:00