aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-02-09 17:01:21 +0100
committerMinteck <contact@minteck.org>2022-02-09 17:01:21 +0100
commit8f54d903fb3470823a5e4d6ff4655de009836245 (patch)
treeaadb6bb08a343c98c31eaa2de6b5ec685c14fa68
parenta345efd09990c9a9ffb546caf4c0014ea1452449 (diff)
downloadyoutoo-8f54d903fb3470823a5e4d6ff4655de009836245.tar.gz
youtoo-8f54d903fb3470823a5e4d6ff4655de009836245.tar.bz2
youtoo-8f54d903fb3470823a5e4d6ff4655de009836245.zip
Doc fixes
-rw-r--r--.idea/vcs.xml6
-rw-r--r--README.md5
-rw-r--r--index.js1
3 files changed, 10 insertions, 2 deletions
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..94a25f7
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+ <component name="VcsDirectoryMappings">
+ <mapping directory="$PROJECT_DIR$" vcs="Git" />
+ </component>
+</project> \ No newline at end of file
diff --git a/README.md b/README.md
index d0c2f1e..a3b0ca9 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@ YouToo takes a YouTube playlist ID, and:
* syncs; and
* adds metadata
-to the files.
+to songs.
## Requirements
* NodeJS 14 or later
@@ -17,6 +17,8 @@ to the files.
## Usage
First, go to the folder where you downloaded the source code (the folder where the "index.js" file is located). Also make sure `node`, `ffmpeg`, `yt-dlp` and `magick` are in your `PATH`
+> Running `npm install` shouldn't be required, but if you encounter issues you may need to run it.
+
On Windows (PowerShell):
```
node .\index.js <your YouTube playlist ID>
@@ -57,5 +59,6 @@ If you have issues running YouToo, follow these steps:
2. **update NodeJS.** We recommend using the latest stable release, or the latest long term support release. YouToo has been tested on NodeJS 17.3.0.
3. **free up disk space.** Required disk space depends on the size of your playlist. To be safe, make sure you have 16MB per song.
4. **delete the `./_youtoo` folder.** This will completely reset YouToo, so in case a cache file is corrupted, it will all be reset. You may backup the `./_youtoo/Result` folder if you don't want to have to download all the songs again.
+5. **run `npm install`.** This will update all dependencies and perhaps solve the issue.
If these steps didn't help you, open an issue to this project. We will be more than happy to help! \ No newline at end of file
diff --git a/index.js b/index.js
index 28151ee..657f471 100644
--- a/index.js
+++ b/index.js
@@ -14,7 +14,6 @@
return Buffer.from(this, 'base64').toString('base64').split("=")[0].substring(0, Buffer.from(this, 'base64').toString('base64').split("=")[0].length - 1) === this.substring(0, this.length - 1);
}
-// PLJFZXUuzxnGStUK6cmkKX1R5rOG0LC5hi
const exec = require('child_process').execFileSync;
const fs = require('fs');
const axios = require('axios');