Collects loved music and cleans up the metadata using MusicBrainz API.
You must have the fpcalc
(Chromaprint music fingerprinter) command available
on your system. See here for more
details.
npm install
At the moment, pagination isn't implemented, and the LastFM API allows listing up to 1000 loved songs. So you'll probably want this:
./index.js -u Maxattax97 -l 1000 -k 1000
If you receive something like:
ERROR: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
You'll need to update Node's youtube-dl
... To do that, run:
./node_modules/youtube-dl/bin/youtube-dl -U
Classic youtube-dl is subject to throttling by YouTube. I subbed out the binary in the node module with yt-dlp and it seemed to perform much better.
- Strip
<>:"/\|?*
... are there more characters? - the old
youtube-dl
module is deprecated, refactor to use a module likeyoutube-dl-exec
instead