Skip to content

Collects loved music and cleans up the metadata using MusicBrainz API.

License

Notifications You must be signed in to change notification settings

Maxattax97/lastfm-love-aggregator

Repository files navigation

LastFM Love Aggregator

Collects loved music and cleans up the metadata using MusicBrainz API.

Setup

You must have the fpcalc (Chromaprint music fingerprinter) command available on your system. See here for more details.

npm install

Usage

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

Maintenance

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

YouTube Throttling

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.

Known bugs

  • Strip <>:"/\|?*... are there more characters?
  • the old youtube-dl module is deprecated, refactor to use a module like youtube-dl-exec instead

About

Collects loved music and cleans up the metadata using MusicBrainz API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published