diff options
-rw-r--r-- | .idea/vcs.xml | 6 | ||||
-rw-r--r-- | README.md | 5 | ||||
-rw-r--r-- | index.js | 1 |
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 @@ -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 @@ -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'); |