diff options
author | Minteck <contact@minteck.org> | 2022-06-14 15:14:43 +0200 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2022-06-14 15:14:43 +0200 |
commit | d7fc6b0eccb2907d5ed11226323a9c93a90e6978 (patch) | |
tree | d3dd55bc2b4952fa325314dcb13440eec3cef0b9 | |
parent | ee4f177ad9bf549c9d4763ded3334d93d4dd71ae (diff) | |
download | elac-d7fc6b0eccb2907d5ed11226323a9c93a90e6978.tar.gz elac-d7fc6b0eccb2907d5ed11226323a9c93a90e6978.tar.bz2 elac-d7fc6b0eccb2907d5ed11226323a9c93a90e6978.zip |
Fuck you Safari
-rwxr-xr-x | elac-decode | 2 | ||||
-rwxr-xr-x | elac-encode | 2 | ||||
-rwxr-xr-x | elac-play | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/elac-decode b/elac-decode index 4963806..fc4c623 100755 --- a/elac-decode +++ b/elac-decode @@ -73,7 +73,7 @@ for (let input of inputs) { console.log("Decoding \"" + inputFile + ":/" + input._id + "\"..."); - let outFile = os.tmpdir() + "/elac-play-temp/" + input._id + ".ogg"; + let outFile = os.tmpdir() + "/elac-play-temp/" + input._id + ".mp3"; if (input.lossless) { outFile = os.tmpdir() + "/elac-play-temp/" + input._id + ".flac"; } diff --git a/elac-encode b/elac-encode index fc421f6..9d8cd3f 100755 --- a/elac-encode +++ b/elac-encode @@ -98,7 +98,7 @@ for (let input of valid_inputs) { let fileId = uuid(); let lossless = false; - let outFile = os.tmpdir() + "/elac-encode-temp/" + fileId + ".ogg"; + let outFile = os.tmpdir() + "/elac-encode-temp/" + fileId + ".mp3"; if (streams[0]['codec_name'].includes("pcm") || streams[0]['codec_name'].includes("flac") || streams[0]['codec_name'].includes("alac") || streams[0]['codec_name'].includes("dts")) { lossless = true; @@ -73,7 +73,7 @@ for (let input of inputs) { console.log("Decoding \"" + inputFile + ":/" + input._id + "\"..."); - let outFile = os.tmpdir() + "/elac-play-temp/" + input._id + ".ogg"; + let outFile = os.tmpdir() + "/elac-play-temp/" + input._id + ".mp3"; if (input.lossless) { outFile = os.tmpdir() + "/elac-play-temp/" + input._id + ".flac"; } |