[mythtv] recordedmarkup - mark field question

Chris Pinkham cpinkham at bc2va.org
Tue Jan 30 03:00:43 UTC 2007


* On Mon Jan 29, 2007 at 11:49:10AM -0800, Michael Drons wrote:
> Can anyone provide any help on this for me?

Not trying to be snobbish or anything, but if you're modifying
a C program to try to talk to another C(++) program, why not just
look at the source to that second C program?  This happens to be
one of the commands that is actually documented well in the source
code:

This is from mythtv/programs/mythbackend/mainserver.cpp:

void MainServer::HandleSetBookmark(QStringList &tokens,
                                   PlaybackSock *pbs)
{
// Bookmark query
// Format:  SET_BOOKMARK <chanid> <starttime> <long part1> <long part2>
// chanid is chanid, starttime is startime of prorgram in
//   # of seconds since Jan 1, 1970, in UTC time.  Same format as in
//   a ProgramInfo structure in a string list.  The two longs are the two
//   portions of the bookmark value to set.

--
Chris


More information about the mythtv-dev mailing list