Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 808 Bytes

README.md

File metadata and controls

20 lines (15 loc) · 808 Bytes

Radio Scrobbler

This is a Node.js service that scrobbles a radio station's playlist to Last.fm.

Usage

The scrobbler can be run as a service using PM2:

$ npm install pm2 -g
$ pm2 start ./index.js -n scrobbler

You must create a Last.fm account for your radio station and obtain an API key.

Create config.json from template and add these details:

$ cp config.template.json config.json

Finally, you need to update the song data. The file should use the template in ./metadata/, and specified in config.json. When this file is updated, it will trigger a scrobble.

Myriad users can use the Myriad template. Set the template as the source file for OCP, and specify the output file in config.json.