summaryrefslogtreecommitdiff
path: root/scripts/ctrlroom/include.sh
blob: 3a809e986801302bec908612256d9daec11f7e9f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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
}