mirror of
https://github.com/IrosTheBeggar/mStream.git
synced 2025-10-27 07:31:02 +00:00
add opus support
This commit is contained in:
parent
54cb8e6f9a
commit
35b330e3f3
@ -28,7 +28,7 @@ const crypto = require('crypto');
|
||||
const mime = require('mime-types');
|
||||
|
||||
// Only parse these file types
|
||||
const fileTypesArray = ["mp3", "flac", "wav", "ogg", "aac", "m4a"];
|
||||
const fileTypesArray = ["mp3", "flac", "wav", "ogg", "aac", "m4a", "opus"];
|
||||
|
||||
// Setup DB layer
|
||||
// The DB functions are decoupled from this so they can easily be swapped out
|
||||
|
||||
@ -4,7 +4,7 @@ const fe = require("path");
|
||||
const archiver = require('archiver');
|
||||
const winston = require('winston');
|
||||
|
||||
const masterFileTypesArray = ["mp3", "flac", "wav", "ogg", "aac", "m4a"];
|
||||
const masterFileTypesArray = ["mp3", "flac", "wav", "ogg", "aac", "m4a", "opus"];
|
||||
|
||||
exports.setup = function(mstream, program) {
|
||||
mstream.post('/download-directory', (req, res) => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user