VideoBox

From Makers Local 256
Jump to: navigation, search

Overview

A laptop is mounted on the wall. Users are able to upload files to the laptop to play. Users are also able have the system speak some text.

Status

Complete

Current abilities:

  • Web interface
    • Upload files
    • add to queue
    • stop playing file
    • delete removes the file from the database, but not from the disk

Outline

Requirements

  • Website to upload files
  • Website to enter in urls
  • Play random files
  • ability for it to speak

Flows

Main Local script

  • Start X session as root
  • Start main script as www-data user
  • set background image
  • main loop
    • play items off playlist until empty using mplayer and fifo
    • sleep several minutes
    • pick random image or video file and play it

Webinterface

Abilities

  • upload file
  • delete files
  • delete oldest files to clean up disk space
  • edit playlist
  • send stop/seek to fifo