From 8f54d903fb3470823a5e4d6ff4655de009836245 Mon Sep 17 00:00:00 2001 From: Minteck Date: Wed, 9 Feb 2022 17:01:21 +0100 Subject: Doc fixes --- .idea/vcs.xml | 6 ++++++ README.md | 5 ++++- index.js | 1 - 3 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 .idea/vcs.xml 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 @@ + + + + + + \ 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 @@ -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'); -- cgit