Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 753 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 753 Bytes

Last.fm to MQTT

I'm building a photo-display that will show photos and album art. For that reason I needed to extract album art from what I'm playing. Since there is multiple sources this could be gathered from Last.fm is joining these sources together.

This projects pulls recent tracks from Last.fm and distributes it to MQTT and WebSocket. A small browser app to show what's playing now.

Preview of webpage Preview of browser app.

Usage

yarn install
cp .env.example .env

Create a api account on Last.fm and update .env with the newly created api-key.

Change MQTT credentials in .env.

Run application

yarn watch
cd dist
node main.js