|
MythTV
0.26-pre
|
Go to the source code of this file.
Enumerations | |
| enum | OutputMethod { kOutputMethodEssentials = 1, kOutputMethodFull } |
Functions | |
| static QMap< QString, SkipTypes > * | init_skip_types () |
| static QMap< QString, OutputMethod > * | init_output_types () |
| static QString | get_filename (ProgramInfo *program_info) |
| static int | QueueCommFlagJob (uint chanid, QDateTime starttime, bool rebuild) |
| static int | CopySkipListToCutList (uint chanid, QDateTime starttime) |
| static int | ClearSkipList (uint chanid, QDateTime starttime) |
| static int | SetCutList (uint chanid, QDateTime starttime, QString newCutList) |
| static int | GetMarkupList (QString list, uint chanid, QDateTime starttime) |
| static void | streamOutCommercialBreakList (ostream &output, const frm_dir_map_t &commercialBreakList) |
| static void | print_comm_flag_output (const ProgramInfo *program_info, const frm_dir_map_t &commBreakList, uint64_t frame_count, const CommDetectorBase *commDetect, const QString &output_filename) |
| static void | commDetectorBreathe () |
| static void | commDetectorStatusUpdate (const QString &status) |
| static void | commDetectorGotNewCommercialBreakList (void) |
| static void | incomingCustomEvent (QEvent *e) |
| static int | DoFlagCommercials (ProgramInfo *program_info, bool showPercentage, bool fullSpeed, int jobid, MythCommFlagPlayer *cfp, enum SkipTypes commDetectMethod, const QString &outputfilename, bool useDB) |
| static qint64 | GetFileSize (ProgramInfo *program_info) |
| static bool | DoesFileExist (ProgramInfo *program_info) |
| static void | UpdateFileSize (ProgramInfo *program_info) |
| static bool | IsMarked (uint chanid, QDateTime starttime) |
| static int | FlagCommercials (ProgramInfo *program_info, int jobid, const QString &outputfilename, bool useDB, bool fullSpeed) |
| static int | FlagCommercials (uint chanid, const QDateTime &starttime, int jobid, const QString &outputfilename, bool fullSpeed) |
| static int | FlagCommercials (QString filename, int jobid, const QString &outputfilename, bool useDB, bool fullSpeed) |
| static int | RebuildSeekTable (ProgramInfo *pginfo, int jobid) |
| static int | RebuildSeekTable (QString filename, int jobid) |
| static int | RebuildSeekTable (uint chanid, QDateTime starttime, int jobid) |
| int | main (int argc, char *argv[]) |
Variables | |
| int | quiet = 0 |
| bool | progress = true |
| bool | force = false |
| MythCommFlagCommandLineParser | cmdline |
| bool | watchingRecording = false |
| CommDetectorBase * | commDetector = NULL |
| RemoteEncoder * | recorder = NULL |
| ProgramInfo * | global_program_info = NULL |
| int | recorderNum = -1 |
| int | jobID = -1 |
| int | lastCmd = -1 |
| QMap< QString, SkipTypes > * | skipTypes = init_skip_types() |
| OutputMethod | outputMethod = kOutputMethodEssentials |
| QMap< QString, OutputMethod > * | outputTypes = init_output_types() |
| enum OutputMethod |
Definition at line 119 of file mythtv/programs/mythcommflag/main.cpp.
| static QMap< QString, SkipTypes > * init_skip_types | ( | void | ) | [static] |
Definition at line 98 of file mythtv/programs/mythcommflag/main.cpp.
| static QMap< QString, OutputMethod > * init_output_types | ( | void | ) | [static] |
Definition at line 129 of file mythtv/programs/mythcommflag/main.cpp.
| static QString get_filename | ( | ProgramInfo * | program_info | ) | [static] |
Definition at line 137 of file mythtv/programs/mythcommflag/main.cpp.
Referenced by DoesFileExist(), FlagCommercials(), GetFileSize(), and RebuildSeekTable().
| static int QueueCommFlagJob | ( | uint | chanid, |
| QDateTime | starttime, | ||
| bool | rebuild | ||
| ) | [static] |
Definition at line 145 of file mythtv/programs/mythcommflag/main.cpp.
Referenced by main().
| static int CopySkipListToCutList | ( | uint | chanid, |
| QDateTime | starttime | ||
| ) | [static] |
Definition at line 198 of file mythtv/programs/mythcommflag/main.cpp.
Referenced by main().
| static int ClearSkipList | ( | uint | chanid, |
| QDateTime | starttime | ||
| ) | [static] |
Definition at line 225 of file mythtv/programs/mythcommflag/main.cpp.
Referenced by main().
| static int SetCutList | ( | uint | chanid, |
| QDateTime | starttime, | ||
| QString | newCutList | ||
| ) | [static] |
Definition at line 246 of file mythtv/programs/mythcommflag/main.cpp.
Referenced by main().
| static int GetMarkupList | ( | QString | list, |
| uint | chanid, | ||
| QDateTime | starttime | ||
| ) | [static] |
Definition at line 279 of file mythtv/programs/mythcommflag/main.cpp.
Referenced by main().
| static void streamOutCommercialBreakList | ( | ostream & | output, |
| const frm_dir_map_t & | commercialBreakList | ||
| ) | [static] |
Definition at line 338 of file mythtv/programs/mythcommflag/main.cpp.
Referenced by print_comm_flag_output().
| static void print_comm_flag_output | ( | const ProgramInfo * | program_info, |
| const frm_dir_map_t & | commBreakList, | ||
| uint64_t | frame_count, | ||
| const CommDetectorBase * | commDetect, | ||
| const QString & | output_filename | ||
| ) | [static] |
Definition at line 363 of file mythtv/programs/mythcommflag/main.cpp.
Referenced by DoFlagCommercials().
| static void commDetectorBreathe | ( | ) | [static] |
Definition at line 412 of file mythtv/programs/mythcommflag/main.cpp.
Referenced by DoFlagCommercials().
| static void commDetectorStatusUpdate | ( | const QString & | status | ) | [static] |
Definition at line 449 of file mythtv/programs/mythcommflag/main.cpp.
Referenced by DoFlagCommercials().
| static void commDetectorGotNewCommercialBreakList | ( | void | ) | [static] |
Definition at line 458 of file mythtv/programs/mythcommflag/main.cpp.
Referenced by DoFlagCommercials().
| static void incomingCustomEvent | ( | QEvent * | e | ) | [static] |
Definition at line 484 of file mythtv/programs/mythcommflag/main.cpp.
Referenced by DoFlagCommercials().
| static int DoFlagCommercials | ( | ProgramInfo * | program_info, |
| bool | showPercentage, | ||
| bool | fullSpeed, | ||
| int | jobid, | ||
| MythCommFlagPlayer * | cfp, | ||
| enum SkipTypes | commDetectMethod, | ||
| const QString & | outputfilename, | ||
| bool | useDB | ||
| ) | [static] |
Definition at line 537 of file mythtv/programs/mythcommflag/main.cpp.
Referenced by FlagCommercials().
| static qint64 GetFileSize | ( | ProgramInfo * | program_info | ) | [static] |
Definition at line 622 of file mythtv/programs/mythcommflag/main.cpp.
| static bool DoesFileExist | ( | ProgramInfo * | program_info | ) | [static] |
Definition at line 649 of file mythtv/programs/mythcommflag/main.cpp.
Referenced by FlagCommercials(), and RebuildSeekTable().
| static void UpdateFileSize | ( | ProgramInfo * | program_info | ) | [static] |
Definition at line 671 of file mythtv/programs/mythcommflag/main.cpp.
Referenced by RebuildSeekTable().
Definition at line 679 of file mythtv/programs/mythcommflag/main.cpp.
Referenced by main().
| static int FlagCommercials | ( | ProgramInfo * | program_info, |
| int | jobid, | ||
| const QString & | outputfilename, | ||
| bool | useDB, | ||
| bool | fullSpeed | ||
| ) | [static] |
Definition at line 733 of file mythtv/programs/mythcommflag/main.cpp.
Referenced by FlagCommercials(), and main().
| static int FlagCommercials | ( | uint | chanid, |
| const QDateTime & | starttime, | ||
| int | jobid, | ||
| const QString & | outputfilename, | ||
| bool | fullSpeed | ||
| ) | [static] |
Definition at line 953 of file mythtv/programs/mythcommflag/main.cpp.
| static int FlagCommercials | ( | QString | filename, |
| int | jobid, | ||
| const QString & | outputfilename, | ||
| bool | useDB, | ||
| bool | fullSpeed | ||
| ) | [static] |
Definition at line 994 of file mythtv/programs/mythcommflag/main.cpp.
| static int RebuildSeekTable | ( | ProgramInfo * | pginfo, |
| int | jobid | ||
| ) | [static] |
Definition at line 1009 of file mythtv/programs/mythcommflag/main.cpp.
Referenced by main(), and RebuildSeekTable().
| static int RebuildSeekTable | ( | QString | filename, |
| int | jobid | ||
| ) | [static] |
Definition at line 1069 of file mythtv/programs/mythcommflag/main.cpp.
| static int RebuildSeekTable | ( | uint | chanid, |
| QDateTime | starttime, | ||
| int | jobid | ||
| ) | [static] |
Definition at line 1080 of file mythtv/programs/mythcommflag/main.cpp.
Definition at line 1095 of file mythtv/programs/mythcommflag/main.cpp.
Definition at line 80 of file mythtv/programs/mythcommflag/main.cpp.
Referenced by MythCommandLineParser::ConfigureLogging(), logStart(), and main().
Definition at line 81 of file mythtv/programs/mythcommflag/main.cpp.
Referenced by ProgressSetting::configWidget(), FlagCommercials(), MythNews::getHttpFile(), TV::HandleLCDTimerEvent(), main(), print_comm_flag_output(), QueueCommFlagJob(), RebuildSeekTable(), ChannelScanSM::ScanTransport(), LCDServer::setChannelProgress(), LCDServer::setGenericProgress(), LCDServer::setMusicProgress(), LCDServer::setVolumeLevel(), streamOutCommercialBreakList(), and MythNews::updateInfoView().
Definition at line 82 of file mythtv/programs/mythcommflag/main.cpp.
Referenced by MythPlayer::CheckExtraAudioDecode(), FlagCommercials(), CommandLineArg::GetHelpString(), if(), main(), MainServer::ProcessRequestWork(), RecorderBase::SavePositionMap(), TV::ShowOSDPromptDeleteRecording(), and HLSStream::Size().
Definition at line 84 of file mythtv/programs/mythcommflag/main.cpp.
Referenced by FlagCommercials(), main(), and QueueCommFlagJob().
Definition at line 86 of file mythtv/programs/mythcommflag/main.cpp.
Referenced by FlagCommercials(), and incomingCustomEvent().
| CommDetectorBase* commDetector = NULL |
Definition at line 87 of file mythtv/programs/mythcommflag/main.cpp.
Referenced by commDetectorBreathe(), commDetectorGotNewCommercialBreakList(), DoFlagCommercials(), and incomingCustomEvent().
| RemoteEncoder* recorder = NULL |
Definition at line 88 of file mythtv/programs/mythcommflag/main.cpp.
Referenced by RecorderBase::CreateRecorder(), FlagCommercials(), and PlayerContext::IsValidLiveTV().
| ProgramInfo* global_program_info = NULL |
Definition at line 89 of file mythtv/programs/mythcommflag/main.cpp.
Referenced by commDetectorGotNewCommercialBreakList(), FlagCommercials(), and incomingCustomEvent().
| int recorderNum = -1 |
Definition at line 90 of file mythtv/programs/mythcommflag/main.cpp.
Referenced by FlagCommercials(), and incomingCustomEvent().
Definition at line 92 of file mythtv/programs/mythcommflag/main.cpp.
Referenced by commDetectorBreathe(), commDetectorStatusUpdate(), StatusBox::customEvent(), JobQueue::customEvent(), JobQueue::DoFlagCommercialsThread(), JobQueue::DoMetadataLookupThread(), JobQueue::DoTranscodeThread(), JobQueue::DoUserJobThread(), main(), JobQueue::ProcessJob(), JobQueue::ProcessQueue(), JobQueue::QueueJob(), and JobQueue::StartChildJob().
Definition at line 93 of file mythtv/programs/mythcommflag/main.cpp.
Referenced by commDetectorBreathe().
| QMap<QString,SkipTypes>* skipTypes = init_skip_types() |
Definition at line 96 of file mythtv/programs/mythcommflag/main.cpp.
Referenced by FlagCommercials().
Definition at line 124 of file mythtv/programs/mythcommflag/main.cpp.
Referenced by DoFlagCommercials().
| QMap<QString,OutputMethod>* outputTypes = init_output_types() |
Definition at line 127 of file mythtv/programs/mythcommflag/main.cpp.
1.7.6.1