[mythtv] MythTV Services Dev help

Matthew Schrader schradermj11 at gmail.com
Wed Sep 26 03:01:25 UTC 2012


I just found that the problem is that ChanID is not recognized by
servicehost.cpp but ChanId is.  Will continue to hunt down how the service
knows to expose ChanId but not ChanID.

At least for now I know the root problem and can continue on!

On Tue, Sep 25, 2012 at 8:42 PM, Matthew Schrader <schradermj11 at gmail.com>wrote:

> I am hoping someone can give me a kick start to how the services api works
> and is invoked.  As a fair warning I am fairly rusty on my c++.
>
> I am currently developing an application to act as a remote to all
> mythfrontends in my house.  I know this already exists but I am using this
> an an opportunity to get into the development of MythTV.
>
> I am attempting to provide a list of recordings to the user and allow them
> to choose to play one of them.  To do this when they click the play button
> I invoke the following url which in theory should play a recording.
>  However, when the method is invoked I see that ChanID does not actually
> have a value.  Can anyone tell me how the PlayRecordings method is invoked
> and how the variables are mapped?  Maybe this will help me track down
> whether this is actually a bug, or if it is a problem with how I am calling
> the web service.
>
> I am calling this url:
>
> http://localhost:6547/Frontend/PlayRecording?ChanID=1181&StartTime=2012-09-09T21:00:00Z
>
> The function I am looking at is in
> mythtv/programs/mythfrontend/services/mythfrontend.cpp
>
> Signature is:
> bool Frontend::PlayRecording(int ChanID, const QDateTime &StartTime)
>
> Anything anyone can do to point me in the right direction would be
> appreciated!
>
> --
> Thank you,
>
> Matt Schrader
>



-- 
Thank you,

Matt Schrader
(608) 931-7580
1249 Swallow Rd
Waukesha, WI 53189
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-dev/attachments/20120925/5463f3e2/attachment.html>


More information about the mythtv-dev mailing list