Add sampleRate and profile extraction for audio files

- Extract sampleRate and profile from audio streams in ffprobe output
- Store sampleRate and profile in AudioFile objects
- Expose sampleRate and profile through API endpoints
- Add JSDoc documentation for new fields
This commit is contained in:
Quentin King 2026-01-03 01:19:05 -06:00
parent 122fc34a75
commit fadd14484e
4 changed files with 18 additions and 5 deletions

View file

@ -61,6 +61,8 @@ const libraryItemsBookFilters = require('../utils/queries/libraryItemsBookFilter
* @property {string} timeBase
* @property {number} channels
* @property {string} channelLayout
* @property {number} sampleRate
* @property {string} profile
* @property {ChapterObject[]} chapters
* @property {Object} metaTags
* @property {string} mimeType