Giter VIP home page Giter VIP logo

pi_video_looper's Introduction

pi_video_looper

Application to turn your Raspberry Pi into a dedicated looping video playback device, good for art installations, information displays, or just playing cat videos all day.

Video_looper guide: https://learn.adafruit.com/raspberry-pi-video-looper?view=all

Configuration of Pi: https://www.raspberrypi.org/documentation/configuration/

REMEMBER TO SET THE CORRECT LOCAL TIME (Timezone) ON THE RASPBERRY PI

Local time and keyboard-layout can be changed using the following code

sudo raspi-config

Use the following to set date and time, if it does not automatically (often because of no internet connection)

sudo date -s "23 May 2018 10:30:00"

Installation

Update and clone repository

sudo apt-get update && sudo apt-get upgrade
sudo apt-get install -y git
git clone https://github.com/itblf/pi_video_looper.git

Install, requires internet

cd pi_video_looper
sudo ./install.sh

Program should automatically start loading video-files from USB.

Usage

Stop/start looper from SSH

sudo supervisorctl stop video_looper

To disable it entirely to not start on boot

cd pi_video_looper
sudo ./disable.sh

To enable again, simply run install script

sudo ./install.sh

Change time-interval for volume-ON

In file: Adafruit_Video_Looper/video_looper.py change the variables on line 71-72

_START_TIME = "08:00"
_END_TIME = "20:00"

Reinstall may be necessary after changing the times.

Debugging

Logs and standard error output can be seen with the following:

sudo supervisorctl tail -f video_looper
sudo supervisorctl tail -f video_looper stderr

Remote Access

To utilize remote acces use https://remot3.it

pi_video_looper's People

Contributors

tdicola avatar rpiloop avatar akaleta avatar itblf avatar subicura avatar lyptik avatar mjwalls 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.