jekalmin / extended_openai_conversation

Home Assistant custom component of conversation agent. It uses OpenAI to control your devices.
964 stars 136 forks source link

Small fix for youtube on WebOs (LG) #139

Open gterras opened 9 months ago

gterras commented 9 months ago

Hi there,

It seems that playing a specific youtube video on a LG TV now needs a v= prefix in contentId:

    - service: webostv.command
      data:
        entity_id: media_player.{YOUR_WEBOSTV}
        command: system.launcher/launch
        payload:
          id: youtube.leanback.v4
          contentId: "v={{video_id}}" 

Without it it just leads to the youtube home page.

jekalmin commented 9 months ago

If I add v= in contentId, an error occurs in my case. Probably it depends on LG TV model or webos version.

gterras commented 9 months ago

If I add v= in contentId, an error occurs in my case. Probably it depends on LG TV model or webos version.

Interesting I'll try to look into this, do you have recent firmware and youtube app?

jekalmin commented 9 months ago

Yes. It's up to date.

TV: LG, webos (2018) Youtube version: web_20240206_10_RC00