summaryrefslogtreecommitdiff
path: root/scripts/ctrlroom/include.sh
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2014-10-08 19:52:54 +0200
committerChristian Pointner <equinox@spreadspace.org>2014-10-08 19:52:54 +0200
commitd452d44736c2a5271f6924f915e2282105170c3f (patch)
treea64e70b47a78a0625b985b51a0f27790b464cf52 /scripts/ctrlroom/include.sh
parentadded sender for sydra (diff)
moved control room scripts to separate dir
Diffstat (limited to 'scripts/ctrlroom/include.sh')
-rw-r--r--scripts/ctrlroom/include.sh46
1 files changed, 46 insertions, 0 deletions
diff --git a/scripts/ctrlroom/include.sh b/scripts/ctrlroom/include.sh
new file mode 100644
index 0000000..3a809e9
--- /dev/null
+++ b/scripts/ctrlroom/include.sh
@@ -0,0 +1,46 @@
+get_id_title_and_port() {
+ case "$1" in
+ 00)
+ TITLE='ESC: Ministry of Hacking'
+ PORT_BASE=5010
+ ID='esc'
+ ;;
+ 01)
+ TITLE='Gemeinschaftsprojekt Attemsgarten'
+ PORT_BASE=5020
+ ID='gag'
+ ;;
+ 02)
+ TITLE='rathaus der herzen'
+ PORT_BASE=5030
+ ID='rdh'
+ ;;
+ 03)
+ TITLE='realraum'
+ PORT_BASE=5040
+ ID='r3'
+ ;;
+ 04)
+ TITLE='&lt;rotor&gt; Zentrum für zetgenössische Kunst'
+ PORT_BASE=5050
+ ID='rot'
+ ;;
+ 05)
+ TITLE='Spektral'
+ PORT_BASE=5060
+ ID='spe'
+ ;;
+ esac
+}
+
+get_num() {
+ case "$1" in
+ 'esc') NUM=00 ;;
+ 'gag') NUM=01 ;;
+ 'rdh') NUM=02 ;;
+ 'r3') NUM=03 ;;
+ 'rot') NUM=04 ;;
+ 'spe') NUM=05 ;;
+ esac
+}
+