aboutsummaryrefslogtreecommitdiffstats
path: root/config/encodermanager.json
blob: 6c8a04f9b7468dd91b80d5faf1fa064695ed0efa (plain)
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
{
    "global": {
        "daemon": false,
        "max_encoder_instance": 3,
        "logs_directory": "/home/pi/ODR-mmbTools/ODR-EncoderManager/logs/",
        "supervisor_xmlrpc": "http://odr:odr@127.0.0.1:8001/RPC2",
        "static_directory": "/home/pi/ODR-mmbTools/ODR-EncoderManager/static/",
        "host": "0.0.0.0",
        "supervisor_file": "/home/pi/config/supervisor/ODR-encoders.conf",
        "port": 8003
    },
    "auth": {
        "users": [
            {
                "username": "odr",
                "password": "odr"
            }
        ]
    },
    "odr": [
        {
            "uniq_id": "defee58a-f768-4ca9-a0f7-88f08b2e8748",
            "autostart": "false",
            "path": {
                "encoder_path": "/usr/local/bin/odr-audioenc",
                "padenc_path": "/usr/local/bin/odr-padenc",
                "sourcecompanion_path": "/usr/local/bin/odr-sourcecompanion",
                "zmq_key_tmp_file": "/var/tmp/zmq-P01.key"
            },
            "source": {
                "type": "stream",
                "stats_socket": "/var/tmp/P01.stats",
                "stream_url": "http://radiomonaco.ice.infomaniak.ch/radiomonaco-128.mp3",
                "stream_writeicytext": "true",
                "stream_lib": "vlc",
                "alsa_device": "plughw:1,0",
                "driftcomp": "true",
                "silence_detect": "true",
                "silence_duration": "60",
                "avt_input_uri": "udp://:32010",
                "avt_control_uri": "udp://192.168.128.111:9325",
                "avt_pad_port": "9405",
                "avt_jitter_size": "80",
                "avt_timeout": "4000",
                "aes67_sdp_file": "/var/tmp/defee58a-f768-4ca9-a0f7-88f08b2e8748.sdp",
                "aes67_sdp": ""
            },
            "output": {
                "type": "dabp",
                "output": [
                    {
                        "name": "",
                        "type": "editcp",
                        "host": "127.0.0.1",
                        "port": "9001",
                        "enable": "true"
                    }
                ],
                "zmq_key": "",
                "bitrate": "128",
                "samplerate": "48000",
                "channels": "2",
                "dabp_sbr": "true",
                "dabp_ps": "false",
                "dabp_afterburner": "true",
                "dab_dabmode": "j",
                "dab_dabpsy": "1",
                "edi_identifier": "",
                "edi_timestamps_delay": ""
            },
            "padenc": {
                "enable": "true",
                "pad": "34",
                "dls_file": "/home/pi/config/mot/P01/INFO.dls",
                "slide_directory": "/home/pi/config/mot/P01/slide/",
                "slide_sleeping": "0",
                "slide_once": "false",
                "raw_dls": "false",
                "raw_slides": "false",
                "uniform_label": "12",
                "uniform_label_ins": "1200",
                "slide_carousel_interval": "",
                "slide_live_interval": "",
                "slide_live_lifetime": ""
            },
            "name": "P01",
            "description": "Radio Monaco",
            "supervisor_additional_options": {
                "user": "pi",
                "group": "pi",
                "autorestart": "false"
            }
        },
        {
            "uniq_id": "7158c498-1ef1-4580-b385-23a3c06ba985",
            "autostart": "false",
            "path": {
                "encoder_path": "/usr/local/bin/odr-audioenc",
                "padenc_path": "/usr/local/bin/odr-padenc",
                "sourcecompanion_path": "/usr/local/bin/odr-sourcecompanion",
                "zmq_key_tmp_file": "/var/tmp/zmq-P02.key"
            },
            "source": {
                "type": "stream",
                "stats_socket": "/var/tmp/P02.stats",
                "stream_url": "http://media-ice.musicradio.com/CapitalMP3",
                "stream_writeicytext": "true",
                "stream_lib": "vlc",
                "alsa_device": "plughw:1,0",
                "driftcomp": "true",
                "silence_detect": "true",
                "silence_duration": "60",
                "avt_input_uri": "udp://:32010",
                "avt_control_uri": "udp://192.168.128.111:9325",
                "avt_pad_port": "9405",
                "avt_jitter_size": "80",
                "avt_timeout": "4000",
                "aes67_sdp_file": "/var/tmp/7158c498-1ef1-4580-b385-23a3c06ba985.sdp",
                "aes67_sdp": ""
            },
            "output": {
                "type": "dabp",
                "output": [
                    {
                        "name": "",
                        "type": "editcp",
                        "host": "127.0.0.1",
                        "port": "9002",
                        "enable": "true"
                    }
                ],
                "zmq_key": "",
                "bitrate": "128",
                "samplerate": "48000",
                "channels": "2",
                "dabp_sbr": "true",
                "dabp_ps": "false",
                "dabp_afterburner": "true",
                "dab_dabmode": "j",
                "dab_dabpsy": "1",
                "edi_identifier": "",
                "edi_timestamps_delay": ""
            },
            "padenc": {
                "enable": "true",
                "pad": "34",
                "dls_file": "/home/pi/config/mot/P02/INFO.dls",
                "slide_directory": "/home/pi/config/mot/P02/slide",
                "slide_sleeping": "0",
                "slide_once": "false",
                "raw_dls": "false",
                "raw_slides": "false",
                "uniform_label": "12",
                "uniform_label_ins": "1200"
            },
            "name": "P02",
            "description": "Capital FM London",
            "supervisor_additional_options": {
                "user": "pi",
                "group": "pi",
                "autorestart": "false"
            }
        }
    ]
}