mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-01-08 00:08:14 +01:00
Fix TONE_PATH in toneProber
This commit is contained in:
parent
e11629a161
commit
b2b5111c50
@ -138,7 +138,7 @@ function parseProbeDump(dumpPayload) {
|
|||||||
|
|
||||||
module.exports.probe = (filepath, verbose = false) => {
|
module.exports.probe = (filepath, verbose = false) => {
|
||||||
if (process.env.TONE_PATH) {
|
if (process.env.TONE_PATH) {
|
||||||
ffprobe.TONE_PATH = process.env.TONE_PATH
|
tone.TONE_PATH = process.env.TONE_PATH
|
||||||
}
|
}
|
||||||
|
|
||||||
return tone.dump(filepath).then((dumpPayload) => {
|
return tone.dump(filepath).then((dumpPayload) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user