aboutsummaryrefslogtreecommitdiffstats
path: root/examples/historical/stream-stuff/reflect/reflect-event-sd.sh
blob: aa3801854c453ba26f5cf4b5dfaf0b89758703e0 (plain)
1
2
3
4
5
#!/bin/sh
while :; do
sudo cvlc --intf dummy -v --sout-http-mark-start 5000 --sout-http-mark-end 7999 udp://@:4014 vlc://quit --sout '#duplicate{dst=std{access=http,mux=ts,dst=[::]:3014},dst=std{access=udp,mux=ts,dst=[ff7e:a40:2a02:ed02:ffff::14]:2014}' --intf dummy --ttl 60
        sleep 1
done
span> 'Catalyst::Controller'; } =head1 NAME FixMyStreet::App::Controller::FAQ - Catalyst Controller =head1 DESCRIPTION Show the FAQ page - does some smarts to choose the correct template depending on language. =cut sub faq : Path : Args(0) { my ( $self, $c ) = @_; # There should be a faq template for each language in a cobrand or default. # This is because putting the FAQ translations into the PO files is # overkill. # We rely on the list of languages for the site being restricted so that there # will be a faq template for that language/cobrand combo. my $lang_code = $c->stash->{lang_code}; my $template = "faq/faq-$lang_code.html"; $c->stash->{template} = $template; } __PACKAGE__->meta->make_immutable; 1;