From 234653b549461484c4c5ff969582b45b3e3b13af Mon Sep 17 00:00:00 2001 From: Mark Cooper Date: Fri, 27 Aug 2021 14:35:16 -0500 Subject: [PATCH] Add m4a filetype --- client/package.json | 2 +- package.json | 2 +- server/utils/scandir.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/package.json b/client/package.json index 206730b0..69a1ad6e 100644 --- a/client/package.json +++ b/client/package.json @@ -1,6 +1,6 @@ { "name": "audiobookshelf-client", - "version": "0.9.85-beta", + "version": "0.9.86-beta", "description": "Audiobook manager and player", "main": "index.js", "scripts": { diff --git a/package.json b/package.json index 42684467..6e66a91e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "audiobookshelf", - "version": "0.9.85-beta", + "version": "0.9.86-beta", "description": "Self-hosted audiobook server for managing and playing audiobooks.", "main": "index.js", "scripts": { diff --git a/server/utils/scandir.js b/server/utils/scandir.js index ae7b9ce8..927e0e80 100644 --- a/server/utils/scandir.js +++ b/server/utils/scandir.js @@ -3,7 +3,7 @@ const dir = require('node-dir') const Logger = require('../Logger') const { cleanString } = require('./index') -const AUDIO_FORMATS = ['m4b', 'mp3'] +const AUDIO_FORMATS = ['m4b', 'mp3', 'm4a'] const INFO_FORMATS = ['nfo'] const IMAGE_FORMATS = ['png', 'jpg', 'jpeg', 'webp'] const EBOOK_FORMATS = ['epub', 'pdf']