3 ms·
I also thought this was for Apple TV. Even though it isn't, it's theoretically possible to write apps that you control through your Apple TV by taking over one
by mnutt 13y ago
I also thought this was for Apple TV. Even though it isn't, it's theoretically possible to write apps that you control through your Apple TV by taking over one of the existing apps that you don't use. MLB is one of a few good candidates. Many of Apple TV's "apps" are actually javascript apps, though unfortunately they aren't just running a WebView.
When you load the MLB app, it requests javascript and assets from mlb.com and operates on some sort of XML document rather than an HTML DOM. At my office we use 3rd-gen Apple TVs for AirPlay presentations, and I did some experiments with making a custom app that showed a rotating list of clients. We used a Raspberry Pi that functioned as both webserver and DNS, then pointed the Apple TVs' DNS at the Pi to reroute all requests going to mlb.com.
- conradev 13y agoI'm curious as to how this works - did you happen to write anything up about that endeavor? There are endless applications to writing web apps for an Apple TV. (In addition, the second generation Apple TV can be jailbroken and the relevant software reverse engineered if there is anything unclear in what you discovered thus far)
- greg5green 13y agoI don't know if he had written anything up, but PlexConnect (https://github.com/iBaa/PlexConnect https://github.com/iBaa/PlexConnect) uses a similar process to serve Plex up to the AppleTV via the Trailers app.
- conradev 13y agoSweet, thanks! I used Apple Configurator to configure a proxy on my Apple TV, and am taking apart the apps that are grabbed over HTTP. Cool stuff!