mathsad / nodecg-nowplaying

A bundle for https://github.com/nodecg/nodecg showing the currently playing song.

Home Page:http://suyo.be

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nodecg-nowplaying

This NodeCG bundle shows the currently playing song, and optionally a message.

To set up, follow the regular process of adding a bundle, but you also need to set up your preferred method:
-- If you run NodeCG locally, tell your music player/script to dump the current song to NodeCG/bundles/nowplaying/view/nowplaying.txt (I use SFMT for this)
-- If you want to get the current song from Last.fm, edit view/nowplaying.js to add your API key. You can get it from last.fm/api.

You may want to edit:
-- view/nowplaying.css: change the top value of .musiccontainer so it aligns nicely with your layout.
-- view/nowplaying.js: you can edit display times and update intervals in the first few lines.

The panel on the dashboard allows you to set a song source and add a sub message. If the last.fm field is empty on update, the local file will be used. If the message field is empty on update, no second line will be shown and only the song title is displayed.

About

A bundle for https://github.com/nodecg/nodecg showing the currently playing song.

http://suyo.be

License:GNU General Public License v3.0