Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
engine-core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AURA
engine-core
Commits
979fef9f
Commit
979fef9f
authored
2 years ago
by
David Trattnig
Browse files
Options
Downloads
Patches
Plain Diff
feat: more telnet server settings
parent
e3c52178
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#2793
passed
2 years ago
Stage: test
Stage: release
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
config/sample.engine-core.docker.ini
+4
-0
4 additions, 0 deletions
config/sample.engine-core.docker.ini
config/sample.engine-core.ini
+4
-0
4 additions, 0 deletions
config/sample.engine-core.ini
sample.env
+3
-0
3 additions, 0 deletions
sample.env
src/settings.liq
+6
-4
6 additions, 4 deletions
src/settings.liq
with
17 additions
and
4 deletions
config/sample.engine-core.docker.ini
+
4
−
0
View file @
979fef9f
...
@@ -19,6 +19,10 @@ liquidsoap_as_root="true"
...
@@ -19,6 +19,10 @@ liquidsoap_as_root="true"
api_url_playlog
=
"http://0.0.0.0:8008/api/v1/playlog"
api_url_playlog
=
"http://0.0.0.0:8008/api/v1/playlog"
# This is the folder where fallback playlists are read from (optional)
# This is the folder where fallback playlists are read from (optional)
audio_playlist_folder
=
"/var/audio/playlist"
audio_playlist_folder
=
"/var/audio/playlist"
# Telnet Server
# telnet_server_host=172.17.0.1
# telnet_server_port=1234
# telnet_server_timeout=60
[fallback]
[fallback]
...
...
This diff is collapsed.
Click to expand it.
config/sample.engine-core.ini
+
4
−
0
View file @
979fef9f
...
@@ -19,6 +19,10 @@
...
@@ -19,6 +19,10 @@
api_url_playlog
=
"http://127.0.0.1:8008/api/v1/playlog"
api_url_playlog
=
"http://127.0.0.1:8008/api/v1/playlog"
# This is the folder where fallback playlists are read from (optional)
# This is the folder where fallback playlists are read from (optional)
; audio_playlist_folder="../audio/playlist"
; audio_playlist_folder="../audio/playlist"
# Telnet Server
# telnet_server_host=127.0.0.1
# telnet_server_port=1234
# telnet_server_timeout=60
[fallback]
[fallback]
...
...
This diff is collapsed.
Click to expand it.
sample.env
+
3
−
0
View file @
979fef9f
...
@@ -19,6 +19,9 @@ AURA_ENGINE_FRAME_SAMPLERATE=
...
@@ -19,6 +19,9 @@ AURA_ENGINE_FRAME_SAMPLERATE=
AURA_ENGINE_FRAME_DURATION=
AURA_ENGINE_FRAME_DURATION=
AURA_ENGINE_FRAME_SIZE=
AURA_ENGINE_FRAME_SIZE=
AURA_ENGINE_API_URL_PLAYLOG=http://172.17.0.1:8008/api/v1/playlog
AURA_ENGINE_API_URL_PLAYLOG=http://172.17.0.1:8008/api/v1/playlog
AURA_ENGINE_TELNET_HOST=172.17.0.1
AURA_ENGINE_TELNET_PORT=1234
AURA_ENGINE_TELNET_SERVER_TIMEOUT=60
# Stream Input Settings
# Stream Input Settings
AURA_ENGINE_STREAM_INPUT_MAX_BUFFER=5.0
AURA_ENGINE_STREAM_INPUT_MAX_BUFFER=5.0
...
...
This diff is collapsed.
Click to expand it.
src/settings.liq
+
6
−
4
View file @
979fef9f
...
@@ -46,11 +46,13 @@ settings.console.colorize.set("always")
...
@@ -46,11 +46,13 @@ settings.console.colorize.set("always")
#settings.request.grace_time.set(2.)
#settings.request.grace_time.set(2.)
# TELNET SETTINGS
# TELNET SETTINGS
server_timeout = float_of_string(get_setting("60.", "server_timeout", "AURA_ENGINE_TELNET_SERVER_TIMEOUT"))
telnet_server_host = get_setting("127.0.0.1", "telnet_host", "AURA_ENGINE_TELNET_HOST")
settings.server.timeout.set(server_timeout)
telnet_server_port = int_of_string(get_setting("1234", "telnet_port", "AURA_ENGINE_TELNET_PORT"))
telnet_server_timeout = float_of_string(get_setting("60.", "telnet_server_timeout", "AURA_ENGINE_TELNET_SERVER_TIMEOUT"))
settings.server.telnet.set(true)
settings.server.telnet.set(true)
settings.server.telnet.bind_addr.set("0.0.0.0")
settings.server.telnet.bind_addr.set(telnet_server_host)
settings.server.telnet.port.set(1234)
settings.server.telnet.port.set(telnet_server_port)
settings.server.timeout.set(telnet_server_timeout)
# LOG SETTINGS
# LOG SETTINGS
engine_version = process.read("cat ../VERSION")
engine_version = process.read("cat ../VERSION")
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment