[mythtv] Talking to the back end
Michael Luich
ravenhair at gmail.com
Mon Feb 14 20:29:17 UTC 2005
Docs. that's where i'm going.
Mike Luich
On Mon, 14 Feb 2005 14:25:25 -0600, gettler at acm.org <gettler at acm.org> wrote:
>
> I don't know where you're going with this, but if you're looking for
> an implementation outside of the mythtv code, look at libcmyth, which
> is included with the mvpmc project:
>
> http://mvpmc.sourceforge.net/
>
> No documentation, but you'll find the library along with an application
> that uses it.
>
> Or, if you prefer python, you can find sample code here:
>
> http://www.visi.com/~erl/
>
> Jon
>
> > http://winmyth.sourceforge.net/mythprotocol.html
> >
> > I'm working on decoding the protocol now. The info provided is very sketchy
> > I can only get it to accept:
> >
> > 22 ANN Playback Myputer 0
> > 23 MYTH_PROTO_VERSION 14
> > 4 DONE
> >
> > I'm putting this into a file called test then running:
> > cat test|nc localhost 6543 -i 2
> >
> > This give me:
> > 2 OK13 ACCEPT[]:[]14
> >
> > as out put.
> >
> > Putting anything else in give me bad command erros. and it seems once
> > you get one bad command the rest are doomed.
> >
> > I've compiled a possible list of current functions by looking at the
> > mainserver.cpp. Each command is listed as part of a if command ==
> > line.
> >
> > _____________________________________________________
> > MYTH_PROTO_VERSION
> > ANN
> > DONE
> > QUERY_RECORDINGS - delete?
> > QUERY_FREESPACE
> > QUERY_LOAD
> > QUERY_UPTIME
> > QUERY_MEMSTATS
> > QUERY_CHECKFILE
> > QUERY_GUIDEDATATHROUGH
> > QUEUE_TRANSCODE
> > QUEUE_TRANSCODE_CUTLIST
> > QUEUE_TRANSCODE_STOP
> > STOP_RECORDING
> > CHECK_RECORDING
> > DELETE_RECORDING
> > REACTIVATE_RECORDING
> > RESCHEDULE_RECORDINGS
> > FORGET_RECORDING
> > QUERY_GETALLPENDING
> > QUERY_GETALLSCHEDULED
> > QUERY_GETCONFLICTING
> > GET_FREE_RECORDER
> > GET_FREE_RECORDER_COUNT
> > GET_NEXT_FREE_RECORDER
> > QUERY_RECORDER
> > QUERY_REMOTEENCODER
> > GET_RECORDER_FROM_NUM
> > GET_RECORDER_NUM
> > QUERY_FILETRANSFER
> > QUERY_GENPIXMAP
> > QUERY_ISRECORDING
> > MESSAGE
> > FILL_PROGRAM_INFO
> > LOCK_TUNER
> > FREE_TUNER
> > QUERY_IS_ACTIVE_BACKEND
> > SHUTDOWN_NOW
> > BACKEND_MESSAGE
> > REFRESH_BACKEND
> > SlaveBackend
> > RingBuffer
> > FileTransfer
> > IS_RECORDING
> > GET_FRAMERATE
> > GET_FRAMES_WRITTEN
> > GET_FILE_POSITION
> > GET_FREE_SPACE
> > GET_KEYFRAME_POS
> > FILL_POSITION_MAP
> > SETUP_RING_BUFFER
> > GET_RECORDING
> > STOP_PLAYING
> > FRONTEND_READY
> > CANCEL_NEXT_RECORDING
> > SPAWN_LIVETV
> > STOP_LIVETV
> > PAUSE
> > FINISH_RECORDING
> > TOGGLE_INPUTS
> > TOGGLE_CHANNEL_FAVORITE
> > CHANGE_CHANNEL
> > SET_CHANNEL
> > CHANGE_COLOUR
> > CHANGE_CONTRAST
> > CHANGE_BRIGHTNESS
> > CHANGE_HUE
> > CHECK_CHANNEL
> > CHECK_CHANNEL_PREFIX
> > GET_NEXT_PROGRAM_INFO
> > GET_PROGRAM_INFO
> > GET_INPUT_NAME
> > REQUEST_BLOCK_RINGBUF
> > SEEK_RINGBUF
> > DONE_RINGBUF
> > GET_STATE
> > IS_BUSY
> > MATCHES_RECORDING
> > START_RECORDING
> > RECORD_PENDING
> > IS_OPEN
> > REQUEST_BLOCK
> > SEEK
> > _____________________________________
> >
> > Well i'm bored enough at work to keep at it.
> >
> > Mike Luich
> >
> >
> > On Mon, 14 Feb 2005 14:41:00 -0500, Calvin Harrigan
> > <charriglists at bellsouth.net> wrote:
> > > Michael Luich wrote:
> > > Ok so i've seen the myth protocol doc and looked through the code. I still
> > > have one question: What are the connection specifics? Telnet doesn't seem t
> >o
> > > work netcat doesn't either. I get no response from either one. Mike Luich
> > > ________________________________
> > > _______________________________________________ mythtv-dev mailing list
> > > mythtv-dev at mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
> > > Where did you find said document. I would appreciate a link very much.
> > >
> > > Thanks,
> > > Calvin...
> > >
>
More information about the mythtv-dev
mailing list