parent
8f51e8d84b
commit
d98723df33
|
@ -24,8 +24,8 @@
|
||||||
### onair.mp4
|
### onair.mp4
|
||||||
* placeholder videofile for "On Air"-Message
|
* placeholder videofile for "On Air"-Message
|
||||||
|
|
||||||
### userconfig.sh
|
### config.json
|
||||||
* currently not in use
|
* the config file in future
|
||||||
|
|
||||||
### volumetest.sh
|
### volumetest.sh
|
||||||
* testscript for ramping soundcard output volume
|
* testscript for ramping soundcard output volume
|
||||||
|
|
|
@ -0,0 +1,21 @@
|
||||||
|
{
|
||||||
|
"swupgpio": "23",
|
||||||
|
"player": "cvlc",
|
||||||
|
"playerparam": "--play-and-exit --quiet --no-osd -A alsa --alsa-audio-device=front:CARD=Device,DEV=0",
|
||||||
|
"pgrepplayer": "vlc",
|
||||||
|
"buzzer": {
|
||||||
|
"buzzergpio": "0",
|
||||||
|
"buzzertimeout": "2",
|
||||||
|
"pollingtime": "0.05",
|
||||||
|
"strobegpio": "2",
|
||||||
|
"strobeduration": "1",
|
||||||
|
"swdowngpio": "25",
|
||||||
|
"playerloop": "--loop",
|
||||||
|
"volumetimeout": "0.1",
|
||||||
|
"volumedelay": "0.1",
|
||||||
|
"volumemax": "60"
|
||||||
|
},
|
||||||
|
"RandomVideo": {
|
||||||
|
"folder": "/mnt/video"
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,22 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
# SPDX-License-Identifier: Unlicense
|
|
||||||
|
|
||||||
# generic
|
|
||||||
export player="cvlc" # command to run player
|
|
||||||
export playerparam="--play-and-exit --quiet --no-osd -A alsa --alsa-audio-device=front:CARD=Device,DEV=0" # parameters for player
|
|
||||||
export pgrepplayer="vlc" # expression for pgrep an pkill to detect player process
|
|
||||||
export swupgpio=23 # gpio for switchup stat
|
|
||||||
|
|
||||||
# buzzer.sh
|
|
||||||
export playerloop="--loop" # parameter for player loop function (leave blank if unused)
|
|
||||||
export buzzgpio=0 # gpio for buzzer
|
|
||||||
export buzzertimeout=2 # delay between buzzer presses
|
|
||||||
export strobegpio=2 # gpio for strobelight relay
|
|
||||||
export strobeduration=1 # duration of switch on stat from strobelight
|
|
||||||
export swdowngpio=25 # gpio for switchdown stat
|
|
||||||
export pollingtime=0.05 # refresh time of gpio stats
|
|
||||||
export volumemax=100 # maximal volume allowed
|
|
||||||
export volumetimeout=0.1 # duration between volume up/down steps
|
|
||||||
|
|
||||||
# RandomVideo.sh
|
|
||||||
export folder="/mnt/video" # folder with the video files
|
|
Loading…
Reference in New Issue