aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-06-14 15:14:43 +0200
committerMinteck <contact@minteck.org>2022-06-14 15:14:43 +0200
commitd7fc6b0eccb2907d5ed11226323a9c93a90e6978 (patch)
treed3dd55bc2b4952fa325314dcb13440eec3cef0b9
parentee4f177ad9bf549c9d4763ded3334d93d4dd71ae (diff)
downloadelac-d7fc6b0eccb2907d5ed11226323a9c93a90e6978.tar.gz
elac-d7fc6b0eccb2907d5ed11226323a9c93a90e6978.tar.bz2
elac-d7fc6b0eccb2907d5ed11226323a9c93a90e6978.zip
Fuck you Safari
-rwxr-xr-xelac-decode2
-rwxr-xr-xelac-encode2
-rwxr-xr-xelac-play2
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;
diff --git a/elac-play b/elac-play
index 19d91ff..ed9aa88 100755
--- a/elac-play
+++ b/elac-play
@@ -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";
}