Comments (6)
For those who are interested in getting this working in OSX with Mopidy and Spotify. I added an output to the Mopidy config so a /tmp/mpd.fifo file is created.
I added this to my Mopidy.conf file.
[audio]
output = tee name=t t. ! queue ! autoaudiosink t. ! queue ! audioresample ! audioconvert ! audio/x-raw,rate=44100,channels=2,format=S16LE ! wavenc ! filesink location=/tmp/mpd.fifo
Edit: Some references.
Discussion Board I got the idea from
mopidy advanced audio docs
from cli-visualizer.
wow ... thanks @be-ez ... it works ...
from cli-visualizer.
What does your mpd config look like?
from cli-visualizer.
~/.mpd/mpd.conf
music_directory "~/Music"
playlist_directory "~/.mpd/playlists"
db_file "~/.mpd/mpd.db"
log_file "~/.mpd/mpd.log"
pid_file "~/.mpd/mpd.pid"
state_file "~/.mpd/mpdstate"
auto_update "yes"
auto_update_depth "2"
follow_outside_symlinks "yes"
follow_inside_symlinks "yes"
audio_output {
type "fifo"
name "my_fifo"
path "/tmp/mpd.fifo"
format "44100:16:2"
}
bind_to_address "127.0.0.1"
port "6600"
user "wrahim"
from cli-visualizer.
I have the same issue.
There's nothing in the vis.log
. Also, which vis
gives me the correct /usr/local/bin/vis
.
my config:
audio.sources=mpd
mpd.fifo.path=/tmp/mpd.fifo
mpd.conf:
music_directory "~/Music"
playlist_directory "~/.mpd/playlists"
db_file "~/.mpd/mpd.db"
log_file "~/.mpd/mpd.log"
pid_file "~/.mpd/mpd.pid"
state_file "~/.mpd/mpdstate"
auto_update "yes"
auto_update_depth "2"
follow_outside_symlinks "yes"
follow_inside_symlinks "yes"
audio_output {
type "osx"
name "CoreAudio"
mixer_type "software"
}
audio_output {
type "fifo"
name "my_fifo"
path "/tmp/mpd.fifo"
format "44100:16:2"
}
decoder {
plugin "mp4ff"
enabled "no"
}
bind_to_address "127.0.0.1"
port "6600"
user "my uname"
I also verified that /tmp/mpd.fifo
was created.
EDIT: my bad, I did get it to work now with ncmpcpp. Just not with Mopidy + Spotify - but that's probably out the scope of this issue.
from cli-visualizer.
@be-ez thanks for sharing that link, I meant to follow up. For anyone else finding this you can see my mopidy.conf here.
To document some of my other findings: When I initially set up mine on macOS, I had a python error about a missing libspotify framework in /Library/Frameworks
. If you get this error, simply run brew info libspotify
to see where homebrew has installed your libspotify package. Create a folder in /Library/Frameworks
called libspotify.framework
, then create a symlink in /Library/Frameworks/libspotify.framework
with something like:
ln -s /usr/local/Cellar/libspotify/12.1.51/lib/libspotify
After that brew services start mopidy
should run without error.
from cli-visualizer.
Related Issues (20)
- "vis" gives error message HOT 2
- Aborted (core dumped) error
- Crash upon open HOT 8
- Aborted, core dumped HOT 8
- Turn off moving average AGC in SpectrumTransformer
- Improvement: Smooth Spectrum look using Unicode Characters
- Mac Os monterey Installation failure HOT 2
- option for hiding output when no audio is playing
- error in 'readme' images
- non-256 color in tmux with the -2 argument
- no display from $ sudo vis? HOT 1
- Changing the resolution / font of the lorenz visualizer?
- [MacOS] The $ZSH folder already exists when trying to run ./install.sh
- how to uninstall this? HOT 1
- I got blank screen on Ubuntu HOT 4
- Looks very dark in Kitty HOT 6
- Use `XDG_CONFIG_DIRS` as fallback to `XDG_CONFIG_HOME`
- no uninstall script
- Bars not moving HOT 2
- Logarithimic frequency spectrum
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 cli-visualizer.