summaryrefslogtreecommitdiff
path: root/scripts/ctrlroom/include.sh
diff options
context:
space:
mode:
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='<rotor> 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
+}
+