[mythtv-users] MythTV on Android

Thomas Mashos thomas at mashos.com
Mon Sep 10 01:27:56 UTC 2012


On Sun, Sep 9, 2012 at 5:51 PM, Nick Rout <nick.rout at gmail.com> wrote:
> On Mon, Sep 10, 2012 at 12:08 PM, Jay Ashworth <jra at baylink.com> wrote:
>> ----- Original Message -----
>>> From: "Daniel Frey" <dmfrey at gmail.com>
>>
>>> The reason for requiring the data is to provide a search function that will
>>> globally search the program guide so that you can manage your recordings
>>> much like you would from mythweb. Just because you may not use this
>>> functionality, does not mean someone else will not. Please keep in mind
>>> this app will be another front end, not just a viewer. Please bare with us
>>> while we work out this loading issue.
>>
>> Please let me call your attention to "client-server application design",
>> the thing which SQL was,very roughly, invented to support.
>>
>> If you're yanking *the entire recorded programs directory* over the wire
>> to the client, you badly need to refactor that code.
>
> That was kinda the thought I had, but didn't want to appear rude or
> ignorant (not saying you did either!). Also they are using the
> services api to do as much as possible, not sure what search
> facilities that provides?
>
> Daniel, don't get us wrong, we appreciate what you are doing!
>
>
>>
>> My apologies if this seems peremptory; I rewrote it 3 or 4 times.
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users

The services API is great, but it still needs extended a bit.
Currently it does allow searching on title, but if you want to pull a
list of all shows (as you would if you wanted to list all shows) it
requires you to pull information on all recorded shows (and way more
than is necessary for most things). There is no "list all show titles"
yet, although I hear it's in the works. This means that currently, if
you have 10 recording schedules, and each has 15 episodes recorded,
you have to pull 150 items of data (and each item has that "way more
than necessary" amount of data" just to list all 10 show titles.

I haven't looked at the MythTV android code (not sure I could help
much as I don't know Java), but I'd guess that it's working the best
it can within these limitations. Although I'm not sure the desired
design/scope of the project so they could be trying to do more than is
necessary.

Thanks,

Thomas Mashos


More information about the mythtv-users mailing list