mirror of
https://github.com/brmlab/brmdoor.git
synced 2025-06-08 11:44:01 +02:00
Added AlphaSign notification of streaming status
This commit is contained in:
parent
2aa6ae75a6
commit
a1108f27d3
1 changed files with 1 additions and 0 deletions
|
@ -98,6 +98,7 @@ sub record_str {
|
||||||
sub stream_switch {
|
sub stream_switch {
|
||||||
my ($s) = @_;
|
my ($s) = @_;
|
||||||
system('ssh brmstream@brmvid "echo '.($s?'START':'STOP').' >/tmp/brmstream"');
|
system('ssh brmstream@brmvid "echo '.($s?'START':'STOP').' >/tmp/brmstream"');
|
||||||
|
system('~/alphasign/'.($s?'on':'off').'_air.py');
|
||||||
}
|
}
|
||||||
|
|
||||||
sub record_start { stream_switch(1); }
|
sub record_start { stream_switch(1); }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue