-
Notifications
You must be signed in to change notification settings - Fork 16
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
vlc addon audio not working #2
Comments
Hi there! Sorry to hear about your error, what model of the raspberry pi are you using? |
Raspberrypi3b+ |
Two week before working Update after not working |
I now have the exact same error! It used to work like a dream, but an update or such broke it. I am now at the latest HassOS 3.12 and Home Assistant 106.6. I get the errors above. The old device “bcm...” is no longer listed, and instead I have “default” or “Built in IEC958”. In both cases I get the errors above. |
...Also PI 3B+ |
Everything points to the HA update, which I haven't downloaded yet. I'll be analyzing what in this update broke the add-on. |
The strange thing is that the problem started before I did the manual update, about two days ago. I was still at OS 2.something and Home Assistant 103 and have not updated for two months. My philosophy is once something is working well, I don’t touch it. Something updated — I do not know what. I thought you updated VLC and did the manual update of the OS and Home Assistant in order to solve the problem. At any rate, let us know what you come up with. I know you will get it sorted. |
A quick chat with the Great Frenck pointed out to a change in the way the audio sources are managed and a new requirement on the docker image of the add-ons. I'll try to add and test the new requirement ASAP. https://twitter.com/pvizeli/status/1233336433487773698 |
Rodrigo, any idea when this is going to be fixed? |
I followed @pvizeli instructions, but another error came up: Now the plugin plays music at the second or third time you press play and the log is a hell of I'll have to fix this new one before making a new release. I'm investigating on this. |
Any good news on this front, dear Rodrigo? |
May be this would be helpfull Hope u fix it soon. |
Sadly after hours trying to figure out what's going on, I can't fix it yet. |
I've a timeslot tomorrow and look into the issue of the software |
Hi @pvizeli ! Did you have any chance to check this out? Would you like to arrange a call? |
Is there a way to somehow go to older versions of Hassio? I was perfectly happy with how things were. |
It is pretty simple, just use vlc with PulseAudio directly or with also PulseAudio plugin like I've written in the dev documentation. |
So its it working now? Would you kindly point me to the dev documentation? I could not find it. |
Hi! I've found the magic parameter! Please update the add-on! |
Would someone please help us to figure out how to install PulseAudio? I did Local-VLC rebuild and also uninstall/install, but I get these errors:
I'm using a Pi 3B+. |
On your side you should do nothing, but only update the add-on. Do you have the last plugin version installed, 18? |
No matter what I do, I only get v. 17. I uninstalled and installed. Still v. 17. I did a rebuild. Still 17. |
That's the problem, but weird. Did you tried with the white refresh arrow on the top-right of the add-on store to force check for updates? |
Thank you very much. you are great. After some fiddling, I got it to update (I had to update HA first). However, notice two things:
|
I'm also getting this from VLC-Local:
|
Same errors. Full log below
|
Let me check on those errors.... |
Any good news? |
I found kind of solution. May be this wil be helpfull. EDITED: |
Any resolution on the horizon or work-around? Also, does the message below have any bearing on this issue?. Do others see it in the Developer Tools Logs?
|
Hi mates, I think there is a problem between VLC and the alsa-pulse-plugin that I am sadly unable to solve. The most stable configuration I got was:
The cannot estimate delay: I/O error continues appearing, but less frequently, and the initials delays and noises when playing a song are gone. I can't explain why or if it is a valid and permanent fix for everyone. Please, tell me if it works for you. Thanks for your support |
On the other hand, I'm thinking on move away completely from vlc to another player that has better compatibility with the new pulseaudio plattform on HA, but it has to have at least the same capabilities of VLC. The rapsberry pi native omxplayer perhaps? The simple aplay? IDK I'll be investigating. If you want to get in touch with me, contact me via discord at rodripf#2573 |
I will test it and report. When VLC did not work, I switched to Mopidy. It works but is not as good. It has two issues: 1) volume control is mostly ignored, and 2) Quality of play is not as good. In the past, I tested omxplayer on the Pi. It mysteriously cut off the last portion of MP3 files for some reason. That was some time ago, though. aplay, I think, cannot play MP3 files, only WAV files. |
I just tested it. Latest everything. Installed the add-on. Rebooted the entire server. Unfortunately, at least for me, it is still not working :( |
Sorry to hear that :( I discovered cmus, and there already is an integration It would be a good target to make an add-on. Did you already tried it? |
If you package it for Hassio I will test it. I have also in the past used mpg321 with good results. And maybe omxplayer was fixed in recent versions. |
No new update on this topic? Any fixes or new packages? |
I have created a simple local audio add-on that is working 100% for me. Pros: Cons: If your need is to play local files on the Hassio server, this is perfect for you. If there is interest, I could post it here or somewhere. Perhaps then someone can turn it into an official addon on GitHub. |
Hello. I ran into a problem while installing [000000558e380ea0] dbus interface error: Failed to connect to the D-Bus session daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11 There is no sound from the speakers. Only occasionally slight interference. |
In general, it seems strange to me that Hassio comes without the ability to use the audio output out of the box. |
Hello @lightzhuk , do you found a solution please? i am in the same boat, same errors like you. Thanks |
now vlc telnet addon before audio output alsa0,alsa1,alsa2 now only default and
Built-in Audio Digital Stereo (IEC958) i am trying both not working
[01758f40] main decoder error: failed to create audio output
ALSA lib dlmisc.c:283:(snd_dlobj_cache_get0) Cannot open shared library /usr/lib/alsa-lib/libasound_module_pcm_pulse.so ((null): Error loading shared library /usr/lib/alsa-lib/libasound_module_pcm_pulse.so: No such file or directory)
[016c29f0] alsa audio output error: cannot open ALSA device "default": No such device or address
[016c29f0] main audio output error: Audio output failed
[016c29f0] main audio output error: The audio device "default" could not be used:
No such device or address.
The text was updated successfully, but these errors were encountered: