Fix some tmp path issue
This commit is contained in:
2
index.js
2
index.js
@@ -430,7 +430,7 @@ const parseMPDStream = async (mpdUrl) => {
|
||||
// 2. Parser avec N_m3u8DL-RE pour avoir les bonnes données
|
||||
const baseUrl = mpdUrl.substring(0, mpdUrl.lastIndexOf('/') + 1);
|
||||
const downloaderPath = softwareService.getLocalBinFileInfo('downloader').path;
|
||||
const parseCommand = `${downloaderPath} "${TMP_PATH}/tmp/manifest.mpd" --base-url "${baseUrl}" --skip-download -H "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:142.0) Gecko/20100101 Firefox/142.0"`;
|
||||
const parseCommand = `${downloaderPath} "${TMP_PATH}/manifest.mpd" --base-url "${baseUrl}" --skip-download -H "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:142.0) Gecko/20100101 Firefox/142.0"`;
|
||||
|
||||
let stdout;
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user