I was looking at how to get an script to start playing a hulu series on my android tv based Chromecast with Google TV.
I found a lot of incomplete information about using adb to start com.hulu.livingroomplus/.WKFactivity . All the information I found was suggesting the use of the VIEW intent. Which will autoplay an episode, but not a series. Instead it will just take you to the series page. There were suggestions about pressing the center button with adb after it loaded. But this didn’t reliably work either. GoogleTV is able to launch hulu and play the series right away without any shenanigans. So I knew there had to be an intent that would work properly.
With some adb commands, dumping the manifest from the hulu apk, and a mostly unrelated reddit post I’ve discovered the correct intent and data to send to start and autoplay a series on hulu.
adb shell am start -n com.hulu.livingroomplus/.WKFactivity -a hulu.intent.action.PLAY_CONTENT -e content_id bobs-burgers-fdeb1018-4472-442f-ba94-fb087cdea069
The content id is just from the url,
I couldn’t find this info anywhere, so I’m posting it here in hopes that someone else searching for it won’t have to dive into the adb docs and get a lucky hit on reddit to autoplay a series.
Also is there a simpler way to launch a hulu series on androidtv?