[mythtv] Myth frontend for tvOS (Apple)
George Nassas
gnassas at mac.com
Tue Oct 6 02:20:07 UTC 2015
On Oct 5, 2015, at 8:58 PM, Bart Whiteley <bart.lists at whiteley.org> wrote:
> I thought about porting the MythTV frontend to tvOS. Am I correct in assuming that the protocol used by the frontend only works with a backend of the same version?
Yes, protocols have to match.
Something to consider is myth is GPL v2 licensed and I understand it’s hard or impossible to get GPL products into the app store. I don’t know the details, and maybe it’s not that drastic, but it’s worth reviewing before taking on such a tortuous effort.
> I've had some success with libVLC and the Services API. So far I can list and play Recordings.
You should continue down that path, the services api is the most stable of the interfaces. It does change occasionally but you can get version info through an xml interface. There’s also the problem that not everything is available through the services so you may end up having to drop down into the myth protocol. That’s a nuisance but it's pretty easy to support. I wrote one of the clients Craig referenced and you can see what I did vis-a-vis the myth protocol here:
https://github.com/MythTV-Clients/MythExpress/blob/master/mythtv/mythprotocol.js <https://github.com/MythTV-Clients/MythExpress/blob/master/mythtv/mythprotocol.js>
To me, the most impressive thing was when I wired up my application to live events from the backend. Changing something in the regular frontend or having the BE start a recording and having it instantly reflected in my web app was really cool. Maybe it’s just me. Anyway you can get live updates through the myth protocol or through a new websocket interface.
- George
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-dev/attachments/20151005/262c9582/attachment.html>
More information about the mythtv-dev
mailing list