[mythtv-commits] mythtv/master commit: e3e010a02 by Robert McNamara (rmcnamara)
MythTV
noreply at mythtv.org
Thu Sep 22 07:00:35 UTC 2011
Author: Robert McNamara <rmcnamara at mythtv.org>
Change Date: 2011-09-21T23:51:00-07:00
Push Date: 2011/09/22 00:00:29 -0700
Repository: mythtv
Branch: master
New Revision: e3e010a020aa1fdd01280fb13bc64ef82a015163
Changeset: https://github.com/MythTV/mythtv/commit/e3e010a02
Log:
Services: Add a Capture Service, and several APIs.
It's fairly basic right now, there are only API methods for adding and deleting capture devices. There's also relatively little error checking of any kind, so these APIs should be used with extreme caution (just like the channel APIs) because used incorrectly you could easily create a nonfunctional capture card.
http://BackendIP:6544/Capture/RemoveCaptureCard?Id=CARDNUM
http://BackendIP:6544/Capture/AddCaptureCard?VideoDevice=12345678&AudioDevice=foo&VBIDevice=bar&CardType=HDHOMERUN&DefaultInput=MPEGTS&AudioRateLimit=0&Hostname=localhost&DVBSWFilter=0&DVBSatType=sometype&DVBWaitForSeqStart=0&SkipBTAudio=1&DVBOnDemand=0&DVBDiSEqCType=0&FirewireSpeed=0&FirewireModel=blah&FirewireConnection=0
&SignalTimeout=1000&ChannelTimeout=3000&DVBTuningDelay=0&Contrast=0&Brightness=0&Colour=0&Hue=0&DiSEqCId=0&DVBEITScan=0
Both APIs are POST only.
Still missing for even the most basic setup application is the configuration of card inputs. Once that goes in we'll have at least barebones ways of querying lineups (Schedules Direct), Manipulating sources, manipulating channels, Manipulating Capture devices, and setting up inputs. Then we need to build a UI and add lots and lots of error and sanity checking.
Added:
mythtv/libs/libmythservicecontracts/datacontracts/captureCard.h
mythtv/libs/libmythservicecontracts/datacontracts/captureCardList.h
mythtv/libs/libmythservicecontracts/services/captureServices.h
mythtv/programs/mythbackend/serviceHosts/captureServiceHost.h
mythtv/programs/mythbackend/services/capture.cpp
mythtv/programs/mythbackend/services/capture.h
Modified:
mythtv/libs/libmythservicecontracts/libmythservicecontracts.pro
mythtv/libs/libmythtv/cardutil.cpp
mythtv/libs/libmythtv/cardutil.h
mythtv/programs/mythbackend/mediaserver.cpp
mythtv/programs/mythbackend/mythbackend.pro
More information about the mythtv-commits
mailing list