gstreamer integration does not work on Home Assistant Core
See original GitHub issueThe problem
See this previous issue for more data:
When adding a gstreamer media player to the config the following error occurs: [homeassistant.components.hassio] Platform error media_player.gstreamer - No module named ‘gi’
What version of Home Assistant Core has the issue?
2022.6.0
What was the last working version of Home Assistant Core?
unknown
What type of installation are you running?
Home Assistant OS
Integration causing the issue
gstreamer
Link to integration documentation on our website
https://www.home-assistant.io/integrations/gstreamer
Diagnostics information
No response
Example YAML snippet
media_player:
- platform: gstreamer
pipeline: "audioresample ! audioconvert ! audio/x-raw,rate=48000,channels=2,format=S16LE ! wavenc ! filesink location=/tmp/snapcast_gstreamer"
Anything in the logs that might be useful for us?
ERROR (MainThread) [homeassistant.components.hassio] Platform error media_player.gstreamer - No module named 'gi'
Additional information
Seems that there are some missing components needed for this integration missing from Core, which prevents the integration from working out of the box.
Issue Analytics
- State:
- Created a year ago
- Reactions:4
- Comments:9
Top Results From Across the Web
GStreamer - Home Assistant
The gstreamer platform allows you to play audio via a gstreamer pipeline. Practically, this means you can play audio directly on the computer...
Read more >TTS not working with 2022.5 - Home Assistant Community
tts does work with our setup on version 2022.4.7. I am running HomeAssistant Container. Dockerfile: FROM ghcr.io/home-assistant/raspberrypi3- ...
Read more >Gstreamer or mopidy for audio out - Home Assistant Community
I'm working through setting up Home Assistant (HassIO) to play audio through. Reading this board there appears to be two paths, Mopidy vs ......
Read more >Add GStreamer to Home Assistant OS - Feature Requests
Having GStreamer enabled would be extremely helpful to easily get sound in and out of instances running in virtual machines, and to integrate...
Read more >Tts.cloud_say not working since update to HA 2022.5.0 / Error ...
Anyone having the same problem? ... Same issue here. ... media_source: to my configuration.yaml and then restarting Home Assistant. ... Confirm, don't ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

not stale.
I got it working by executing the following commands:
After executing those commands in the HA container i was able to use the Gstreamer integration without any errors. I would really appreciate if any dev would implement those dependencies into the project.