-
Notifications
You must be signed in to change notification settings - Fork 15
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
GST plugins 1.20.x break mopidy audio playback on intel machines #41
Comments
Just stopped by to ask if there's any suggestions for those of us latecomers to Mopidy who don't have 1.18.5 available? Can't see an easy way to downgrade on Mac OS. |
I got the same issue on an Apple Silicon machine, so it's not architecture-dependent. The error log from Mopidy:
|
I don't have an ETA on this fix, a lot of Open Source projects I contribute to are on life-support, and sadly, I don't have the time work on even 5% of the outstanding issues. My suggestion would be to look into building/running your own Mopidy Docker image with pulseaudio running as a brew service in the interim these might help you get started: https://github.com/troyxmccall/pulseaudio-macos https://github.com/jaedb/Iris/blob/master/Dockerfile You're also more than welcome to fork this repo and build your own bottles/tap for GST 1.18 |
No worries @troyxmccall ! Thanks for your previous Open Source contributions. Just saw a recent update of the gst libs on homebrew. Maybe that'll be the fix. 🤞 |
The problem seems to be that gstreamer somehow doesn't know where to look for plugins when called from within python, i.e. it's an env problem. See this SO question. Setting the env var gst-inspect-1.0 playbin | grep Filename # to get the filename
GST_PLUGIN_PATH=/usr/local/lib/gstreamer-1.0/ mopidy This is probably an upstream issue, but I don't know what the expectation is with load paths and python, and I barely know the gstreamer ecosystem. For the time being a fix would be just to set the env var in the mopidy script installed by this repo. |
@2e0byo Thanks much! It's been a while since I got stuck into this but even a cursory attempt seems to improve things. I can actually do a |
Can now also confirm that appropriately setting the GST_PLUGIN_PATH environment variable allows for proper audio playback. Here's what I did on my M1 MacBook Air (YMMV):
|
i haven't pinpointed the root cause, but running a standard
brew update
broke mopidy audio playblackchanges/formula updates
Error:
restoring /usr/local/bin from a snapshot with GST plugins @1.18.5 fixed playback
in the interim, I suggest NOT upgrading homebrew
The text was updated successfully, but these errors were encountered: