I've been building a dynamic Top Shelf extension for my app. The content appears just fine, but I cannot—for the life of me—figure out how to get it to work properly with the playURL property on TVContentItem. Currently, I have hardcoded a URL for every single one of my content items in an attempt to get it to launch my app (which has the proper URL type registered), but the app doesn't launch when I click a top shelf item.
Is there a way to debug what's happening inside of my TVTopShelfProvider object?
Thanks for your followup, but I figured out what was going on:
You must provide data for both playURL and displayURL. Failing to provide both means that selecting a top shelf item does nothing. As soon as I provided a dummy value for displayURL, selecting a video immediately started opening my app. (or, conversely, I was being dumb and only selecting a top shelf item, and never explicitly playing it. Either way, try implementing both.)