Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 1.49 KB

README.md

File metadata and controls

32 lines (21 loc) · 1.49 KB

javascript-assetpoolfetcher

How to use @brightsign/assetpool and @brightsign/assetpoolfetcher to download files to your BrightSign player.

DISCLAIMER: The way paths are constructed in fetcher.js might change in the future. Contact BrightSign Support for details.

See https://docs.brightsign.biz/display/DOC/assetpoolfetcher for documentation.

Prerequisites:

  • Node v10.15.3+ on your laptop.
  • A source of files to download. Example: publish an Simple File Networking (SFN) application from BA:connected and use the published folder as the download source.

To run the attached application:

Set up your file source, in this example, your SFN folder (see Prerequisites above)

Set up the player

  • Clone this project
  • Run “npm install”
  • Run “npx webpack”
  • Copy autorun.brs, node-server.html and bundle.js to your sd card
  • Boot your player
  • In the player log, you should see the message “Example app listening on port 9090!”

Trigger the download

  • Now trigger the download by visiting http://==ip address of brightsign player==:9090/fetch-files in a browser