Skip to content
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

MPD CAN'T PLAY audio exception: CURL failed: The requested URL returned error: 404 #349

Open
potzkin opened this issue Sep 20, 2022 · 2 comments
Labels
bug Something isn't working mpd mpd Addon ympd ympd Addon

Comments

@potzkin
Copy link

potzkin commented Sep 20, 2022

MPD installed via addon
Home Assistant 2022.9.5
Supervisor 2022.09.1
Operating System 9.0
when playing audio (via google tts)

MPD log:

[19:38:24] INFO: Setup Folders
[19:38:24] INFO: Setup settings
[19:38:24] INFO: Set media folder
[19:38:25] INFO: Set playlist folder
[19:38:25] INFO: Start MPD
[19:38:26] INFO: Start ympd
MPD Connecting to 127.0.0.1:6600
MPD connected.
...
...
player: played "http://192.168.1.140:8123/api/tts_proxy/7f3d5c86288ae9caf27c2118e390e90e3a26528c_iw_-_google_translate.mp3"
exception: CURL failed: The requested URL returned error: 404
exception: CURL failed: The requested URL returned error: 404
exception: CURL failed: The requested URL returned error: 404
exception: CURL failed: The requested URL returned error: 404
player: played "http://192.168.1.140:8123/api/tts_proxy/7f3d5c86288ae9caf27c2118e390e90e3a26528c_iw_-_google_translate.mp3"
exception: CURL failed: The requested URL returned error: 404
exception: CURL failed: The requested URL returned error: 404
exception: CURL failed: The requested URL returned error: 404
exception: CURL failed: The requested URL returned error: 404
player: played "http://192.168.1.140:8123/api/tts_proxy/7f3d5c86288ae9caf27c2118e390e90e3a26528c_iw_-_google_translate.mp3"
## Expected Behavior
play audio via the local audio jack 

Actual Behavior

not playing

Version

Current version: 1.7.2

Configuration

media_folder: /media/mpd/media
playlist_folder: /media/mpd/playlists
volume_normalization: false
httpd_output: false

Log

HA LOG:


Logger: homeassistant.components.tts
Source: components/tts/__init__.py:707
Integration: Text-to-Speech (TTS) (documentation, issues)
First occurred: September 19, 2022 at 11:36:43 PM (46 occurrences)
Last logged: 6:54:59 PM
Error on load tts: 7f3d5c86288ae9caf27c2118e390e90e3a26528c_iw_-_google_translate not in cache!
Error on load tts: Wrong tts file format!

and:

2022-09-19 23:36:43.796 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: 7f3d5c86288ae9caf27c2118e390e90e3a26528c_iw_-_google_translate not in cache!
2022-09-19 23:36:49.400 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: 7f3d5c86288ae9caf27c2118e390e90e3a26528c_iw_-_google_translate not in cache!
2022-09-19 23:36:52.353 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: 7f3d5c86288ae9caf27c2118e390e90e3a26528c_iw_-_google_translate not in cache!
2022-09-19 23:36:52.362 WARNING (MainThread) [homeassistant.components.mpd.media_player] Retrieving artwork through `readpicture` command failed: [5@0] {readpicture} CURL failed: The requested URL returned error: 404
2022-09-19 23:36:52.374 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: Wrong tts file format!
2022-09-19 23:36:52.383 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: Wrong tts file format!
2022-09-19 23:36:52.390 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: Wrong tts file format!
2022-09-19 23:36:52.398 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: Wrong tts file format!
2022-09-19 23:36:53.477 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: 7f3d5c86288ae9caf27c2118e390e90e3a26528c_iw_-_google_translate not in cache!
2022-09-19 23:36:54.818 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: 7f3d5c86288ae9caf27c2118e390e90e3a26528c_iw_-_google_translate not in cache!
2022-09-19 23:36:56.519 ERROR (MainThread) [homeassistant.components.tts] Error on load tts: 7f3d5c86288ae9caf27c2118e390e90e3a26528c_iw_-_google_translate not in cache!


@potzkin potzkin added the bug Something isn't working label Sep 20, 2022
@Poeschl Poeschl added mpd mpd Addon ympd ympd Addon labels Sep 20, 2022
@vsimanin
Copy link

Relevant for me too.

@Sireone
Copy link

Sireone commented Jan 8, 2023

Same issue here. Is there a workaround to playing TTS with the MPD addon?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working mpd mpd Addon ympd ympd Addon
Projects
None yet
Development

No branches or pull requests

4 participants