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
ee04014a
Verified
Commit
ee04014a
authored
9 months ago
by
Ole Binder
Browse files
Options
Downloads
Patches
Plain Diff
Fix: allow auto connect via env variable
parent
fd3c749b
No related branches found
No related tags found
1 merge request
!19
Move PipeWire Server into a Headless Session
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
sample.env
+5
-4
5 additions, 4 deletions
sample.env
scripts/entrypoint.sh
+17
-3
17 additions, 3 deletions
scripts/entrypoint.sh
with
22 additions
and
7 deletions
sample.env
+
5
−
4
View file @
ee04014a
...
...
@@ -20,11 +20,12 @@ AURA_AUDIO_STORE_FALLBACK=audio/fallback
# Audio Device Settings
AURA_ENGINE_OUTPUT_DEVICE=default
AURA_ENGINE_OUTPUT_CHANNEL_LEFT=
AUX0
AURA_ENGINE_OUTPUT_CHANNEL_RIGHT=
AUX1
AURA_ENGINE_OUTPUT_CHANNEL_LEFT=
alsa_input.pci-0000_00_1f.3.analog-stereo:capture_FL
AURA_ENGINE_OUTPUT_CHANNEL_RIGHT=
alsa_input.pci-0000_00_1f.3.analog-stereo:capture_FR
AURA_ENGINE_INPUT_DEVICE=default
AURA_ENGINE_INPUT_CHANNEL_LEFT=AUX0
AURA_ENGINE_INPUT_CHANNEL_RIGHT=AUX1
AURA_ENGINE_INPUT_CHANNEL_LEFT=alsa_output.pci-0000_00_1f.3.analog-stereo:playback_FL
AURA_ENGINE_INPUT_CHANNEL_RIGHT=alsa_output.pci-0000_00_1f.3.analog-stereo:playback_FR
# Fallback Settings
AURA_ENGINE_FALLBACK_SHOW_NAME=Station Fallback
AURA_ENGINE_FALLBACK_SHOW_ID=-1
...
...
This diff is collapsed.
Click to expand it.
scripts/entrypoint.sh
+
17
−
3
View file @
ee04014a
...
...
@@ -7,10 +7,24 @@ cd src && /usr/bin/pw-jack /usr/bin/liquidsoap ./engine.liq &
# Capture the PID of the liquidsoap process
LIQUIDSOAP_PID
=
$!
# wait and link ports
?
# wait and link ports
sleep
5
pw-link
"lineout_0:out_0"
"aura_host:playback_FL"
pw-link
"lineout_0:out_1"
"aura_host:playback_FR"
# TODO: change aura LQ ports when we rename them
AURA_ENGINE_LQ_LINE_OUT_LEFT
=
"lineout_0:out_0"
AURA_ENGINE_LQ_LINE_OUT_RIGHT
=
"lineout_0:out_1"
AURA_ENGINE_LQ_LINE_IN_LEFT
=
"in_line_0:in_0"
AURA_ENGINE_LQ_LINE_IN_RIGHT
=
"in_line_0:in_1"
pw-link
"
${
AURA_ENGINE_LQ_LINE_OUT_LEFT
}
"
"
${
AURA_ENGINE_INPUT_CHANNEL_LEFT
}
"
&&
\
echo
"Linked '
${
AURA_ENGINE_LQ_LINE_OUT_LEFT
}
' - '
${
AURA_ENGINE_INPUT_CHANNEL_LEFT
}
'"
pw-link
"
${
AURA_ENGINE_LQ_LINE_OUT_RIGHT
}
"
"
${
AURA_ENGINE_INPUT_CHANNEL_RIGHT
}
"
&&
\
echo
"Linked '
${
AURA_ENGINE_LQ_LINE_OUT_RIGHT
}
' - '
${
AURA_ENGINE_INPUT_CHANNEL_RIGHT
}
'"
pw-link
"
${
AURA_ENGINE_OUTPUT_CHANNEL_LEFT
}
"
"
${
AURA_ENGINE_LQ_LINE_IN_LEFT
}
"
&&
\
echo
"Linked '
${
AURA_ENGINE_OUTPUT_CHANNEL_LEFT
}
' - '
${
AURA_ENGINE_LQ_LINE_IN_LEFT
}
'"
pw-link
"
${
AURA_ENGINE_OUTPUT_CHANNEL_RIGHT
}
"
"
${
AURA_ENGINE_LQ_LINE_IN_RIGHT
}
"
&&
\
echo
"Linked '
${
AURA_ENGINE_OUTPUT_CHANNEL_RIGHT
}
' - '
${
AURA_ENGINE_LQ_LINE_IN_RIGHT
}
'"
# Wait for the liquidsoap process to exit
wait
$LIQUIDSOAP_PID
...
...
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