KoljaWindeler / ytube_music_player

YouTube music player for homeassistant
346 stars 53 forks source link

No Sound at all #341

Open derekagraham78 opened 6 months ago

derekagraham78 commented 6 months ago

Enable DEBUG Output Please see: https://github.com/KoljaWindeler/ytube_music_player/#debug-information

First error message

logger:%20homeassistant.core%0ASource%3A%20core.py%3A2758%0AFirst%20occurred%3A%209%3A10%3A00%20PM%20(4%20occurrences)%0ALast%20logged%3A%209%3A10%3A02%20PM%0A%0AError%20executing%20service%3A%20%3CServiceCall%20media_player.play_media%20(c%3A01HX5TMG6G7ABD93377X87VHKX)%3A%20entity_id=%5B'media_player.owntone_output_left_living_room_homepod_mini'%5D,%20extra=metadata=metadataType=3,%20title=Pour%20Some%20Sugar%20On%20Me,%20artist=Def%20Leppard,%20images=%5B%7B'url'%3A%20'https%3A//lh3.googleusercontent.com/9yDjtR14r2guzQRSi25mWOiB5w7ZGtKXdPCM54mooy9D-1Lt3hE5IMIJEBmDITM8vwJpxz2plHSL8xHh=w544-h544-l90-rj'%7D%5D,%20media_type=music,%20media_id=https://rr3---sn-gjo-vgqz.googlevideo.com/videoplayback?expire=1714982999&ei=9zs4ZsKOM__Olu8Pwqad2A8&ip=208.59.78.209&id=o-ACnmD3dcREmPOgz9I8gMy9iPVMmNHIKgG_YQD7PHFlw5&itag=774&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%253D%253D&mh=6d&mm=31%252C29&mn=sn-gjo-vgqz%252Csn-vgqskn6z&ms=au%252Crdu&mv=m&mvi=3&pl=24&ctier=A&pfa=5&gcr=us&initcwndbps=1128750&hightc=yes&siu=1&bui=AWRWj2RJaJJhQJBoYpvJUG6vAQGwSmRGagiL3nJvfO4aPwc0CGv2Wa9mtHnf8QoDqkOgd9R5Ew&spc=UWF9f6nPDkQJEE4R7pkPkIRdWqsRwiyZmfnJVwAndyTUDGncbd1kjuxXqAwT&vprv=1&svpuc=1&mime=audio%252Fwebm&ns=zpmH1qawnWd5hR85jChecVcQ&gir=yes&clen=8240570&dur=267.321&lmt=1714750513316918&mt=1714961102&fvip=5&keepalive=yes&c=WEB_REMIX&sefc=1&txp=5532434&n=lv03pLQDfgHqVPvYem&sparams=expire%252Cei%252Cip%252Cid%252Citag%252Csource%252Crequiressl%252Cxpc%252Cctier%252Cpfa%252Cgcr%252Chightc%252Csiu%252Cbui%252Cspc%252Cvprv%252Csvpuc%252Cmime%252Cns%252Cgir%252Cclen%252Cdur%252Clmt&lsparams=mh%252Cmm%252Cmn%252Cms%252Cmv%252Cmvi%252Cpl%252Cinitcwndbps&lsig=AHWaYeowRgIhAOclMDnWu2W7dCNsYfja-k2YzfNbXaQGUe1NvI0Yno7DAiEA8vUk3qvuT8qBTxiJgaENhQHXL5I3w1x0Na_40otBP8U%253D&sig=AJfQdSswRQIgWzCJCjAB0pqNEXaAFqVc8du7y_zsGWk6HFMGUvquLSkCIQDchFdgn5z-g-TvLJ8AaUe-N2QIqKnzyq_9hL71edH4vQ==%3E%0AError%20executing%20service:%20%3CServiceCall%20media_player.play_media%20(c:01HX5TMG888FZ5D15SGY3XTW1S):%20entity_id=%5B'media_player.owntone_output_left_living_room_homepod_mini'%5D,%20extra=metadata=metadataType=3,%20title=Pour%20Some%20Sugar%20On%20Me,%20artist=Def%20Leppard,%20images=%5B%7B'url':%20'https://lh3.googleusercontent.com/9yDjtR14r2guzQRSi25mWOiB5w7ZGtKXdPCM54mooy9D-1Lt3hE5IMIJEBmDITM8vwJpxz2plHSL8xHh=w544-h544-l90-rj'%7D%5D,%20media_type=music,%20media_id=https://rr3---sn-gjo-vgqz.googlevideo.com/videoplayback?expire=1714982999&ei=9zs4ZoKYNp6X2_gP4qejkAc&ip=208.59.78.209&id=o-AMvWj_94yxUQyONh4Ui954jGeh1cILyuXCoXeNz7KeWp&itag=774&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%253D%253D&mh=6d&mm=31%252C29&mn=sn-gjo-vgqz%252Csn-vgqsrnzr&ms=au%252Crdu&mv=m&mvi=3&pl=24&ctier=A&pfa=5&gcr=us&initcwndbps=1128750&hightc=yes&siu=1&bui=AWRWj2Szr1_zhGcoqLSel2V3wX1_Bv1oF-t5nNxrB7gHrGEIPWOa37BKjbo_FZJrcfa5G5bTcw&spc=UWF9f2qRBHuTxZXjCKXqVAmrqXFt7s5NpybRb247vtYB4skJ0UXyp8_5Cjsu&vprv=1&svpuc=1&mime=audio%252Fwebm&ns=6rd7nnsAwUdCeaiYhsjqHR8Q&gir=yes&clen=8240570&dur=267.321&lmt=1714750513316918&mt=1714961102&fvip=1&keepalive=yes&c=WEB_REMIX&sefc=1&txp=5532434&n=t8H-BoikkjvS-RxeMQ&sparams=expire%252Cei%252Cip%252Cid%252Citag%252Csource%252Crequiressl%252Cxpc%252Cctier%252Cpfa%252Cgcr%252Chightc%252Csiu%252Cbui%252Cspc%252Cvprv%252Csvpuc%252Cmime%252Cns%252Cgir%252Cclen%252Cdur%252Clmt&lsparams=mh%252Cmm%252Cmn%252Cms%252Cmv%252Cmvi%252Cpl%252Cinitcwndbps&lsig=AHWaYeowRAIgXq0QD1olEaHtfXJs19GLKFibUBnfDDsxBVVjzjv3TXMCIFw50KqLvJ7DvSScFCEEouu7iKbHEvNtjJO4Toq72P0z&sig=AJfQdSswRgIhAPY30c80o55mFJyM0wjO9pDepP6Tq16mUQlzu-Bk9sfoAiEAkXT-qNKZlj2luQICcnBYAsuSSZmu5t7t9loW7F3N9WY=%3E%0AError%20executing%20service:%20%3CServiceCall%20media_player.media_seek%20(c:01HX5TMHDH8N87YWS68JCKG6XZ):%20entity_id=%5B'media_player.owntone_output_left_living_room_homepod_mini'%5D,%20position=1.507693%3E%0AError%20executing%20service:%20%3CServiceCall%20media_player.play_media%20(c:01HX5TMJS3PDTMBW3BR1HS6YM3):%20entity_id=%5B'media_player.owntone_output_left_living_room_homepod_mini'%5D,%20extra=metadata=metadataType=3,%20title=Jump,%20artist=Van%20Halen,%20images=%5B%7B'url':%20'https://lh3.googleusercontent.com/0WaygPP0BwNKhodZ-yByhw-v93R5gkv598nPiJ-pCxC-ZvhgDsV4dL1XA8Hza4YCPEL_hh1Jg-dIWAym=w544-h544-l90-rj'%7D%5D,%20media_type=music,%20media_id=https://rr4---sn-gjo-vgqz.googlevideo.com/videoplayback?expire=1714983002&ei=-js4ZrClG7v82_gPy829iAE&ip=208.59.78.209&id=o-ANq9nSNDcchmZBGmo93zJmdLclt0v2GS2bFVCTiRcroT&itag=141&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%253D%253D&mh=Ub&mm=31%252C29&mn=sn-gjo-vgqz%252Csn-vgqsrnsr&ms=au%252Crdu&mv=m&mvi=4&pl=24&ctier=A&pfa=5&gcr=us&initcwndbps=1128750&hightc=yes&siu=1&bui=AWRWj2QI-0LnWbOpy8e75F9O0arKhNwyrPPPiUmG-FDao-7cTq8640SDoC8QCSafIoDiXvp0jw&spc=UWF9fyUZXVblPUiWc17Y4p_myLC4NMojgMhLCUIY04U_Mg9sHmpn7MeZDEPx&vprv=1&svpuc=1&mime=audio%252Fmp4&ns=9kVsitgkFhVhKF7OvB6CI0wQ&gir=yes&clen=7713988&dur=239.559&lmt=1644753867778023&mt=1714961102&fvip=3&keepalive=yes&c=WEB_REMIX&sefc=1&txp=4432434&n=E4ax1k_Y7oUW5ZISYb&sparams=expire%252Cei%252Cip%252Cid%252Citag%252Csource%252Crequiressl%252Cxpc%252Cctier%252Cpfa%252Cgcr%252Chightc%252Csiu%252Cbui%252Cspc%252Cvprv%252Csvpuc%252Cmime%252Cns%252Cgir%252Cclen%252Cdur%252Clmt&lsparams=mh%252Cmm%252Cmn%252Cms%252Cmv%252Cmvi%252Cpl%252Cinitcwndbps&lsig=AHWaYeowRgIhAJ2Z869TpEyGdIP6PIOaCyuhs0lwsZxnW2y-q_jwRQG9AiEA5TRqbbx2BIzzGIL_W5qW8J3iKFTK8C6D2N61YrNdQY8%253D&sig=AJfQdSswRQIhAOiYRurCs1BKA3SRabC36zxLCDPKuiIieo-0gOeX5oTSAiBRpVL7W33vY4lHkLMc30sxRuxGvhxNzYQrY2kxecmUAA==%3E%0ATraceback%20(most%20recent%20call%20last):%0A%20%20File%20%22/usr/src/homeassistant/homeassistant/core.py%22,%20line%202758,%20in%20_run_service_call_catch_exceptions%0A%20%20%20%20await%20coro_or_task%0A%20%20File%20%22/usr/src/homeassistant/homeassistant/core.py%22,%20line%202779,%20in%20_execute_service%0A%20%20%20%20return%20await%20target(service_call)%0A%20%20%20%20%20%20%20%20%20%20%20%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%0A%20%20File%20%22/usr/src/homeassistant/homeassistant/helpers/service.py%22,%20line%20957,%20in%20entity_service_call%0A%20%20%20%20raise%20HomeAssistantError(%0Ahomeassistant.exceptions.HomeAssistantError:%20Entity%20media_player.owntone_output_left_living_room_homepod_mini%20does%20not%20support%20this%20service.%0A

Second error


`This error originated from a custom integration.

Logger: custom_components.ytube_music_player.media_player
Source: custom_components/ytube_music_player/media_player.py:268
integration: yTubeMediaPlayer (documentation, issues)
First occurred: 9:01:05 PM (5802 occurrences)
Last logged: 9:10:16 PM

[S] async_update_remote_player(Input media_player.owntone_output_left_living_room_homepod_mini/ current media_player.owntone_output_left_living_room_homepod_mini)
[S] async_update_extra_sensor [E]
[S] async_sync_player
media_player.owntone_output_left_living_room_homepod_mini
[S] async_check_api [E]`

Third error message


This error originated from a custom integration.

Logger: custom_components.ytube_music_player.media_player
Source: custom_components/ytube_music_player/media_player.py:277
integration: yTubeMediaPlayer (documentation, issues)
First occurred: 9:01:05 PM (13384 occurrences)
Last logged: 9:10:18 PM

event: 2024-05-06 02:10:15.605544+00:00
[E] async_sync_player
event: 2024-05-06 02:10:16.176958+00:00
event: 2024-05-06 02:10:16.265698+00:00
event: 2024-05-06 02:10:18.926423+00:00

Describe the bug I have installed in a HomeAssistant using docker, no sound is coming out of any of my speakers. I even tried to setup a OneTone Server

Version please provide the version you are using (see HACS) Core 2024.5.0 Frontend 20240501.0 To Reproduce Steps to reproduce the behavior:

  1. Load app or go to ha on web interface
  2. Select playlist
  3. Select any output
  4. Turn on
  5. See it playing
  6. No sound

Additional context Add any other context about the problem here.

Thanks

KoljaWindeler commented 6 months ago

Hi, decoding from your error line this has something do to with your owntunes server

Entity media_player.owntone_output_left_living_room_homepod_mini does not support this service.

at least this player is sending the URL correct to your owntones server ... so I guess you have to check there .. Try a chromecast if you have one .. those work very well