Giter VIP home page Giter VIP logo

fluxvision's Introduction

FluxVision

FluxVision is a set of scripts for playing a YouTube playlist on loop on a Raspberry Pi. Anyone with access to a designated YouTube account can add a video to the playlist. This allows for simple administration of an easy to update, collaboratively-curated (if desired), looping video installation that doesn't require physical access to the player.

Features:
  • Videos are downloaded once (not streamed)
  • Automatically detects and downloads new videos when they are added to the YouTube playlist, usually available within one playthrough
  • Automatically mutes at night (times can be edited)
  • Support for a character LCD ticker that displays the title of the current video (requires Adafruit_Python_CharLCD)
  • Support for an external skip button that advances to the next video
  • Support for an external volume knob that adjusts video volume in real time (using a simple analog-to-digital converter with a linear potentiometer connected via GPIO pins)
Note:
  • Recommended operating system is Raspbian Jessie, on which FluxVision was developed and stress tested. (Omxplayer was found to randomly hang between videos on Raspbian Wheezy.)

Installation

  1. Install youtube-dl
sudo pip install --upgrade youtube_dl
  1. Install omxplayer and libav-tools
sudo apt-get install omxplayer libav-tools
  1. Download FluxVision files to your Raspberry Pi
git clone https://www.github.com/jasoneppink/FluxVision
  1. Update "config.txt" with your playlist ID and other details.
cd FluxVision
nano config.txt
  1. (optional) Uncomment lines in "startup.sh" if you are using a ticker, skip button, or volume knob
nano startup.sh
  1. Open /etc/rc.local:
sudo nano /etc/rc.local

and add this line so FluxVision starts at boot:

sudo -u pi /home/pi/FluxVision/startup.sh
  1. (optional) Clear disk space for downloaded videos. If you're running Raspbian, this command can remove up to 1GB of applications you probably don't use.
sudo apt-get remove wolfram-engine minecraft-pi python-minecraftpi sonic-pi oracle-java8-jdk pistore scratch nuscratch python3-pygame
  1. Reboot! Videos play as soon as they're downloaded.
sudo reboot

Installation at Silent Barn

fluxvision's People

Contributors

jasoneppink avatar

Stargazers

Gilberto Garza avatar

Watchers

James Cloos avatar

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.