Skip to content

A node based scheduler that runs along side of FPP and schedules songs to run. It works Christmas-Vote-now

Notifications You must be signed in to change notification settings

ghormann/fppscheduler

Repository files navigation

fppscheduler

A node based scheduler that runs along side of FPP and schedules songs to run. It works with https://github.com/ghormann/Christmas-Vote-now to get the mosted voted song. Note that this project was never designed for use outside of my personal display so some code tweeks will be needed if you attempt to use it.

Setup

  1. NOTE: This code runs on the FPP box. It should work for both BBB and PI versions of FPP, but has only been tested on Pi. It also requires version FPP 4.1 or greater.
  2. In FPP, your playlist should have a description defined. This will be the "nice name" that will be displayded on the voting website.
  3. Install the preqs with sudo apt install nodejs npm
  4. Clone this repo to somewhere on the fpp box. (I use /home/fpp/src/fppscheduler, but it really doesn't matter)
  5. If you plan to use the "short show" feature, you need to modify lib/mode.js to be the list of playlists to be used during a short show.
  6. You'll need to modify internal_songs in lib/model.js. This should be list of Playlist that will be scheculed regardless of the next voted song. (These are often bumpers or intros). An empty array can be used if the top voted song should always be played.
  7. run npm install to download and install all the pre-reqs.

Running the program

  1. run node .

Notes

  1. lib/mymqtt.js shows the MQTT topic names. It does assume that fpp has been configured with "christmas/" as the MQTT prefix for topics
  2. lib/scheduler.js does have some hard coded playlist names for special features. These all start with "Internal_"
  3. By default, lib/playlist.js won't share playlist that start with "Test" or "Internal" with the voting website, all other play list will be avaiable for users to vote upon.

About

A node based scheduler that runs along side of FPP and schedules songs to run. It works Christmas-Vote-now

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages