core
core copied to clipboard
VLC Add-On: main input error: VLC is unable to open the MRL
The problem
Hey,
I was previously able to play sound files over my loudspeakers via the VLC Add-On, but it broke overnight without any (for me) discernible reason.
I have the latest version of Home Assistant OS installed in a Proxmox VM. I'm passing my loudspeakers through via a 3,5mm to USB-A Adapter, which is still being recognized and is an "output" option in the add-on configuration.
However, instead of playing the file (Be it music or TTS), it's mostly silence with the occasional clipped noise mixed in. It's trying to play the file.
This is the add-on's log output:
[00007f06984aa100] main input error: Your input can't be opened [00007f06984aa100] main input error: VLC is unable to open the MRL 'http://homeassistant:8123/api/tts_proxy/da39a3ee5e6b4b0d3255bfef95601890afd80709_en-gb_6e8b81ac47_cloud.mp3'. Check the log for details.
I am unsure what other og it asks me to check, but I have added additional diagnostics to this ticket.
I don't believe that this is an error in the input file (which is what I believe the log is referring to) since the same file works just fine with other media players. For the record, I don't have an input configured in the add-on and previously didn't need one when it still worked. The output, my loudspeakers, was sufficient.
I've tried restarting the VM and host, re-installing the add-on and complementary integration, passing the USB through again, and checking the cables.
I believe this may be an issue with the add-on itself. I would have liked to send more diagnostics, but it seems that the vlc telnet integration does not offer any. Or the docs are wrong about where I get it from.
What version of Home Assistant Core has the issue?
core-2024.9.2
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
VLC TelNet
Link to integration documentation on our website
https://www.home-assistant.io/integrations/vlc_telnet/
Diagnostics information
home-assistant_vlc_telnet_2024-09-18T14-47-23.639Z.log
Example YAML snippet
No response
Anything in the logs that might be useful for us?
[00007f06984aa100] main input error: Your input can't be opened
[00007f06984aa100] main input error: VLC is unable to open the MRL 'http://homeassistant:8123/api/tts_proxy/da39a3ee5e6b4b0d3255bfef95601890afd80709_en-gb_6e8b81ac47_cloud.mp3'. Check the log for details.
Additional information
No response
Hey there @rodripf, @martinhjelmare, mind taking a look at this issue as it has been labeled with an integration (vlc_telnet) you are listed as a code owner for? Thanks!
Code owner commands
Code owners of vlc_telnet can trigger bot actions by commenting:
@home-assistant closeCloses the issue.@home-assistant rename Awesome new titleRenames the issue.@home-assistant reopenReopen the issue.@home-assistant unassign vlc_telnetRemoves the current integration label and assignees on the issue, add the integration domain after the command.@home-assistant add-label needs-more-informationAdd a label (needs-more-information, problem in dependency, problem in custom component) to the issue.@home-assistant remove-label needs-more-informationRemove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.
(message by CodeOwnersMention)
vlc_telnet documentation vlc_telnet source (message by IssueLinks)
What host computer are you running on?
Hey, I'm running this on an Intel B760 (Asus Prime B760-PLUS D4 Gaming DDR4) System with an Intel Core i5-14500, 48 Gigs of RAM, SATA-SSD.
Please restart HA and provide a "fresh" log, right after the issue occured again, thx 👍
Here is the new diagnostic data: home-assistant_vlc_telnet_2024-09-20T11-45-22.987Z.log
Does someone have the time to look at this again? :) It's unusable as of now.
I have the same issue when I try to play internet radio via VLC Telnet: [0000007f7ac7a630] main input error: Your input can't be opened [0000007f7ac7a630] main input error: VLC is unable to open the MRL 'http://icestreaming.rai.it/1.mp3'. Check the log for details.
Moreover playing mp3 files stored locally sound jiggles.
HA is running on a Raspberry Pi 3 B+ OS Version: HA OS 13.1 Core: 2024.9.1
Choppy sound on Raspberry Pi using HA OS is a separate known issue.
Alright, but I'm not using a Raspberry Pi. Does this mean this is a new bug?
Nothing in the log about VLC stands out to me. But you have some integration that's blocking the event loop which may affect all of Home Assistant in a bad way. That may not be the cause of the problem but I'd recommend retesting with just the VLC Telnet integration active or at least disabling all custom integrations.
Can you see what integration it is? I can't make it out in the log :( It is fontawesome? It doesn't make any sense, though. I didn't install or update custom integrations that night, so...
fontawesome, alexa_media and bambulab
Removing fontawesome did the trick.