-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do I use it? #1
Comments
Yeah I know I should write out some instructions. Basic steps:
Let me know if it still doesn't work. |
Closer. How do I use multiple event_commands? (didn't RTFM). I want to use growl and this. img2txt is working by itself I think but I'm getting:
This is important. I need this for my business. |
pianobar doesn't have built-in support for multiple eventcmd scripts. I use a bash script that just sends the output to every executable file in a directory, which works pretty well actually: #!/bin/bash
DIR=$(cd `dirname $0` && pwd) # Where this script lives
output=`cat /dev/stdin`
for SCRIPT in $(find $DIR/eventcmd/ -not \( -type d -name ".?*" -prune \) -type f); do
if [ -f $SCRIPT -a -x $SCRIPT ]; then
echo -e "$output" | $SCRIPT $@
fi
done As for the error, I'm not sure how to fix it. It has to do with the (very dumb) way it downloads images into a hardcoded directory before and then passes |
Looks like the homebrew default install for libcaca compiles with --disable-imlib2, which means it only works with BMP files. Trying to get that figured out. Where did your caca come from? |
Ohhhh yeah, I forgot about that. I had the same problem. I think I installed imlib2 with homebrew ( EDIT: You can modify the compile flags with I have no idea why the brew recipe has that |
For anyone else who lands here having problems with brew's libcaca installation on Mac OS X, you now need this:
|
Had issue with ranger not rendering ASCII previews (using img2txt). Reinstalled libcaca following avit's comment above resolved the problem. |
brew installed libcaca. Still can't figure out how to make it work. Could you explain on the README or am I missing something obvious?
The text was updated successfully, but these errors were encountered: