Manual bulk scrobbler from text or json file to LastFM.
npm install -g scrobbler
You will need to have LastFM developer account Check http://www.last.fm/api on how to obtain API key and Secret.
secret.json and fill all the values:
scrobbler with these ENV variables:
export LASTFM_API_KEY=123export LASTFM_SECRET=123export LASTFM_USER=123export LASTFM_PASSWORD=123scrobbler tracks.json
Note that it will create
itunes folder to keep database.
Next time you should run it in the same folder again and it will not submit same tracks again.
scrobbler only works with JSON files that have exactly this format:
You may add more fields for every track, they will be inserted to database as is, but not used for submissions.
scrobbler to submit all tracks to LastFM
scrobbler has special tool to convert manually entered text file:
scrobbler-convert tracks.txt tracks.json
tracks.txt must have this format:
14:10 Dopelord - Children Of The Haze (2017) *1. Navigator - 0:00 2. Scum Priest - 8:06 3. Children of the Haze - 14:17 4. Skulls and Candles - 21:45 5. Dead Inside (I&II) - 25:33 6. Reptile Sun - 34:53 15:20 Ritual Haze - Machine Sun (2017) 1. Fire - 0:00 2. Machine Sun - 8:27 3. Dark Night - 14:30 4. Desert Alias - 22:00 *5. Dither Haze - 29:17
15:20 are start times today,
* before track number is
loved flag. Track times are starting times of each track relative to the beginning.
This track list format originally comes from full albums or mixes on Youtube.
Adds two times mm:ss. Can be used to calculate track start time in a mix.
scrobbler-addtime 10:00 12:3022:30scrobbler-addtime 2:13 3:516:4scrobbler-addtime 24:35 128:56153:31
Check out itunes-scrobbler tool if you want to automatically bulk scrobble play counts and loved tracks from your iTunes library