The 2017 models of LG OLED TVs, which are quite common and will probably stick around for a while, seem to be stuck at WebOS 3.x with no major upgrades. They are listed in the README as supported and there are probably more TV stuck at 3.x, then just the OLEDs. Most commands seem to work without issues, but opening Youtube videos doesn't work. In this PR I added the commands openYoutubeLegacyId and openYoutubeLegacyURL, which work on WebOS 3.x. I also added the helper function get_youtube_id_from_url, since the videos are passed to Youtube only as IDs.
The openYoutubeLegacy commands should be tried, if the regular openYoutube command launches Youtube, but doesn't open the video. This PR fixes #33 .
Thank you for creating this awesome tool!
The 2017 models of LG OLED TVs, which are quite common and will probably stick around for a while, seem to be stuck at WebOS 3.x with no major upgrades. They are listed in the README as supported and there are probably more TV stuck at 3.x, then just the OLEDs. Most commands seem to work without issues, but opening Youtube videos doesn't work. In this PR I added the commands openYoutubeLegacyId and openYoutubeLegacyURL, which work on WebOS 3.x. I also added the helper function get_youtube_id_from_url, since the videos are passed to Youtube only as IDs.
The openYoutubeLegacy commands should be tried, if the regular openYoutube command launches Youtube, but doesn't open the video. This PR fixes #33 .