Random Video Player Shellscript
Go to file
Martin Selbmann d98723df33 remove userconfig.sh
add config.json
update readme
2020-09-23 21:43:44 +02:00
README.md remove userconfig.sh 2020-09-23 21:43:44 +02:00
RandomVideo.sh add licence 2020-09-23 15:18:30 +02:00
UNLICENCE.txt Add Unlicence description 2020-09-23 11:57:58 +02:00
buzzer.sh set max volume to 60 % 2020-09-23 18:08:44 +02:00
config.json remove userconfig.sh 2020-09-23 21:43:44 +02:00
onair.mp4 change onair video 2020-09-22 19:17:21 +02:00
volumetest.sh - add unlicence to userconfig.sh and volumetest.sh 2020-09-23 11:30:36 +02:00

README.md

RandomVideo

  • shell scripts to play a random video
  • polls big button (buzzer) in left of lounge door
  • polls 2-way-switch left from big button (buzzer)

Usage instructions

Buzzer commands

  • button press (2s delay between presses) start or stop video
  • switch up turns on "On Air"-mode (stops video and doesn't open new videos, button locked)
  • switch down turns sound on, volume rises slowly and can be stopped with button press
  • turn switch back from down to center position slowly decreases volume, it can be stopped when switch turned down again

Filelist

RandomVideo.sh

  • Plays a random video file

buzzer.sh

  • polls buzzer and 2-way-switch
  • volume control
  • controls video playback
  • controls "On Air"-mode

onair.mp4

  • placeholder videofile for "On Air"-Message

config.json

  • the config file in future

volumetest.sh

  • testscript for ramping soundcard output volume
  • reads volume value from amixer
  • not a necessary file

Licence

  • All stuff in this repo is licenced under Unlicence.
  • current onair.mp4 is excluded and a placeholder!