Coder Social home page Coder Social logo

mathsad / nodecg-nowplaying Goto Github PK

View Code? Open in Web Editor NEW

This project forked from suyooo/nodecg-nowplaying

0.0 2.0 0.0 1.49 MB

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

Home Page: http://suyo.be

License: GNU General Public License v3.0

nodecg-nowplaying's Introduction

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.