Comments (12)
Working for me... hmmm....
Do you get that error when first executing the action or after picking an input/output to switch to?
Can you run the audio.sh
script from the command line and paste the output back here
Should be in something like
$HOME/Library/Application Support/LaunchBar/Actions/Switch Audio.lbaction/Contents/Scripts/audio.sh
from launchbar.
Also let me know what uname -m
output is?
And where SwitchAudioSource
is located?
And anything change recently on your end?
from launchbar.
from launchbar.
Run uname -m
from command line and let me know the output
For the other, want to see where the SwitchAudioSource
binary is installed. Is it in
/opt/homebrew/bin/SwitchAudioSource
or
/usr/local/bin/SwitchAudioSource
or other?
For the output of audio.sh
, is that the exact output, like there is a newline between Hal-Plugin
and Display Audio
?
That is likely causing the JSON parsing problem
from launchbar.
from launchbar.
Please run these 3 commands and let me know the output for each
SwitchAudioSource -a -t input
SwitchAudioSource -a -t input | tr '\n' '^'
SwitchAudioSource -a -t input | tr '\r' '^'
from launchbar.
from launchbar.
I can't see how the newline is getting in there, but I made some general cleanup changes and committed them 7fa6492
Please update the action and retry
If still a problem then please run audio.sh
from the command line, output to a file, and attach the file here
$HOME/Library/Application Support/LaunchBar/Actions/Switch Audio.lbaction/Contents/Scripts/audio.sh > $HOME/Desktop/output.txt
from launchbar.
Still not working with the latest version. Output.txt file attached
output.txt
.
from launchbar.
ok, made another change 6e9ca52
please update to latest version 2.7 and try again
from launchbar.
Okay, thanks! The JSON error is not coming up and the audio is switching, but why is it showing this Core::init - HAL-Plugin twice? It's not an available audio source in the Sound system prefs.
.
from launchbar.
The headphone icon means it is an output, the mic icon means it is an input
So whatever that is, it is both an input and output option
The action uses the switchaudio osx package to actually do all the audio stuff, so you'd have to ask over there why what shows up.
Glad we figured this one out finally
from launchbar.
Related Issues (16)
- Feedback on Action Update scheme HOT 13
- Timer using OS X Notifications HOT 1
- Command-C x-callback-url now required UUID HOT 1
- Action Updates action fails HOT 2
- Outputs list truncates trailing spaces
- Switch Audio.lbaction not downloadable from S3 HOT 1
- Path to SwitchAudioSource command HOT 3
- Updates Action reports: LaunchBar: Newer version available 6.15 ➔ 6.14.1 HOT 4
- Action Updates: Automatic downloading problematic? HOT 4
- Forecast Action update? HOT 3
- What's worse about Generate Password passwords without hsxkpasswd? HOT 1
- Action Updates: TypeError: undefined is not a function (evaluating 'actionPackage.endsWith(".lbaction")') (line 83) HOT 8
- Action Usage Anonymous Info HOT 3
- Problem with symlinked "Actions" dir HOT 1
- Forecast Action not finding non-US locations HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from launchbar.