core: Media Extractor integration suddenly stopped working

The problem

I have been using Media Extractor integration to play a youtube video to my Google Nest display. Been working fine, but suddenly has stopped working. I haven’t changed anything as far as I can tell in my configuration, however I have been keeping my HA installation up to date, so maybe a recent update may be related to this.

A simple test of this by calling a service fails when I call this from the Developer tools UI.

service: media_extractor.play_media data: media_content_id: https://www.youtube.com/watch?v=fqI6aZLR6ng&ab_channel=SilvermanSoundStudios media_content_type: VIDEO target: entity_id: media_player.kitchen_display

I’ve tried other youtube files but no luck. I’ve also tried casting videos to my Display using my phone and computer and that works fine. I’ve also restarted both HA and my Google nest display.

Any ideas would be welcome. Perhaps

What version of Home Assistant Core has the issue?

Home Assistant 2023.2.5 Supervisor 2023.01.1 Operating System 9.5 Frontend 20230202.0 - latest

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

Media Extractor

Link to integration documentation on our website

https://www.home-assistant.io/integrations/media_extractor/

Diagnostics information

No response

Example YAML snippet

service: media_extractor.play_media
data:
  media_content_id: https://www.youtube.com/watch?v=fqI6aZLR6ng&ab_channel=SilvermanSoundStudios
  media_content_type: VIDEO
target:
  entity_id: media_player.kitchen_display

Anything in the logs that might be useful for us?

No response

Additional information

No response

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 5
  • Comments: 20 (1 by maintainers)

Most upvoted comments

I have created a pull request to upgrade to the new yt-dlp package instead of youtube-dl.