core icon indicating copy to clipboard operation
core copied to clipboard

VLC Add-On: main input error: VLC is unable to open the MRL

Open HexagonIsTheBestagon opened this issue 1 year ago • 5 comments

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

HexagonIsTheBestagon avatar Sep 18 '24 14:09 HexagonIsTheBestagon

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 close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign vlc_telnet Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove 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)

home-assistant[bot] avatar Sep 18 '24 14:09 home-assistant[bot]

What host computer are you running on?

MartinHjelmare avatar Sep 18 '24 16:09 MartinHjelmare

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.

HexagonIsTheBestagon avatar Sep 18 '24 17:09 HexagonIsTheBestagon

Please restart HA and provide a "fresh" log, right after the issue occured again, thx 👍

mib1185 avatar Sep 18 '24 20:09 mib1185

Here is the new diagnostic data: home-assistant_vlc_telnet_2024-09-20T11-45-22.987Z.log

HexagonIsTheBestagon avatar Sep 20 '24 11:09 HexagonIsTheBestagon

Does someone have the time to look at this again? :) It's unusable as of now.

HexagonIsTheBestagon avatar Sep 24 '24 15:09 HexagonIsTheBestagon

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

Riccardo-dm avatar Sep 26 '24 12:09 Riccardo-dm

Choppy sound on Raspberry Pi using HA OS is a separate known issue.

MartinHjelmare avatar Sep 26 '24 13:09 MartinHjelmare

Alright, but I'm not using a Raspberry Pi. Does this mean this is a new bug?

HexagonIsTheBestagon avatar Sep 27 '24 15:09 HexagonIsTheBestagon

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.

MartinHjelmare avatar Sep 27 '24 18:09 MartinHjelmare

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...

HexagonIsTheBestagon avatar Sep 28 '24 11:09 HexagonIsTheBestagon

fontawesome, alexa_media and bambulab

MartinHjelmare avatar Sep 28 '24 20:09 MartinHjelmare

Removing fontawesome did the trick.

HexagonIsTheBestagon avatar Dec 16 '24 22:12 HexagonIsTheBestagon