#Not sure for best option to report an issue with media_extractor add-on

1 messages · Page 1 of 1 (latest)

pine relic
#

For the last 2-3 days I noticed an error when using media_extractor add-on to play YouTube videos to Chromecast group (4 Chromecast Audio and 1 ChromeCast Ultra)

Everything worked great for years until 3 days ago when YouTube changed something on their side and now calling the add-on is returning

File "/usr/src/homeassistant/homeassistant/components/media_extractor/init.py", line 269, in get_best_stream
return cast(str, formats[len(formats) - 1]["url"])
~~~~~~~^^^^^^^^^^^^^^^^^^
IndexError: list index out of range

Which option should I choose when opening a new issue on GitHub ?

short knot
#

The first one

#

I might need to bump the dependency for it again

pine relic
#

Do you mean bumping yt-dlp to 2025.03.26 ?

short knot
#

yes

pine relic
#

Thank you

pine relic
short knot
#

Permanently until it breaks again

pine relic
#

Hopefully not )

#

Would it help to just bump yt-dlp on daily basis?

#

The breaking change this time is on YouTube side I guess - nothing wrong in HA, media_extractor or yt-dlp team

short knot
#

I mean, YouTube obviously want yt dlp to exist

pine relic
#

they release on March 21st, then 25th and 26th

#

I guess when something breaks they quickly fixes and releases, along with any features ready to ship

Just my assumption

short knot
#

I share that assumption

pine relic
#

I was eager to fix the issue with playing YouTube videos on my Google Cast group (4 CCA and one Chromecast Ultra) because my 9 weeks now son heavily depends on baby sleep music played before the naps so couldn't wait couple of more days before the release of 2025.4 🙂

#

And my sleep hours and my wife's also depends indirectly on his naps 🙂

short knot
#

Hehe