audiobookshelf/test/server/utils
Quentin King 194f0189fc feat: Embed AUDIBLE_ASIN metadata in m4b files
- Add AUDIBLE_ASIN tag to FFmpeg metadata object
- Use -movflags use_metadata_tags to preserve custom tags in mp4/m4b
- Fix .m4b extension detection for mp4 format handling
- Remove redundant -map_metadata 0 option
- Update tests to match new FFmpeg options

The mp4 muxer in FFmpeg only writes standard iTunes tags by default.
Custom tags like AUDIBLE_ASIN are silently dropped unless
use_metadata_tags is specified.

Tested and verified with ffprobe and mediainfo on clean m4b files.
2026-01-03 04:18:42 -06:00
..
parsers Add test for parseOpfMetadata OPF v3 author 2025-03-14 17:32:32 -05:00
ffmpegHelpers.test.js feat: Embed AUDIBLE_ASIN metadata in m4b files 2026-01-03 04:18:42 -06:00
fileUtils.test.js Fix .ignore file causing ignores outside the directory 2025-05-04 22:43:44 +02:00
scandir.test.js Add test for grouping book library items 2024-12-03 17:21:57 -06:00
stringifySequeslizeQuery.test.js fix stringifySequelizeQuery and add tests 2025-02-15 23:57:27 +02:00