Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

danielkaldheim/last.fm-to-mqtt

Repository files navigation

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

About

Pulls recent tracks from Last.fm and distributes it to MQTT and WebSocket

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  
Morty Proxy This is a proxified and sanitized view of the page, visit original site.