[mythtv] Services API : inputgroup

John P Poet jppoet at gmail.com
Thu May 26 17:46:52 UTC 2022


On Thu, May 26, 2022 at 10:02 AM David Engel <david at istwok.net> wrote:

> On Wed, May 25, 2022 at 07:22:42PM -0600, John P Poet wrote:
> > Hi Peter, et al.,
> >
> > Is there a Services API endpoint for managing the inputgroup table? I
> > didn't see one but figured I would ask before working on adding it.
> >
> > I have not been that active lately, so if there is a new and improved way
> > of writing Services API stuff, please let me know. Otherwise, I will
> follow
> > https://www.mythtv.org/wiki/Services_API_Development_Guide
>
> I'll defer to Peter, Stuart and Paul on the v2 API framework.  IMO,
> though, the v1 API is severely lacking when it comes to tuners and
> need not be kept as is in v2.
>
> As for input groups, I don't see any reason to allow direct access to
> the table per se through the API.  Instead, I think there should
> probably only be services like AddCaptureCardToGroup and
> RemoveCaptureCardFromGroup where the group is identified by name only.
>
> David
>

Yes, I agree. There would also need to be AddGroup and RemoveGroup and
GetGroups.

If you have other suggestions for how the tuner API should be structured,
let me know. I still don't have a lot of free time right now, but plan on
starting to work some of this stuff.

John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-dev/attachments/20220526/3b55aa04/attachment.htm>


More information about the mythtv-dev mailing list