[mythtv-commits] mythtv commit: r27205 - in branches/mythtv-rec/mythtv/libs by danielk
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Fri Nov 12 20:26:57 UTC 2010
Author: danielk
Date: 2010-11-12 20:26:57 +0000 (Fri, 12 Nov 2010)
New Revision: 27205
Changeset: http://svn.mythtv.org/trac/changeset/27205
Log:
mythtv-rec: Channel class refactor.
* This merges a number of SetChannelByString() implementations, this avoids having bugs that are only fixed in some recorders, or are fixed differently in different recorders.
* This introduces two capability queries ChannelBase::IsExternalChannelChangeSupported() and DTVChannel::IsPIDTuningSupported()
* IsExternalChannelChangeSupported() allows Channel classes to optionally support external channel changing scripts.
* IsPIDTuningSupported() allows recorders to optionally support tuning to raw PIDs when there are no PAT/PMT tables.
* The GeneratedPAT/GeneratedPMT support from ASIChannel has been moved down to DTVChannel to make it easier to add that capability to other recorders.
* Tune(cosnt QString &freqid, int finetune) has been added as a generic means to tune based on freqid, whether that be a virtual channel in an OCUR tuner, or a regulatory identification string like the FCC channel numbers.
* Tune(uint mplexid, QString inputname) has been given a generic implementation in DTVChannel to avoid duplication of code.
* This eliminates SelectChannel() and SelectInput(), script handling has been move to HandleScript(), KillScript(), GetScriptStatus() and HandleScriptEnd().
* This fixes a few bugs in mythsystem.cpp, and also removes myth_system_abort() which appeared to be only used by ChannelBase which was attempting to use myth_system for functionality it's API doesn't yet support. I've use QProcess in ChannelBase instead and made myth_system() QProcess/popen/system safe as well.
Added:
branches/mythtv-rec/mythtv/libs/libmythtv/scriptsignalmonitor.h
Removed:
branches/mythtv-rec/mythtv/libs/libmythtv/channelchangemonitor.cpp
branches/mythtv-rec/mythtv/libs/libmythtv/channelchangemonitor.h
Modified:
branches/mythtv-rec/mythtv/libs/libmythdb/mythsystem.cpp
branches/mythtv-rec/mythtv/libs/libmythdb/mythsystem.h
branches/mythtv-rec/mythtv/libs/libmythtv/analogsignalmonitor.cpp
branches/mythtv-rec/mythtv/libs/libmythtv/asichannel.cpp
branches/mythtv-rec/mythtv/libs/libmythtv/asichannel.h
branches/mythtv-rec/mythtv/libs/libmythtv/asirecorder.cpp
branches/mythtv-rec/mythtv/libs/libmythtv/asisignalmonitor.cpp
branches/mythtv-rec/mythtv/libs/libmythtv/channelbase.cpp
branches/mythtv-rec/mythtv/libs/libmythtv/channelbase.h
branches/mythtv-rec/mythtv/libs/libmythtv/channelscan/channelscan_sm.cpp
branches/mythtv-rec/mythtv/libs/libmythtv/dtvchannel.cpp
branches/mythtv-rec/mythtv/libs/libmythtv/dtvchannel.h
branches/mythtv-rec/mythtv/libs/libmythtv/dtvrecorder.cpp
branches/mythtv-rec/mythtv/libs/libmythtv/dtvrecorder.h
branches/mythtv-rec/mythtv/libs/libmythtv/dtvsignalmonitor.cpp
branches/mythtv-rec/mythtv/libs/libmythtv/dtvsignalmonitor.h
branches/mythtv-rec/mythtv/libs/libmythtv/dummychannel.h
branches/mythtv-rec/mythtv/libs/libmythtv/dvbchannel.cpp
branches/mythtv-rec/mythtv/libs/libmythtv/dvbchannel.h
branches/mythtv-rec/mythtv/libs/libmythtv/dvbsignalmonitor.cpp
branches/mythtv-rec/mythtv/libs/libmythtv/dvbsignalmonitor.h
branches/mythtv-rec/mythtv/libs/libmythtv/dvbstreamhandler.cpp
branches/mythtv-rec/mythtv/libs/libmythtv/firewirechannel.cpp
branches/mythtv-rec/mythtv/libs/libmythtv/firewirechannel.h
branches/mythtv-rec/mythtv/libs/libmythtv/firewiresignalmonitor.cpp
branches/mythtv-rec/mythtv/libs/libmythtv/hdhrchannel.cpp
branches/mythtv-rec/mythtv/libs/libmythtv/hdhrchannel.h
branches/mythtv-rec/mythtv/libs/libmythtv/hdhrsignalmonitor.cpp
branches/mythtv-rec/mythtv/libs/libmythtv/iptvchannel.cpp
branches/mythtv-rec/mythtv/libs/libmythtv/iptvchannel.h
branches/mythtv-rec/mythtv/libs/libmythtv/iptvrecorder.h
branches/mythtv-rec/mythtv/libs/libmythtv/iptvsignalmonitor.cpp
branches/mythtv-rec/mythtv/libs/libmythtv/libmythtv.pro
branches/mythtv-rec/mythtv/libs/libmythtv/ocurchannel.cpp
branches/mythtv-rec/mythtv/libs/libmythtv/ocurchannel.h
branches/mythtv-rec/mythtv/libs/libmythtv/ocursignalmonitor.cpp
branches/mythtv-rec/mythtv/libs/libmythtv/signalmonitor.cpp
branches/mythtv-rec/mythtv/libs/libmythtv/signalmonitor.h
branches/mythtv-rec/mythtv/libs/libmythtv/tv_rec.cpp
branches/mythtv-rec/mythtv/libs/libmythtv/tv_rec.h
branches/mythtv-rec/mythtv/libs/libmythtv/v4lchannel.cpp
branches/mythtv-rec/mythtv/libs/libmythtv/v4lchannel.h
More information about the mythtv-commits
mailing list