feat(pai-voice-system): Add Linux support and CLI configuration#351
Closed
sti0 wants to merge 1 commit into
Closed
feat(pai-voice-system): Add Linux support and CLI configuration#351sti0 wants to merge 1 commit into
sti0 wants to merge 1 commit into
Conversation
|
Hi, while we're at it - I fixed support for WSL which is again different from vanilla linux. I think I will wait requesting until this has straightened out |
- Add cross-platform audio player detection (macOS: afplay, Linux: mpg123/mpv) - Add --port/-p and --extra-args CLI options for runtime configuration - Support PAI_VOICE_SERVER_PORT and PAI_VOICE_SERVER_EXTRA_ARGS environment variables - Remove dead code (escapeForAppleScript, spawnSafe functions) - Fix duplicate PAI_DIR variable - reuse paiDir from line 30 - Add mpg123 volume limitation comment - Update header documentation with platforms and CLI options - Update README to mark Linux as fully supported Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
sti0
force-pushed
the
feature/voice-linux-reintegration
branch
from
January 9, 2026 20:59
3f23898 to
8a0b0e0
Compare
Collaborator
|
Thank you for the Linux voice support work, @sti0! This is a valuable contribution for cross-platform compatibility. Unfortunately, v3.0 restructured the codebase and the If you'd like to rebase this against the v3.0 structure, we'd welcome it! Linux voice support is still needed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--port,--extra-args)$PAI_DIR/.envwith quote stripping (closes 2.1.0 - ENV path inconsistent #346 )Changes
Linux Audio Support
mpg123ormpvfor audio playback on LinuxafplayLinux Notifications
notify-sendfor desktop notifications on LinuxosascriptCLI Arguments
--port/-p: Override server port--extra-args: Pass extra arguments to audio player (e.g.,-o pulsefor PulseAudio)Environment Variables
PAI_VOICE_SERVER_PORT: Server port (default: 8888)PAI_VOICE_SERVER_EXTRA_ARGS: Extra audio player argumentsDocumentation
Test Plan
--portargument works--extra-argsargument passes to audio player