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

33 Commits

Author SHA1 Message Date
Borewit 5f67a6d3d5 Add missing MIME-type video/matroska 2025-05-15 20:34: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 4456defc99 Dynamic import parsers 2024-09-05 20:25:18 +02:00
Borewit 1a713b7997 Add `option.mkvUseIndex to use index to skip Matroska cluster elements 2024-08-15 18:24:42 +02:00
Borewit 1fe4049308 Parse EBML (Matroska, webm) using async notification 2024-08-15 17:48:22 +02:00
Borewit b5b84ff31e Implement hack to speed up Matroska parsing
Stop reading until we receive a container element
2024-08-15 17:48:22 +02:00
Borewit b080e8ade0 Write all Matroska DTD in hexadecimal notation 2024-08-15 14:25:22 +02:00
Borewit 19820a7804 Separate EBML from Matroska 2024-08-14 18:13:53 +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 0881c8b685 Prevent Matroska parser from crashing when the file size is unknown 2024-07-18 22:22:00 +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
Bjorn Stromberg eb0f8e61b8 feat: convert most Buffer usage to Uint8Array (#2103)
Convert most Buffer usage to Uint8Array and `uint8array-extras` to fill functionality gaps
* Update `token-types` to version 6.0.0
* Update `strtok3`  to version 7.1.0
* Update `file-type` to version 19.1.0
* Update dependency diagram to desired Node.js free via primary entry point

Co-authored-by: Borewit <Borewit@users.noreply.github.com>
2024-07-08 19:53:02 +02:00
Bjorn Stromberg 917d835848 Run CI on pushes and PRs to master (#2105)
* run CI on pushes and pull requests to master (fixes #2104)
* use up-to-date versions of github actions
* update node.js CI badge to reflect status on master
* ignore engines with yarn install on appveyor since it's still on node 16
* remove extraneous whitespace
* CI: Update Node.js version used in build to v22

Updates syntax in unit tests to comply with updates TypeScript

---------

Co-authored-by: Borewit <Borewit@users.noreply.github.com>
2024-06-30 11:54:33 +02:00
certuna a1ebde2fed Update MatroskaTagMapper.ts 2023-11-01 12:05:06 +01:00
Borewit 3dc4ca9656 Handle Matroska file without duration
Resolves #1463
2023-01-05 12:47:02 +01: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
Will Smidlein 37e7962165 Handle edge case where tag target doesn't exist 2022-01-27 10:11:54 +01:00
Borewit 5ae7f3817d Minor source code improvements 2021-12-10 17:50:09 +01:00
Borewit 3ef035c330 Ignore leading nulls in UTF-8 values
Allow leading null characters in UTF-8 fields as specified in EBML 11.1.3. Terminating Element Data.

Resolves: #897
2021-08-30 21:46:14 +02:00
Borewit 2d1d8c250e Fix default value type mapping in Matroska parser.
Fix: Borewit/music-metadata#835
2021-06-27 10:07:06 +02:00
Borewit 92fda774f3 Improve and fix Matroska tag mapping 2021-06-26 16:04:13 +02:00
Borewit 4133508c67 Borewit/music-metadata#765 Support Matroska stream 2021-02-25 20:40:23 +01:00
Borewit 1b33e6371e Add format.StreamInfo 2020-01-18 15:05:20 +01:00
Borewit 21a9fc7b02 Map Matroska-segment-title to common.title. Implements #407. 2020-01-12 16:12:20 +01:00
Borewit 9008262f77 Adapt to strtok3 v5: API changes: tokenizer.fileInfo 2019-12-30 11:05:55 +01:00
ozelot379 0507ffbc74 fix multiple mkv audiotracks 2019-12-29 10:39:46 +01:00
Borewit 96ed6909bd Compact Matroska (EBML) parser 2019-12-26 08:51:17 +01:00