|
MythTV master
|
Holds information on recordings and videos. More...
#include <libmythtv/programinfo.h>
Classes | |
| struct | MarkupEntry |
Public Types | |
| enum | CategoryType : std::uint8_t { kCategoryNone , kCategoryMovie , kCategorySeries , kCategorySports , kCategoryTVShow } |
| enum | Verbosity : std::uint8_t { kLongDescription , kTitleSubtitle , kRecordingKey , kSchedulingKey } |
Public Member Functions | |
| ProgramInfo (void) | |
| Null constructor. More... | |
| ProgramInfo (const ProgramInfo &other) | |
| Copy constructor. More... | |
| ProgramInfo (uint recordedid) | |
| Constructs a ProgramInfo from data in 'recorded' table. More... | |
| ProgramInfo (uint chanid, const QDateTime &recstartts) | |
| Constructs a ProgramInfo from data in 'recorded' table. More... | |
| ProgramInfo (uint recordedid, QString title, QString sortTitle, QString subtitle, QString sortSubtitle, QString description, uint season, uint episode, uint totalepisodes, QString syndicatedepisode, QString category, uint chanid, QString channum, QString chansign, QString channame, QString chanplaybackfilters, QString recgroup, QString playgroup, const QString &pathname, QString hostname, QString storagegroup, QString seriesid, QString programid, QString inetref, CategoryType catType, int recpriority, uint64_t filesize, QDateTime startts, QDateTime endts, QDateTime recstartts, QDateTime recendts, float stars, uint year, uint partnumber, uint parttotal, QDate originalAirDate, QDateTime lastmodified, RecStatus::Type recstatus, uint recordid, RecordingDupInType dupin, RecordingDupMethodType dupmethod, uint findid, uint programflags, uint audioproperties, uint videoproperties, uint subtitleType, QString inputname, QDateTime bookmarkupdate) | |
| Constructs a ProgramInfo from data in 'recorded' table. More... | |
| ProgramInfo (QString title, QString sortTitle, QString subtitle, QString sortSubtitle, QString description, uint season, uint episode, QString category, uint chanid, QString channum, QString chansign, QString channame, QString seriesid, QString programid, QString inetref, QDateTime startts, QDateTime endts, QDateTime recstartts, QDateTime recendts, RecStatus::Type recstatus, uint recordid, RecordingType rectype, uint findid, bool duplicate) | |
| Constructs a ProgramInfo from data in 'oldrecorded' table. More... | |
| ProgramInfo (QString title, QString sortTitle, QString subtitle, QString sortSubtitle, QString description, QString syndicatedepisode, QString category, uint chanid, QString channum, QString chansign, QString channame, QString chanplaybackfilters, QDateTime startts, QDateTime endts, QDateTime recstartts, QDateTime recendts, QString seriesid, QString programid, CategoryType catType, float stars, uint year, uint partnumber, uint parttotal, QDate originalAirDate, RecStatus::Type recstatus, uint recordid, RecordingType rectype, uint findid, bool commfree, bool repeat, uint videoproperties, uint audioproperties, uint subtitletype, uint season, uint episode, uint totalepisodes, const ProgramList &schedList) | |
| Constructs a ProgramInfo from listings data in 'program' table. More... | |
| ProgramInfo (QString title, QString sortTitle, QString subtitle, QString sortSubtitle, QString description, uint season, uint episode, uint totalepisodes, QString category, uint chanid, QString channum, QString chansign, QString channame, QString chanplaybackfilters, QString recgroup, QString playgroup, QDateTime startts, QDateTime endts, QDateTime recstartts, QDateTime recendts, QString seriesid, QString programid, QString inetref, QString inputname) | |
| Constructs a basic ProgramInfo (used by RecordingInfo) More... | |
| ProgramInfo (const QString &pathname) | |
| Constructs a ProgramInfo for a pathname. More... | |
| ProgramInfo (const QString &pathname, const QString &plot, const QString &title, const QString &sortTitle, const QString &subtitle, const QString &sortSubtitle, const QString &director, int season, int episode, const QString &inetref, std::chrono::minutes length_in_minutes, uint year, const QString &programid) | |
| Constructs a ProgramInfo for a video. More... | |
| ProgramInfo (const QString &_title, uint _chanid, const QDateTime &_startts, const QDateTime &_endts) | |
| Constructs a manual record ProgramInfo. More... | |
| ProgramInfo (QString _title, QString _category, QDateTime _startts, QDateTime _endts) | |
| Constructs a Dummy ProgramInfo (used by GuideGrid) More... | |
| ProgramInfo (QStringList::const_iterator &it, const QStringList::const_iterator &end) | |
| ProgramInfo (const QStringList &list) | |
| bool | operator== (const ProgramInfo &rhs) |
| ProgramInfo & | operator= (const ProgramInfo &other) |
| Copies important fields from other ProgramInfo. More... | |
| virtual void | clone (const ProgramInfo &other, bool ignore_non_serialized_data=false) |
| Copies important fields from other ProgramInfo. More... | |
| void | ensureSortFields (void) |
| Ensure that the sortTitle and sortSubtitle fields are set. More... | |
| virtual void | clear (void) |
| virtual | ~ProgramInfo ()=default |
| void | ToStringList (QStringList &list) const |
| Serializes ProgramInfo into a QStringList which can be passed over a socket. More... | |
| virtual void | ToMap (InfoMap &progMap, bool showrerecord=false, uint star_range=10, uint date_format=0) const |
| Converts ProgramInfo into QString QHash containing each field in ProgramInfo converted into localized strings. More... | |
| virtual void | SubstituteMatches (QString &str) |
| Subsitute MATCH% type variable names in the given string. More... | |
| bool | IsSameProgram (const ProgramInfo &other) const |
| Checks whether this is the same program as "other", which may or may not be a repeat or on another channel. More... | |
| bool | IsDuplicateProgram (const ProgramInfo &other) const |
| Checks for duplicates according to dupmethod. More... | |
| bool | IsSameProgramAndStartTime (const ProgramInfo &other) const |
| Match same program, with same starttime (channel may be different) More... | |
| bool | IsSameTitleStartTimeAndChannel (const ProgramInfo &other) const |
| Checks title, chanid or callsign and start times for equality. More... | |
| bool | IsSameTitleTimeslotAndChannel (const ProgramInfo &other) const |
| Checks title, chanid or chansign, start/end times, cardid, inputid for fully inclusive overlap. More... | |
| bool | IsSameProgramWeakCheck (const ProgramInfo &other) const |
| Checks for duplicate using only title, chanid and startts. More... | |
| bool | IsSameRecording (const ProgramInfo &other) const |
| bool | IsSameChannel (const ProgramInfo &other) const |
| Checks whether channel id or callsign are identical. More... | |
| QString | MakeUniqueKey (void) const |
| Creates a unique string that can be used to identify an existing recording. More... | |
| std::chrono::seconds | GetSecondsInRecording (void) const |
| Returns length of program/recording in seconds. More... | |
| QString | ChannelText (const QString &format) const |
| Returns channel info using "format". More... | |
| QString | GetPathname (void) const |
| QString | GetBasename (void) const |
| bool | IsVideoFile (void) const |
| bool | IsVideoDVD (void) const |
| bool | IsVideoBD (void) const |
| bool | IsLocal (void) const |
| bool | IsMythStream (void) const |
| bool | IsPathSet (void) const |
| bool | HasPathname (void) const |
| bool | IsFileReadable (void) |
| Attempts to ascertain if the main file for this ProgramInfo is readable. More... | |
| QString | GetTitle (void) const |
| QString | GetSortTitle (void) const |
| QString | GetSubtitle (void) const |
| QString | GetSortSubtitle (void) const |
| QString | GetDescription (void) const |
| uint | GetSeason (void) const |
| uint | GetEpisode (void) const |
| uint | GetEpisodeTotal (void) const |
| QString | GetSyndicatedEpisode (void) const |
| QString | GetCategory (void) const |
| uint | GetChanID (void) const |
| This is the unique key used in the database to locate tuning information. More... | |
| QString | GetChanNum (void) const |
| This is the channel "number", in the form 1, 1_2, 1-2, 1#1, etc. More... | |
| QString | GetChannelSchedulingID (void) const |
| This is the unique programming identifier of a channel. More... | |
| QString | GetChannelName (void) const |
| This is the channel name in the local market, i.e. More... | |
| QString | GetChannelPlaybackFilters (void) const |
| QDateTime | GetScheduledStartTime (void) const |
| The scheduled start time of program. More... | |
| QString | GetScheduledStartTime (MythDate::Format fmt) const |
| The scheduled start time of program (with formatting). More... | |
| QDateTime | GetScheduledEndTime (void) const |
| The scheduled end time of the program. More... | |
| QString | GetScheduledEndTime (MythDate::Format fmt) const |
| The scheduled end time of the program (with formatting). More... | |
| QDateTime | GetRecordingStartTime (void) const |
| Approximate time the recording started. More... | |
| QString | GetRecordingStartTime (MythDate::Format fmt) const |
| Approximate time the recording started (with formatting). More... | |
| QDateTime | GetRecordingEndTime (void) const |
| Approximate time the recording should have ended, did end, or is intended to end. More... | |
| QString | GetRecordingEndTime (MythDate::Format fmt) const |
| Approximate time the recording should have ended, did end, or is intended to end (with formatting). More... | |
| QString | GetRecordingGroup (void) const |
| QString | GetPlaybackGroup (void) const |
| QString | GetHostname (void) const |
| QString | GetStorageGroup (void) const |
| uint | GetYearOfInitialRelease (void) const |
| QDate | GetOriginalAirDate (void) const |
| QDateTime | GetLastModifiedTime (void) const |
| QString | GetLastModifiedTime (MythDate::Format fmt) const |
| virtual uint64_t | GetFilesize (void) const |
| QString | GetSeriesID (void) const |
| QString | GetProgramID (void) const |
| QString | GetInetRef (void) const |
| CategoryType | GetCategoryType (void) const |
| QString | GetCategoryTypeString (void) const |
| Returns catType as a string. More... | |
| int | GetRecordingPriority (void) const |
| int | GetRecordingPriority2 (void) const |
| float | GetStars (void) const |
| uint | GetStars (uint range_max) const |
| uint | GetRecordingID (void) const |
| RecStatus::Type | GetRecordingStatus (void) const |
| uint | GetRecordingRuleID (void) const |
| uint | GetParentRecordingRuleID (void) const |
| RecordingType | GetRecordingRuleType (void) const |
| RecordingDupInType | GetDuplicateCheckSource (void) const |
| Where should we check for duplicates? More... | |
| RecordingDupMethodType | GetDuplicateCheckMethod (void) const |
| What should be compared to determine if two programs are the same? More... | |
| uint | GetSourceID (void) const |
| uint | GetInputID (void) const |
| QString | GetInputName (void) const |
| QString | GetShortInputName (void) const |
| void | ClearInputName (void) |
| uint | GetFindID (void) const |
| uint32_t | GetProgramFlags (void) const |
| QString | GetProgramFlagNames (void) const |
| ProgramInfoType | GetProgramInfoType (void) const |
| QDateTime | GetBookmarkUpdate (void) const |
| QString | GetRecTypeStatus (bool showrerecord) const |
| bool | IsGeneric (void) const |
| bool | IsInUsePlaying (void) const |
| bool | IsCommercialFree (void) const |
| bool | IsCommercialFlagged (void) const |
| bool | HasCutlist (void) const |
| bool | IsBookmarkSet (void) const |
| bool | IsLastPlaySet (void) const |
| bool | IsWatched (void) const |
| bool | IsAutoExpirable (void) const |
| bool | IsPreserved (void) const |
| bool | IsVideo (void) const |
| bool | IsRecording (void) const |
| bool | IsRepeat (void) const |
| bool | IsDuplicate (void) const |
| bool | IsReactivated (void) const |
| bool | IsDeletePending (void) const |
| uint | GetSubtitleType (void) const |
| QString | GetSubtitleTypeNames (void) const |
| uint | GetVideoProperties (void) const |
| QString | GetVideoPropertyNames (void) const |
| uint | GetAudioProperties (void) const |
| QString | GetAudioPropertyNames (void) const |
| void | ProgramFlagsFromNames (const QString &names) |
| QString | toString (Verbosity v=kLongDescription, const QString &sep=":", const QString &grp="\"") const |
| void | SetTitle (const QString &t, const QString &st=nullptr) |
| void | SetSubtitle (const QString &st, const QString &sst=nullptr) |
| void | SetProgramInfoType (ProgramInfoType t) |
| void | SetPathname (const QString &pn) |
| void | SetChanID (uint _chanid) |
| void | SetScheduledStartTime (const QDateTime &dt) |
| void | SetScheduledEndTime (const QDateTime &dt) |
| void | SetRecordingStartTime (const QDateTime &dt) |
| void | SetRecordingEndTime (const QDateTime &dt) |
| void | SetRecordingGroup (const QString &group) |
| void | SetPlaybackGroup (const QString &group) |
| void | SetHostname (const QString &host) |
| void | SetStorageGroup (const QString &group) |
| virtual void | SetFilesize (uint64_t sz) |
| void | SetSeriesID (const QString &id) |
| TODO Move to RecordingInfo. More... | |
| void | SetProgramID (const QString &id) |
| void | SetCategory (const QString &cat) |
| void | SetCategoryType (const CategoryType type) |
| void | SetRecordingPriority (int priority) |
| void | SetRecordingPriority2 (int priority) |
| void | SetRecordingRuleID (uint id) |
| void | SetSourceID (uint id) |
| void | SetInputID (uint id) |
| void | SetReactivated (bool reactivate) |
| void | SetEditing (bool editing) |
| void | SetFlagging (bool flagging) |
| void | SetIgnoreBookmark (bool ignore) |
| If "ignore" is true GetBookmark() will return 0, otherwise GetBookmark() will return the bookmark position if it exists. More... | |
| void | SetIgnoreProgStart (bool ignore) |
| If "ignore" is true QueryProgStart() will return 0, otherwise QueryProgStart() will return the progstart position if it exists. More... | |
| void | SetIgnoreLastPlayPos (bool ignore) |
| If "ignore" is true QueryLastPlayPos() will return 0, otherwise QueryLastPlayPos() will return the last playback position if it exists. More... | |
| virtual void | SetRecordingID (uint _recordedid) |
| void | SetRecordingStatus (RecStatus::Type status) |
| void | SetRecordingRuleType (RecordingType type) |
| void | SetPositionMapDBReplacement (PMapDBReplacement *pmap) |
| void | CalculateRecordedProgress () |
| uint | GetRecordedPercent () const |
| void | SetRecordedPercent (uint progress) |
| void | CalculateWatchedProgress (uint64_t pos) |
| uint | GetWatchedPercent () const |
| void | SetWatchedPercent (uint progress) |
| void | CalculateProgress (uint64_t pos) |
| QString | QueryBasename (void) const |
| Gets the basename, from the DB if necessary. More... | |
| uint | QueryMplexID (void) const |
| Queries multiplex any recording would be made on, zero if unknown. More... | |
| QDateTime | QueryBookmarkTimeStamp (void) const |
| Queries Latest bookmark timestamp from the database. More... | |
| uint64_t | QueryBookmark (void) const |
| Gets any bookmark position in database, unless the ignore bookmark flag is set. More... | |
| uint64_t | QueryProgStart (void) const |
| Gets any progstart position in database, unless the ignore progstart flag is set. More... | |
| uint64_t | QueryLastPlayPos (void) const |
| Gets any lastplaypos position in database, unless the ignore lastplaypos flag is set. More... | |
| uint64_t | QueryStartMark (void) const |
| CategoryType | QueryCategoryType (void) const |
| Queries recordedprogram to get the category_type of the recording. More... | |
| QStringList | QueryDVDBookmark (const QString &serialid) const |
| Queries "dvdbookmark" table for bookmarking DVD serial number. More... | |
| QStringList | QueryBDBookmark (const QString &serialid) const |
| Queries "bdbookmark" table for bookmarking BD serial number. More... | |
| bool | QueryIsEditing (void) const |
| Queries "recorded" table for its "editing" field and returns true if it is set to true. More... | |
| bool | QueryIsInUse (QStringList &byWho) const |
| Returns true if Program is in use. More... | |
| bool | QueryIsInUse (QString &byWho) const |
| Returns true if Program is in use. More... | |
| bool | QueryIsDeleteCandidate (bool one_playback_allowed=false) const |
| Returns true iff this is a recording, it is not in use (except by the recorder), and at most one player iff one_playback_allowed is set. More... | |
| AutoExpireType | QueryAutoExpire (void) const |
| Returns "autoexpire" field from "recorded" table. More... | |
| TranscodingStatus | QueryTranscodeStatus (void) const |
| Returns the "transcoded" field in "recorded" table. More... | |
| bool | QueryTuningInfo (QString &channum, QString &input) const |
| Returns the channel and input needed to record the program. More... | |
| QString | QueryInputDisplayName (void) const |
| uint | QueryAverageWidth (void) const |
| If present in recording this loads average width of the main video stream from database's stream markup table. More... | |
| uint | QueryAverageHeight (void) const |
| If present in recording this loads average height of the main video stream from database's stream markup table. More... | |
| uint | QueryAverageFrameRate (void) const |
| If present in recording this loads average frame rate of the main video stream from database's stream markup table. More... | |
| MarkTypes | QueryAverageAspectRatio (void) const |
| bool | QueryAverageScanProgressive (void) const |
| If present in recording this loads average video scan type of the main video stream from database's stream markup table. More... | |
| std::chrono::milliseconds | QueryTotalDuration (void) const |
| If present this loads the total duration in milliseconds of the main video stream from recordedmarkup table in the database. More... | |
| int64_t | QueryTotalFrames (void) const |
| If present in recording this loads total frames of the main video stream from database's stream markup table. More... | |
| QString | QueryRecordingGroup (void) const |
| Query recgroup from recorded. More... | |
| bool | QueryMarkupFlag (MarkTypes type) const |
| Returns true iff the speficied mark type is set on frame 0. More... | |
| uint | QueryTranscoderID (void) const |
| uint64_t | QueryLastFrameInPosMap (void) const |
| Returns last frame in position map or 0. More... | |
| bool | Reload (void) |
| virtual void | SaveFilesize (uint64_t fsize) |
| Sets recording file size in database, and sets "filesize" field. More... | |
| void | SaveLastPlayPos (uint64_t frame) |
| TODO Move to RecordingInfo. More... | |
| void | SaveBookmark (uint64_t frame) |
| Clears any existing bookmark in DB and if frame is greater than 0 sets a new bookmark. More... | |
| void | SaveEditing (bool edit) |
| Sets "editing" field in "recorded" table to "edit". More... | |
| void | SaveTranscodeStatus (TranscodingStatus trans) |
| Set "transcoded" field in "recorded" table to "trans". More... | |
| void | SaveWatched (bool watchedFlag) |
| Set "watched" field in recorded/videometadata to "watchedFlag". More... | |
| void | SaveDeletePendingFlag (bool deleteFlag) |
| Set "deletepending" field in "recorded" table to "deleteFlag". More... | |
| void | SaveCommFlagged (CommFlagStatus flag) |
| Set "commflagged" field in "recorded" table to "flag". More... | |
| void | SaveAutoExpire (AutoExpireType autoExpire, bool updateDelete=false) |
| Set "autoexpire" field in "recorded" table to "autoExpire". More... | |
| void | SavePreserve (bool preserveEpisode) |
| Set "preserve" field in "recorded" table to "preserveEpisode". More... | |
| bool | SaveBasename (const QString &basename) |
| Sets a recording's basename in the database. More... | |
| void | SaveAspect (uint64_t frame, MarkTypes type, uint customAspect) |
| Store aspect ratio of a frame in the recordedmark table. More... | |
| void | SaveResolution (uint64_t frame, uint width, uint height) |
| Store the Resolution at frame in the recordedmarkup table. More... | |
| void | SaveFrameRate (uint64_t frame, uint framerate) |
| Store the Frame Rate at frame in the recordedmarkup table. More... | |
| void | SaveVideoScanType (uint64_t frame, bool progressive) |
| Store the Progressive/Interlaced state in the recordedmarkup table. More... | |
| void | SaveTotalDuration (std::chrono::milliseconds duration) |
| Store the Total Duration at frame 0 in the recordedmarkup table. More... | |
| void | SaveTotalFrames (int64_t frames) |
| Store the Total Frames at frame 0 in the recordedmarkup table. More... | |
| void | SaveVideoProperties (uint mask, uint video_property_flags) |
| void | SaveMarkupFlag (MarkTypes type) const |
| Clears the specified flag, then if sets it. More... | |
| void | ClearMarkupFlag (MarkTypes type) const |
| void | UpdateLastDelete (bool setTime) const |
| Set or unset the record.last_delete field. More... | |
| void | MarkAsInUse (bool inuse, const QString &usedFor="") |
| Tracks a recording's in use status, to prevent deletion and to allow the storage scheduler to perform IO load balancing. More... | |
| void | UpdateInUseMark (bool force=false) |
| void | SaveSeasonEpisode (uint seas, uint ep) |
| void | SaveInetRef (const QString &inet) |
| QString | DiscoverRecordingDirectory (void) |
| QString | GetPlaybackURL (bool checkMaster=false, bool forceCheckLocal=false) |
| Returns filename or URL to be used to play back this recording. More... | |
| ProgramInfoType | DiscoverProgramInfoType (void) const |
| bool | QueryCutList (frm_dir_map_t &delMap, bool loadAutosave=false) const |
| void | SaveCutList (frm_dir_map_t &delMap, bool isAutoSave=false) const |
| void | QueryCommBreakList (frm_dir_map_t &frames) const |
| void | SaveCommBreakList (frm_dir_map_t &frames) const |
| void | QueryPositionMap (frm_pos_map_t &posMap, MarkTypes type) const |
| void | ClearPositionMap (MarkTypes type) const |
| void | SavePositionMap (frm_pos_map_t &posMap, MarkTypes type, int64_t min_frame=-1, int64_t max_frame=-1) const |
| void | SavePositionMapDelta (frm_pos_map_t &posMap, MarkTypes type) const |
| bool | QueryKeyFrameInfo (uint64_t *result, uint64_t position_or_keyframe, bool backwards, MarkTypes type, const char *from_filemarkup_asc, const char *from_filemarkup_desc, const char *from_recordedseek_asc, const char *from_recordedseek_desc) const |
| bool | QueryKeyFramePosition (uint64_t *position, uint64_t keyframe, bool backwards) const |
| bool | QueryPositionKeyFrame (uint64_t *keyframe, uint64_t position, bool backwards) const |
| bool | QueryKeyFrameDuration (uint64_t *duration, uint64_t keyframe, bool backwards) const |
| bool | QueryDurationKeyFrame (uint64_t *keyframe, uint64_t duration, bool backwards) const |
| void | QueryMarkup (QVector< MarkupEntry > &mapMark, QVector< MarkupEntry > &mapSeek) const |
| void | SaveMarkup (const QVector< MarkupEntry > &mapMark, const QVector< MarkupEntry > &mapSeek) const |
| void | SendUpdateEvent (void) const |
| Sends event out that the ProgramInfo should be reloaded. More... | |
| void | SendAddedEvent (void) const |
| Sends event out that the ProgramInfo should be added to lists. More... | |
| void | SendDeletedEvent (void) const |
| Sends event out that the ProgramInfo should be delete from lists. More... | |
| void | UpdateMarkTimeStamp (bool bookmarked) const |
| void | UpdateLastPlayTimeStamp (bool lastplay) const |
| void | QueryMarkupMap (frm_dir_map_t &marks, MarkTypes type, bool merge=false) const |
| void | SaveMarkupMap (const frm_dir_map_t &marks, MarkTypes type=MARK_ALL, int64_t min_frame=-1, int64_t max_frame=-1) const |
| void | ClearMarkupMap (MarkTypes type=MARK_ALL, int64_t min_frame=-1, int64_t max_frame=-1) const |
| void | SetAvailableStatus (AvailableStatusType status, const QString &where) |
| AvailableStatusType | GetAvailableStatus (void) const |
Static Public Member Functions | |
| static bool | UsingProgramIDAuthority (void) |
| static void | CheckProgramIDAuthorities (void) |
| static uint | SubtitleTypesFromNames (const QString &names) |
| static uint | VideoPropertiesFromNames (const QString &names) |
| static uint | AudioPropertiesFromNames (const QString &names) |
| static void | SaveDVDBookmark (const QStringList &fields) |
| static void | SaveBDBookmark (const QStringList &fields) |
| static QString | i18n (const QString &msg) |
| Translations for play,recording, & storage groups +. More... | |
| static QString | MakeUniqueKey (uint chanid, const QDateTime &recstartts) |
| Creates a unique string that can be used to identify a recording. More... | |
| static bool | ExtractKey (const QString &uniquekey, uint &chanid, QDateTime &recstartts) |
| Extracts chanid and recstartts from a unique key generated by MakeUniqueKey(). More... | |
| static bool | ExtractKeyFromPathname (const QString &pathname, uint &chanid, QDateTime &recstartts) |
| static bool | QueryKeyFromPathname (const QString &pathname, uint &chanid, QDateTime &recstartts) |
| static bool | QueryRecordedIdFromPathname (const QString &pathname, uint &recordedid) |
| static QString | QueryRecordingGroupPassword (const QString &group) |
| static uint64_t | QueryBookmark (uint chanid, const QDateTime &recstartts) |
| static QMap< QString, uint32_t > | QueryInUseMap (void) |
| static QMap< QString, bool > | QueryJobsRunning (int type) |
| static QStringList | LoadFromScheduler (const QString &tmptable, int recordid) |
Public Attributes | |
| int8_t | m_spread {-1} |
| int8_t | m_startCol {-1} |
| QDateTime | m_previewUpdate |
Static Public Attributes | |
| static constexpr int | kNumCatTypes = 5 |
| static const QString | kFromRecordedQuery |
Protected Member Functions | |
| QString | CreateRecordBasename (const QString &ext) const |
| Returns a filename for a recording based on the recording channel and date. More... | |
| bool | LoadProgramFromRecorded (uint chanid, const QDateTime &recstartts) |
| Loads ProgramInfo for an existing recording. More... | |
| bool | FromStringList (QStringList::const_iterator &it, const QStringList::const_iterator &end) |
| Uses a QStringList to initialize this ProgramInfo instance. More... | |
Static Protected Member Functions | |
| static void | QueryMarkupMap (const QString &video_pathname, frm_dir_map_t &marks, MarkTypes type, bool merge=false) |
| static void | QueryMarkupMap (uint chanid, const QDateTime &recstartts, frm_dir_map_t &marks, MarkTypes type, bool merge=false) |
| static int | InitStatics (void) |
Static Protected Attributes | |
| static constexpr int64_t | kLastInUseOffset {4LL * 60 * 60} |
| static QMutex | s_staticDataLock |
| static ProgramInfoUpdater * | s_updater |
| static bool | s_usingProgIDAuth = true |
Static Private Attributes | |
| static const std::array< const QString, 5 > | kCatName |
Friends | |
| class | TestRecordingExtender |
| int | pginfo_init_statics (void) |
Holds information on recordings and videos.
ProgramInfo can also contain partial information for a program we wish to find in the schedule, and may also contain information on a video we wish to view. This class is serializable from frontend to backend and back and is the basic unit of information on anything we may wish to view or record.
Any method that begins with "Is", "Get" or "Set" will run quickly and the results from "Is" or "Get" do not need to be cached.
Any method beginning with "Make" or "Extract" will run quickly, but it may be prudent to cache the results if they are to be used frequently.
Any method that begins with "Query", "Save" or "Update" will touch the database and so may take some time to complete.
Any method beginning with another verb needs to be examined to determine its expected run time.
There is one exception to this set of rules, GetPlaybackURL() is a very complex beast which not only touches the database but also may query remote backends about the files visible to them. It blocks until this task is complete and may need to wake up remote hosts that are currently powered off to complete it's task. It should not be called from the UI thread and its result should be cached.
Definition at line 73 of file programinfo.h.
| enum ProgramInfo::CategoryType : std::uint8_t |
| Enumerator | |
|---|---|
| kCategoryNone | |
| kCategoryMovie | |
| kCategorySeries | |
| kCategorySports | |
| kCategoryTVShow | |
Definition at line 82 of file programinfo.h.
| enum ProgramInfo::Verbosity : std::uint8_t |
| Enumerator | |
|---|---|
| kLongDescription | |
| kTitleSubtitle | |
| kRecordingKey | |
| kSchedulingKey | |
Definition at line 518 of file programinfo.h.
|
inline |
Null constructor.
Constructs a manual record ProgramInfo.
Constructs a ProgramInfo for a video.
Constructs a basic ProgramInfo (used by RecordingInfo)
Constructs a ProgramInfo from listings data in 'program' table.
Constructs a ProgramInfo from data in 'oldrecorded' table.
Constructs a ProgramInfo from data in 'recorded' table.
Definition at line 87 of file programinfo.h.
| ProgramInfo::ProgramInfo | ( | const ProgramInfo & | other | ) |
Copy constructor.
Definition at line 148 of file programinfo.cpp.
|
explicit |
Constructs a ProgramInfo from data in 'recorded' table.
Definition at line 234 of file programinfo.cpp.
| ProgramInfo::ProgramInfo | ( | uint | chanid, |
| const QDateTime & | recstartts | ||
| ) |
Constructs a ProgramInfo from data in 'recorded' table.
Definition at line 265 of file programinfo.cpp.
| ProgramInfo::ProgramInfo | ( | uint | recordedid, |
| QString | title, | ||
| QString | sortTitle, | ||
| QString | subtitle, | ||
| QString | sortSubtitle, | ||
| QString | description, | ||
| uint | season, | ||
| uint | episode, | ||
| uint | totalepisodes, | ||
| QString | syndicatedepisode, | ||
| QString | category, | ||
| uint | chanid, | ||
| QString | channum, | ||
| QString | chansign, | ||
| QString | channame, | ||
| QString | chanplaybackfilters, | ||
| QString | recgroup, | ||
| QString | playgroup, | ||
| const QString & | pathname, | ||
| QString | hostname, | ||
| QString | storagegroup, | ||
| QString | seriesid, | ||
| QString | programid, | ||
| QString | inetref, | ||
| CategoryType | catType, | ||
| int | recpriority, | ||
| uint64_t | filesize, | ||
| QDateTime | startts, | ||
| QDateTime | endts, | ||
| QDateTime | recstartts, | ||
| QDateTime | recendts, | ||
| float | stars, | ||
| uint | year, | ||
| uint | partnumber, | ||
| uint | parttotal, | ||
| QDate | originalAirDate, | ||
| QDateTime | lastmodified, | ||
| RecStatus::Type | recstatus, | ||
| uint | recordid, | ||
| RecordingDupInType | dupin, | ||
| RecordingDupMethodType | dupmethod, | ||
| uint | findid, | ||
| uint | programflags, | ||
| uint | audioproperties, | ||
| uint | videoproperties, | ||
| uint | subtitleType, | ||
| QString | inputname, | ||
| QDateTime | bookmarkupdate | ||
| ) |
Constructs a ProgramInfo from data in 'recorded' table.
Definition at line 276 of file programinfo.cpp.
| ProgramInfo::ProgramInfo | ( | QString | title, |
| QString | sortTitle, | ||
| QString | subtitle, | ||
| QString | sortSubtitle, | ||
| QString | description, | ||
| uint | season, | ||
| uint | episode, | ||
| QString | category, | ||
| uint | chanid, | ||
| QString | channum, | ||
| QString | chansign, | ||
| QString | channame, | ||
| QString | seriesid, | ||
| QString | programid, | ||
| QString | inetref, | ||
| QDateTime | startts, | ||
| QDateTime | endts, | ||
| QDateTime | recstartts, | ||
| QDateTime | recendts, | ||
| RecStatus::Type | recstatus, | ||
| uint | recordid, | ||
| RecordingType | rectype, | ||
| uint | findid, | ||
| bool | duplicate | ||
| ) |
Constructs a ProgramInfo from data in 'oldrecorded' table.
Definition at line 414 of file programinfo.cpp.
| ProgramInfo::ProgramInfo | ( | QString | title, |
| QString | sortTitle, | ||
| QString | subtitle, | ||
| QString | sortSubtitle, | ||
| QString | description, | ||
| QString | syndicatedepisode, | ||
| QString | category, | ||
| uint | chanid, | ||
| QString | channum, | ||
| QString | chansign, | ||
| QString | channame, | ||
| QString | chanplaybackfilters, | ||
| QDateTime | startts, | ||
| QDateTime | endts, | ||
| QDateTime | recstartts, | ||
| QDateTime | recendts, | ||
| QString | seriesid, | ||
| QString | programid, | ||
| CategoryType | catType, | ||
| float | stars, | ||
| uint | year, | ||
| uint | partnumber, | ||
| uint | parttotal, | ||
| QDate | originalAirDate, | ||
| RecStatus::Type | recstatus, | ||
| uint | recordid, | ||
| RecordingType | rectype, | ||
| uint | findid, | ||
| bool | commfree, | ||
| bool | repeat, | ||
| uint | videoproperties, | ||
| uint | audioproperties, | ||
| uint | subtitletype, | ||
| uint | season, | ||
| uint | episode, | ||
| uint | totalepisodes, | ||
| const ProgramList & | schedList | ||
| ) |
Constructs a ProgramInfo from listings data in 'program' table.
Definition at line 489 of file programinfo.cpp.
| ProgramInfo::ProgramInfo | ( | QString | title, |
| QString | sortTitle, | ||
| QString | subtitle, | ||
| QString | sortSubtitle, | ||
| QString | description, | ||
| uint | season, | ||
| uint | episode, | ||
| uint | totalepisodes, | ||
| QString | category, | ||
| uint | chanid, | ||
| QString | channum, | ||
| QString | chansign, | ||
| QString | channame, | ||
| QString | chanplaybackfilters, | ||
| QString | recgroup, | ||
| QString | playgroup, | ||
| QDateTime | startts, | ||
| QDateTime | endts, | ||
| QDateTime | recstartts, | ||
| QDateTime | recendts, | ||
| QString | seriesid, | ||
| QString | programid, | ||
| QString | inetref, | ||
| QString | inputname | ||
| ) |
Constructs a basic ProgramInfo (used by RecordingInfo)
Definition at line 633 of file programinfo.cpp.
|
explicit |
Constructs a ProgramInfo for a pathname.
Definition at line 701 of file programinfo.cpp.
| ProgramInfo::ProgramInfo | ( | const QString & | pathname, |
| const QString & | plot, | ||
| const QString & | title, | ||
| const QString & | sortTitle, | ||
| const QString & | subtitle, | ||
| const QString & | sortSubtitle, | ||
| const QString & | director, | ||
| int | season, | ||
| int | episode, | ||
| const QString & | inetref, | ||
| std::chrono::minutes | length_in_minutes, | ||
| uint | year, | ||
| const QString & | programid | ||
| ) |
Constructs a ProgramInfo for a video.
Definition at line 737 of file programinfo.cpp.
| ProgramInfo::ProgramInfo | ( | const QString & | _title, |
| uint | _chanid, | ||
| const QDateTime & | _startts, | ||
| const QDateTime & | _endts | ||
| ) |
Constructs a manual record ProgramInfo.
Definition at line 790 of file programinfo.cpp.
|
inline |
Constructs a Dummy ProgramInfo (used by GuideGrid)
Definition at line 288 of file programinfo.h.
|
inline |
Definition at line 293 of file programinfo.h.
|
inlineexplicit |
Definition at line 299 of file programinfo.h.
|
virtualdefault |
|
static |
Definition at line 1577 of file programinfo.cpp.
Referenced by V2Dvr::AddRecordedProgram().
| void ProgramInfo::CalculateProgress | ( | uint64_t | pos | ) |
Definition at line 6671 of file programinfo.cpp.
Referenced by ProgramInfoCache::UpdateFileSize().
| void ProgramInfo::CalculateRecordedProgress | ( | ) |
Definition at line 6592 of file programinfo.cpp.
Referenced by CalculateProgress(), ViewScheduled::customEvent(), and ViewScheduled::LoadList().
| void ProgramInfo::CalculateWatchedProgress | ( | uint64_t | pos | ) |
Definition at line 6614 of file programinfo.cpp.
Referenced by CalculateProgress().
| QString ProgramInfo::ChannelText | ( | const QString & | format | ) | const |
Returns channel info using "format".
There are three tags in "format" that will be replaced with the appropriate info. These tags are "<num>", "<sign>", and "<name>", they replaced with the channel number, channel call sign, and channel name, respectively.
| format | formatting string. |
Definition at line 5021 of file programinfo.cpp.
Referenced by ProgramInfo(), and ToMap().
|
static |
Definition at line 2394 of file programinfo.cpp.
Referenced by handle_command(), and Scheduler::Scheduler().
|
virtual |
Reimplemented in RecordingInfo, and ProgramRecPriorityInfo.
Definition at line 940 of file programinfo.cpp.
Referenced by RecordingInfo::clear(), LoadProgramFromRecorded(), and ProgramInfo().
|
inline |
Definition at line 477 of file programinfo.h.
|
inline |
Definition at line 660 of file programinfo.h.
Referenced by ClearBookmarks(), ClearSeekTable(), and Transcode::TranscodeFile().
| void ProgramInfo::ClearMarkupMap | ( | MarkTypes | type = MARK_ALL, |
| int64_t | min_frame = -1, |
||
| int64_t | max_frame = -1 |
||
| ) | const |
Definition at line 3589 of file programinfo.cpp.
Referenced by SaveBookmark(), SaveCommBreakList(), SaveCutList(), SaveLastPlayPos(), and SaveMarkupFlag().
| void ProgramInfo::ClearPositionMap | ( | MarkTypes | type | ) | const |
Definition at line 3852 of file programinfo.cpp.
Referenced by ClearSeekTable(), MythCommFlagPlayer::RebuildSeekTable(), DTVRecorder::Reset(), MpegRecorder::Reset(), Transcode::TranscodeFile(), and UpdatePositionMap().
|
virtual |
Copies important fields from other ProgramInfo.
Reimplemented in RecordingInfo, and ProgramRecPriorityInfo.
Definition at line 844 of file programinfo.cpp.
Referenced by RecordingInfo::clone(), PlaybackSock::FillProgramInfo(), operator=(), Reload(), and ProgramInfoCache::Update().
|
protected |
Returns a filename for a recording based on the recording channel and date.
Definition at line 2425 of file programinfo.cpp.
Referenced by RecordingInfo::InsertRecording().
| ProgramInfoType ProgramInfo::DiscoverProgramInfoType | ( | void | ) | const |
Definition at line 2479 of file programinfo.cpp.
| QString ProgramInfo::DiscoverRecordingDirectory | ( | void | ) |
Definition at line 5166 of file programinfo.cpp.
Referenced by Scheduler::FillRecordingDir(), and MarkAsInUse().
| void ProgramInfo::ensureSortFields | ( | void | ) |
Ensure that the sortTitle and sortSubtitle fields are set.
Definition at line 1151 of file programinfo.cpp.
Referenced by FromStringList(), ProgramInfo(), SetSubtitle(), and SetTitle().
|
static |
Extracts chanid and recstartts from a unique key generated by MakeUniqueKey().
Definition at line 1185 of file programinfo.cpp.
Referenced by TV::customEvent(), and incomingCustomEvent().
|
static |
Definition at line 1196 of file programinfo.cpp.
Referenced by QueryKeyFromPathname().
|
protected |
Uses a QStringList to initialize this ProgramInfo instance.
| it | Iterator pointing to first item in list to treat as beginning of serialized ProgramInfo. |
| end | Iterator that will stop parsing of the ProgramInfo |
Definition at line 1374 of file programinfo.cpp.
|
inline |
Definition at line 509 of file programinfo.h.
Referenced by LookupFromProgramInfo(), PlaybackBox::updateIcons(), and V2FillProgramInfo().
| QString ProgramInfo::GetAudioPropertyNames | ( | void | ) | const |
Definition at line 1562 of file programinfo.cpp.
Referenced by ToMap(), and V2FillProgramInfo().
|
inline |
Definition at line 855 of file programinfo.h.
Referenced by PlaybackBox::customEvent(), PBHEventHandler::event(), extract_main_state(), PreviewGeneratorQueue::GeneratePreviewImage(), PlaybackBoxHelper::GetPreviewImage(), PlaybackBox::Play(), PlaybackBox::popupClosed(), PlaybackBox::RemoveProgram(), PlaybackBox::ShowActionPopup(), PlaybackBox::ShowAvailabilityPopup(), and PlaybackBox::ShowMenu().
|
inline |
Definition at line 351 of file programinfo.h.
Referenced by clone(), PreviewGeneratorQueue::GeneratePreviewImage(), PlayerContext::GetPlayingInfoMap(), PreviewGeneratorQueue::GetPreviewImage(), MainServer::HandleFillProgramInfo(), RecordingInfo::InsertFile(), ProgDetails::loadPage(), LoadProgramFromRecorded(), LookupFromProgramInfo(), MarkAsInUse(), QueryBasename(), TV::QuickRecord(), PreviewGenerator::SaveOutFile(), and SubstituteMatches().
|
inline |
Definition at line 485 of file programinfo.h.
Referenced by PreviewGeneratorQueue::GeneratePreviewImage(), ProgramInfoCache::Update(), and ProgramInfoCache::UpdateFileSize().
|
inline |
Definition at line 377 of file programinfo.h.
Referenced by RecordingRule::AssignProgramInfo(), CustomEdit::evaluate(), HttpStatus::FillProgramInfo(), V2Status::FillProgramInfo(), GuideUpdateProgramRow::fillProgramRowInfosWith(), PlayGroup::GetInitialName(), TVRec::GetRecordEndTime(), RecordingRule::LoadByProgram(), CustomEdit::loadClauses(), ProgDetails::loadPage(), LookupFromProgramInfo(), ProgramRecPriority::newTemplate(), and V2FillProgramInfo().
|
inline |
Definition at line 449 of file programinfo.h.
Referenced by MetadataOptions::CreateLookup(), ScheduleCommon::EditRecording(), and GuessLookupType().
| QString ProgramInfo::GetCategoryTypeString | ( | void | ) | const |
Returns catType as a string.
Definition at line 1920 of file programinfo.cpp.
Referenced by HttpStatus::FillProgramInfo(), V2Status::FillProgramInfo(), RecordingRule::LoadByProgram(), PlaybackBox::updateIcons(), and V2FillProgramInfo().
|
inline |
This is the unique key used in the database to locate tuning information.
[1..2^32] are valid keys, 0 is not.
Definition at line 380 of file programinfo.h.
Referenced by V2Dvr::AddRecordedCredits(), V2Dvr::AllowReRecord(), LiveTVChain::AppendNewProgram(), Scheduler::AssignGroupInput(), RecordingRule::AssignProgramInfo(), TVBrowseHelper::BrowseStart(), TV::ChangeChannel(), PBHEventHandler::CheckAvailability(), ClearBookmarks(), ClearSeekTable(), RecordingInfo::clone(), comp_overlap(), comp_priority(), comp_recstart(), comp_retry(), CompleteJob(), PlaybackBox::createJobMenu(), PlaybackBox::createPlaylistJobMenu(), MainServer::customEvent(), TV::customEvent(), PlaybackBox::customEvent(), commDetector2::debugDirectory(), PrevRecordedList::DeleteOldEpisode(), ProgLister::DeleteOldEpisode(), LiveTVChain::DeleteProgram(), V2Dvr::DeleteRecording(), MainServer::DoDeleteThread(), TV::DoEditSchedule(), DoFlagCommercials(), MainServer::DoHandleDeleteRecording(), PlaybackBox::doJobQueueJob(), StatusBox::doJobQueueStatus(), PlaybackBox::doPlaylistJobQueueJob(), TV::DoQueueTranscode(), StatusBox::doTunerStatus(), ScheduleCommon::EditRecording(), TV::Embed(), CustomEdit::evaluate(), PBHEventHandler::event(), MythPlayerUI::EventLoop(), PlaybackBox::extract_commflag_state(), PlaybackBox::extract_job_state(), HttpStatus::FillChannelInfo(), V2Status::FillChannelInfo(), HttpStatus::FillStatusXML(), V2Status::FillStatusXML(), Scheduler::FindNextConflict(), LiveTVChain::FinishedRecording(), TVRec::FinishedRecording(), RecordingExtender::finishRecording(), FlagCommercials(), V2Status::GetBackendStatus(), GetPlaybackURL(), PlayerContext::GetPlayingInfoMap(), V2Content::GetPreviewImage(), GetProgramInfo(), getProgramInfoForFile(), V2Content::GetRecording(), TV::GetStatus(), MainServer::HandleCutMapQuery(), MainServer::HandleDeleteRecording(), MainServer::HandleForgetRecording(), MainServer::HandleGetConflictingRecordings(), TV::HandlePseudoLiveTVTimerEvent(), MainServer::HandleQueryRecording(), Scheduler::HandleRecording(), Scheduler::HandleRecordingStatusChange(), MainServer::HandleSetBookmark(), MainServer::HandleStopRecording(), MainServer::HandleUndeleteRecording(), incomingCustomEvent(), init_jobs(), RecordingInfo::InsertProgram(), TVRec::IsBusy(), Scheduler::IsBusyRecording(), JobQueue::IsJobRunning(), EncoderLink::IsRecording(), TV::ITVRestart(), ProgDetails::loadPage(), FileServerHandler::LocalFilePath(), MainServer::LocalFilePath(), LookupFromProgramInfo(), main(), V2Dvr::ManageJobQueue(), MythPlayer::OpenFile(), anonymous_namespace{programinfocache.cpp}::PISort(), TV::PlaybackMenuInit(), MythFrontendService::PlayRecording(), Frontend::PlayRecording(), plTimeSort(), ProgDetails::PowerPriorities(), print_comm_flag_output(), JobQueue::ProcessJob(), TV::ProcessNetworkControlCommand(), PlaybackBox::processNetworkControlCommand(), LiveTVChain::ProgramIsAt(), QueueCommFlagJob(), QueueJob(), JobQueue::QueueRecordingJobs(), QueueTranscodeJob(), TV::QuickRecord(), V2Dvr::ReactivateRecording(), Reload(), ReloadBookmark(), RemoteDeleteRecording(), RemoteUndeleteRecording(), anonymous_namespace{programinfocache.cpp}::reversePISort(), TVBrowseHelper::run(), PreviewGenerator::Run(), SendMythSystemPlayEvent(), SendMythSystemRecEvent(), TVRec::SetLiveRecording(), LiveTVChain::SetProgram(), RecorderBase::SetRecordingStatus(), ScheduleCommon::ShowChannelSearch(), ProgFinder::ShowGuide(), ScheduleCommon::ShowGuide(), ViewScheduleDiff::showStatus(), ScheduleCommon::ShowUpcoming(), TVRec::StartRecording(), EncoderLink::StartRecording(), TV::StartTV(), PlaybackBox::stopPlaylistJobQueueJob(), V2Dvr::StopRecording(), MythSystemEventHandler::SubstituteMatches(), TVRec::SwitchRecordingRingBuffer(), toString(), TVRec::TuningNewRecorder(), TVRec::TuningRestartRecorder(), TVRec::TuningSignalCheck(), V2Dvr::UnDeleteRecording(), V2Dvr::UpdateRecordedWatchedStatus(), V2FillCastMemberList(), V2FillCutList(), V2FillProgramInfo(), V2FillSeek(), and WaitToDelete().
|
inline |
This is the channel name in the local market, i.e.
BBC1. This is purely for use in the user interface.
Definition at line 394 of file programinfo.h.
Referenced by StatusBox::doJobQueueStatus(), CustomEdit::evaluate(), HttpStatus::FillChannelInfo(), V2Status::FillChannelInfo(), LookupFromProgramInfo(), and RemoteGetRecordingStatus().
|
inline |
Definition at line 395 of file programinfo.h.
Referenced by HttpStatus::FillChannelInfo(), V2Status::FillChannelInfo(), PlayerContext::GetFilters(), and LookupFromProgramInfo().
|
inline |
This is the unique programming identifier of a channel.
For example "BBC1 Crystal Palace". The channel may be broadcast over satelite, cable and terrestrially – but will almost always contain the same programming. This is used when determining if two channels can be treated as the same channel in recording rules. In the DB this is called 'callsign' for historic reasons.
Definition at line 391 of file programinfo.h.
Referenced by Scheduler::AddNewRecords(), Scheduler::AssignGroupInput(), RecordingRule::AssignProgramInfo(), comp_recstart(), comp_redundant(), CustomEdit::evaluate(), HttpStatus::FillChannelInfo(), V2Status::FillChannelInfo(), CustomEdit::loadClauses(), ViewScheduled::LoadList(), LookupFromProgramInfo(), MythPlayer::OpenFile(), and TV::ShowLCDChannelInfo().
|
inline |
This is the channel "number", in the form 1, 1_2, 1-2, 1#1, etc.
i.e. this is what the user enters to tune to the channel. This is purely for use in the user interface.
Definition at line 384 of file programinfo.h.
Referenced by TVBrowseHelper::BrowseStart(), comp_recstart(), comp_redundant(), TV::DoEditSchedule(), StatusBox::doJobQueueStatus(), CustomEdit::evaluate(), HttpStatus::FillChannelInfo(), V2Status::FillChannelInfo(), FillUpcomingList(), Scheduler::FindNextConflict(), TV::HandlePseudoLiveTVTimerEvent(), LookupFromProgramInfo(), MythPlayer::OpenFile(), PlayerContext::SetPseudoLiveTV(), ProgFinder::ShowGuide(), ScheduleCommon::ShowGuide(), and RecordingInfo::SubstituteMatches().
|
inline |
Definition at line 372 of file programinfo.h.
Referenced by RecordingRule::AssignProgramInfo(), ScheduledRecording::BuildCheckRequest(), comp_priority(), comp_retry(), RecMetadataEdit::Create(), ScheduleCommon::EditRecording(), CustomEdit::evaluate(), HttpStatus::FillProgramInfo(), V2Status::FillProgramInfo(), ProgDetails::loadPage(), LookupFromProgramInfo(), RecordingExtender::processNewRecordings(), Scheduler::SchedNewFirstPass(), ProgLister::ShowOldRecordedMenu(), and V2FillProgramInfo().
|
inline |
What should be compared to determine if two programs are the same?
Definition at line 470 of file programinfo.h.
Referenced by ScheduleCommon::EditRecording(), HttpStatus::FillProgramInfo(), V2Status::FillProgramInfo(), and V2FillProgramInfo().
|
inline |
Where should we check for duplicates?
Definition at line 466 of file programinfo.h.
Referenced by HttpStatus::FillProgramInfo(), V2Status::FillProgramInfo(), and V2FillProgramInfo().
|
inline |
Definition at line 374 of file programinfo.h.
Referenced by RecordingRule::AssignProgramInfo(), comp_season_rev(), RecMetadataEdit::Create(), MetadataOptions::Create(), CustomEdit::evaluate(), GuessLookupType(), ProgDetails::loadPage(), MetadataFactory::Lookup(), LookupFromProgramInfo(), retrieve_SeasonEpisode(), ToMap(), and V2FillProgramInfo().
|
inline |
Definition at line 375 of file programinfo.h.
Referenced by ProgDetails::loadPage(), and V2FillProgramInfo().
|
virtual |
Reimplemented in RecordingInfo.
Definition at line 6560 of file programinfo.cpp.
Referenced by PBHEventHandler::CheckAvailability(), PlaybackBox::customEvent(), StatusBox::doAutoExpireList(), MainServer::DoDeleteThread(), LiveTVChain::DoGetNextProgram(), extract_main_state(), HttpStatus::FillProgramInfo(), V2Status::FillProgramInfo(), RecordingInfo::GetFilesize(), ProgDetails::loadPage(), PlaybackBox::Play(), UpdateFileSize(), V2FillCastMemberList(), and V2FillProgramInfo().
|
inline |
Definition at line 479 of file programinfo.h.
Referenced by RecordingRule::AssignProgramInfo(), ScheduledRecording::BuildCheckRequest(), ScheduleCommon::EditRecording(), and ProgDetails::loadPage().
|
inline |
Definition at line 429 of file programinfo.h.
Referenced by MainServer::DoHandleDeleteRecording(), MainServer::DoHandleStopRecording(), PlaybackBox::doJobQueueJob(), PlaybackBox::doPlaylistJobQueueJob(), TV::DoQueueTranscode(), HttpStatus::FillProgramInfo(), V2Status::FillProgramInfo(), Scheduler::FillRecordingDir(), V2Content::GetPreviewImage(), V2Content::GetRecording(), MainServer::HandleCheckRecordingActive(), MainServer::HandleGenPreviewPixmap(), MainServer::HandlePixmapGetIfModified(), MainServer::HandlePixmapLastModified(), MainServer::HandleQueryCheckFile(), Scheduler::HandleRecording(), RecordingInfo::InsertFile(), ProgDetails::loadPage(), LookupFromProgramInfo(), JobQueue::QueueRecordingJobs(), transUnlink(), and V2FillProgramInfo().
|
inline |
Definition at line 448 of file programinfo.h.
Referenced by RecordingRule::AssignProgramInfo(), RecMetadataEdit::Create(), PlayerContext::GetPlayingInfoMap(), V2Content::GetRecordingArtworkList(), GuessLookupType(), MetadataFactory::Lookup(), LookupFromProgramInfo(), PlaybackBox::updateGroupInfo(), and V2FillProgramInfo().
|
inline |
Definition at line 474 of file programinfo.h.
Referenced by Scheduler::AssignGroupInput(), Scheduler::ChangeRecordingEnd(), comp_overlap(), comp_priority(), comp_retry(), HttpStatus::FillChannelInfo(), V2Status::FillChannelInfo(), ViewScheduleDiff::fillList(), HttpStatus::FillProgramInfo(), V2Status::FillProgramInfo(), Scheduler::FindNextConflict(), TVRec::FinishedRecording(), Scheduler::HandleRecording(), Scheduler::HandleWakeSlave(), Scheduler::IsBusyRecording(), ViewScheduled::LoadList(), TVRec::RecordPending(), SendMythSystemRecEvent(), TVRec::SetLiveRecording(), RecorderBase::SetRecordingStatus(), Scheduler::TryAnotherShowing(), TVRec::TuningNewRecorder(), TVRec::TuningSignalCheck(), ViewScheduled::UpdateUIListItem(), and V2FillProgramInfo().
|
inline |
Definition at line 475 of file programinfo.h.
Referenced by RecordingInfo::InsertProgram(), ProgDetails::loadPage(), RecordingInfo::SubstituteMatches(), and V2FillProgramInfo().
|
inline |
Definition at line 441 of file programinfo.h.
|
inline |
Definition at line 440 of file programinfo.h.
Referenced by HttpStatus::FillProgramInfo(), V2Status::FillProgramInfo(), PreviewGeneratorQueue::GeneratePreviewImage(), LookupFromProgramInfo(), and V2FillProgramInfo().
|
inline |
Definition at line 439 of file programinfo.h.
Referenced by comp_originalAirDate(), comp_originalAirDate_rev(), HttpStatus::FillProgramInfo(), V2Status::FillProgramInfo(), ProgDetails::loadPage(), LookupFromProgramInfo(), and V2FillProgramInfo().
|
inline |
Definition at line 461 of file programinfo.h.
Referenced by ScheduledRecording::BuildCheckRequest(), and Scheduler::HandleRecordingStatusChange().
|
inline |
Definition at line 350 of file programinfo.h.
Referenced by PBHEventHandler::CheckAvailability(), ClearBookmarks(), ClearSeekTable(), Scheduler::FillRecordingDir(), PreviewGeneratorQueue::GeneratePreviewImage(), get_filename(), GetPlaybackURL(), PlayerContext::GetPlayingInfoMap(), PreviewGeneratorQueue::GetPreviewImage(), TVRec::GetProgramRingBufferForLiveTV(), TV::GetStatus(), MainServer::HandlePixmapGetIfModified(), MainServer::HandlePixmapLastModified(), MainServer::HandleQueryCheckFile(), Scheduler::HandleRecording(), ProgDetails::loadPage(), ImportRecorder::Open(), print_comm_flag_output(), TV::QuickRecord(), PreviewGenerator::Run(), ImportRecorder::run(), RunCCExtract(), PreviewGenerator::RunReal(), TVRec::StartedRecording(), and V2FillProgramInfo().
|
inline |
Definition at line 428 of file programinfo.h.
Referenced by HttpStatus::FillProgramInfo(), V2Status::FillProgramInfo(), TV::HandleStateChange(), ProgDetails::loadPage(), LookupFromProgramInfo(), PlayerContext::SetInitialTVState(), PlaybackBox::ShowPlayGroupChanger(), and V2FillProgramInfo().
Returns filename or URL to be used to play back this recording.
If the file is accessible locally, the filename will be returned, otherwise a myth:// URL will be returned.
Definition at line 2579 of file programinfo.cpp.
Referenced by CompleteJob(), commDetector2::debugDirectory(), DiscoverRecordingDirectory(), JobQueue::DoFlagCommercialsThread(), JobQueue::DoTranscodeThread(), get_filename(), GetPlaybackURL(), getProgramInfoForFile(), TV::HandleStateChange(), IsFileReadable(), MythPlayerUI::JumpToProgram(), main(), MarkAsInUse(), JobQueue::ProcessJob(), PlaybackBox::processNetworkControlCommand(), RunCCExtract(), SubstituteMatches(), TV::SwitchInputs(), and MythPlayerUI::SwitchToProgram().
| QString ProgramInfo::GetProgramFlagNames | ( | void | ) | const |
Definition at line 1511 of file programinfo.cpp.
Referenced by ToMap(), and V2FillProgramInfo().
|
inline |
Definition at line 481 of file programinfo.h.
Referenced by PlaybackBox::extract_commflag_state(), HttpStatus::FillProgramInfo(), V2Status::FillProgramInfo(), LookupFromProgramInfo(), PlaybackBox::SetItemIcons(), PlaybackBox::updateIcons(), and V2FillProgramInfo().
|
inline |
Definition at line 447 of file programinfo.h.
Referenced by RecordingRule::AssignProgramInfo(), ScheduledRecording::BuildCheckRequest(), comp_priority(), comp_programid(), comp_programid_rev(), comp_retry(), ScheduleCommon::EditRecording(), CustomEdit::evaluate(), HttpStatus::FillProgramInfo(), V2Status::FillProgramInfo(), TV::GetStatus(), CustomEdit::loadClauses(), ProgDetails::loadPage(), LookupFromProgramInfo(), plPrevTitleSort(), Scheduler::SchedNewFirstPass(), and V2FillProgramInfo().
|
inline |
Definition at line 483 of file programinfo.h.
Referenced by ToMap().
|
inline |
Definition at line 598 of file programinfo.h.
Referenced by ViewScheduled::customEvent(), and ViewScheduled::UpdateUIListItem().
|
inline |
Approximate time the recording should have ended, did end, or is intended to end (with formatting).
Definition at line 423 of file programinfo.h.
|
inline |
Approximate time the recording should have ended, did end, or is intended to end.
Definition at line 420 of file programinfo.h.
Referenced by LiveTVChain::AppendNewProgram(), Scheduler::AssignGroupInput(), Scheduler::ChangeRecordingEnd(), comp_recstart(), PlaybackBox::CreateProgramInfoString(), CreateProgramInfoString(), MainServer::customEvent(), StatusBox::doAutoExpireList(), DoFlagCommercials(), MainServer::DoHandleDeleteRecording(), ScheduleCommon::EditRecording(), RecordingExtender::extendRecording(), HttpStatus::FillProgramInfo(), V2Status::FillProgramInfo(), Scheduler::FindNextConflict(), LiveTVChain::FinishedRecording(), TVRec::FinishedRecording(), FlagCommercials(), PreviewGeneratorQueue::GeneratePreviewImage(), TVRec::GetProgramRingBufferForLiveTV(), TVRec::GetRecordEndTime(), TVRec::HandlePendingRecordings(), Scheduler::HandleRecording(), ViewScheduled::LoadList(), LookupFromProgramInfo(), RunCCExtract(), PlayerContext::SetInitialTVState(), TVRec::SetLiveRecording(), PlayerContext::SetPseudoLiveTV(), RecorderBase::SetRecordingStatus(), MythPlayerUI::SetWatched(), ViewScheduleDiff::showStatus(), TVRec::StartRecording(), EncoderLink::StartRecording(), Transcode::TranscodeFile(), TVRec::TuningFrequency(), TVRec::TuningNewRecorder(), TVRec::TuningRestartRecorder(), TVRec::TuningSignalCheck(), RecordingExtender::unchangedRecording(), and V2FillProgramInfo().
|
inline |
Definition at line 427 of file programinfo.h.
Referenced by MainServer::customEvent(), StatusBox::doAutoExpireList(), MainServer::DoHandleDeleteRecording(), TV::FillOSDMenuJumpRec(), HttpStatus::FillProgramInfo(), V2Status::FillProgramInfo(), PlaybackBox::FindProgramInUILists(), TV::GetRecordingGroup(), ProgDetails::loadPage(), LookupFromProgramInfo(), JobQueue::ProcessJob(), QueryIsDeleteCandidate(), PlaybackBox::ShowActionPopup(), PlaybackBox::ShowDeletePopup(), PlaybackBox::ShowRecGroupChanger(), TVRec::StartedRecording(), ProgramInfoCache::Update(), and V2FillProgramInfo().
|
inline |
Definition at line 457 of file programinfo.h.
Referenced by ProgramInfoCache::Add(), V2Dvr::AddRecordedProgram(), PlaybackBoxHelper::CheckAvailability(), PBHEventHandler::CheckAvailability(), RecordingExtender::create(), PlaybackBox::customEvent(), ViewScheduled::customEvent(), MainServer::DoHandleDeleteRecording(), RecordingExtender::extendRecording(), PlaybackBox::FindProgramInUILists(), RecordingExtender::finishRecording(), MainServer::HandleDeleteRecording(), Scheduler::HandleRecording(), MainServer::HandleRemoteEncoder(), ProgDetails::loadPage(), PlaybackBoxHelper::LocateArtwork(), main(), PlaybackBox::PlaylistDelete(), push_onto_del(), PlaybackBox::RemoveProgram(), PreviewGenerator::Run(), PreviewGenerator::RunReal(), PreviewGeneratorQueue::SendEvent(), PlaybackBox::SetItemIcons(), PlaybackBox::ShowActionPopup(), TVRec::StartRecording(), TV::StartTV(), PlaybackBox::togglePlayListItem(), RecordingExtender::unchangedRecording(), ProgramInfoCache::Update(), and V2FillProgramInfo().
|
inline |
Definition at line 451 of file programinfo.h.
Referenced by ProgramRecPriority::changeRecPriority(), comp_overlap(), comp_priority(), comp_recstart(), comp_retry(), HttpStatus::FillProgramInfo(), V2Status::FillProgramInfo(), TitleSort::operator()(), ProgramRecPrioritySort::operator()(), ProgramRecTypeSort::operator()(), ProgramRecPriority::saveRecPriority(), ProgramRecPriority::scheduleChanged(), ProgramRecPriority::updateInfo(), ProgramRecPriority::UpdateList(), and V2FillProgramInfo().
|
inline |
Definition at line 452 of file programinfo.h.
Referenced by comp_priority(), comp_recpriority2(), comp_retry(), ProgDetails::loadPage(), Scheduler::PruneRedundants(), and ViewScheduled::UpdateUIListItem().
|
inline |
Definition at line 460 of file programinfo.h.
Referenced by Scheduler::AddNewRecords(), Scheduler::AddRecording(), ScheduledRecording::BuildCheckRequest(), Scheduler::ChangeRecordingEnd(), comp_overlap(), comp_priority(), comp_redundant(), comp_retry(), GuideGrid::deleteRule(), ProgramRecPriority::FillList(), HttpStatus::FillProgramInfo(), V2Status::FillProgramInfo(), GuessLookupType(), Scheduler::HandleRecordingStatusChange(), RecordingRule::LoadByProgram(), CustomEdit::loadData(), ViewScheduled::LoadList(), ProgDetails::loadPage(), ScheduleCommon::MakeOverride(), TitleSort::operator()(), ProgramRecPrioritySort::operator()(), ProgramRecTypeSort::operator()(), ProgDetails::PowerPriorities(), Scheduler::PruneOverlaps(), Scheduler::PruneRedundants(), ScheduleCommon::QuickRecord(), ProgramRecPriority::saveRecPriority(), Scheduler::SchedNewFirstPass(), ProgramRecPriority::scheduleChanged(), ScheduleEditor::ScheduleEditor(), ProgLister::ShowDeleteRuleMenu(), ProgLister::ShowMenu(), ScheduleCommon::ShowPrevious(), GuideGrid::ShowRecordingMenu(), ScheduleCommon::ShowUpcoming(), ScheduleCommon::ShowUpcomingScheduled(), TVRec::StartRecording(), ExternalChannel::Tune(), ProgramRecPriority::UpdateList(), and V2FillProgramInfo().
|
inline |
Definition at line 462 of file programinfo.h.
Referenced by Scheduler::ChangeRecordingEnd(), comp_overlap(), comp_priority(), comp_retry(), GuideGrid::deleteRule(), ScheduleCommon::EditRecording(), HttpStatus::FillProgramInfo(), V2Status::FillProgramInfo(), GuideUpdateProgramRow::fillProgramRowInfosWith(), GetRecTypeStatus(), Scheduler::HandleRecordingStatusChange(), IsDuplicateProgram(), ScheduleCommon::IsFindApplicable(), ProgDetails::loadPage(), ProgramRecPriority::newTemplate(), TVRec::NotifySchedulerOfRecording(), ProgLister::ShowDeleteRuleMenu(), ViewScheduleDiff::showStatus(), TVRec::StartRecording(), ToMap(), ProgramRecPriority::UpdateList(), and V2FillProgramInfo().
|
inline |
Approximate time the recording started (with formatting).
Definition at line 414 of file programinfo.h.
|
inline |
Approximate time the recording started.
Definition at line 412 of file programinfo.h.
Referenced by LiveTVChain::AppendNewProgram(), RecordingInfo::ApplyNeverRecord(), Scheduler::AssignGroupInput(), RecordingInfo::clone(), comp_originalAirDate(), comp_originalAirDate_rev(), comp_priority(), comp_programid(), comp_programid_rev(), comp_recordDate(), comp_recordDate_rev(), comp_recpriority2(), comp_recstart(), comp_retry(), comp_sortdate_lt(), comp_sortdate_lt_rev(), CompleteJob(), PlaybackBox::createJobMenu(), PlaybackBox::createPlaylistJobMenu(), PlaybackBox::CreateProgramInfoString(), CreateProgramInfoString(), TV::customEvent(), LiveTVChain::DeleteProgram(), V2Dvr::DeleteRecording(), StatusBox::doAutoExpireList(), DoFlagCommercials(), MainServer::DoHandleDeleteRecording(), PlaybackBox::doJobQueueJob(), StatusBox::doJobQueueStatus(), PlaybackBox::doPlaylistJobQueueJob(), TV::DoQueueTranscode(), ScheduleCommon::EditRecording(), PlaybackBox::extract_commflag_state(), PlaybackBox::extract_job_state(), HttpStatus::FillProgramInfo(), V2Status::FillProgramInfo(), Scheduler::FindNextConflict(), LiveTVChain::FinishedRecording(), TVRec::FinishedRecording(), RecordingExtender::finishRecording(), PreviewGeneratorQueue::GeneratePreviewImage(), GetPlaybackURL(), TVRec::GetProgramRingBufferForLiveTV(), TV::GetStatus(), Scheduler::HandleRecording(), Scheduler::HandleRecordingStatusChange(), MainServer::HandleRemoteEncoder(), Scheduler::HandleWakeSlave(), incomingCustomEvent(), init_jobs(), JobQueue::IsJobRunning(), EncoderLink::IsRecording(), ViewScheduled::LoadList(), ProgDetails::loadPage(), PreviewGenerator::LocalPreviewRun(), LookupFromProgramInfo(), main(), V2Dvr::ManageJobQueue(), anonymous_namespace{programinfocache.cpp}::PISort(), MythFrontendService::PlayRecording(), Frontend::PlayRecording(), print_comm_flag_output(), TV::ProcessNetworkControlCommand(), LiveTVChain::ProgramIsAt(), QueueCommFlagJob(), QueueJob(), JobQueue::QueueRecordingJobs(), QueueTranscodeJob(), ReloadBookmark(), RemoteDeleteRecording(), RemoteUndeleteRecording(), anonymous_namespace{programinfocache.cpp}::reversePISort(), PreviewGenerator::Run(), Scheduler::SchedNewFirstPass(), SendMythSystemPlayEvent(), SendMythSystemRecEvent(), PlayerContext::SetPlayingInfo(), LiveTVChain::SetProgram(), PlayerContext::SetPseudoLiveTV(), MythPlayerUI::SetWatched(), ViewScheduleDiff::showStatus(), Scheduler::ShutdownServer(), TVRec::StartRecording(), EncoderLink::StartRecording(), PlaybackBox::stopPlaylistJobQueueJob(), V2Dvr::StopRecording(), ToMap(), toString(), Scheduler::TryAnotherShowing(), TVRec::TuningRestartRecorder(), V2Dvr::UnDeleteRecording(), V2FillProgramInfo(), WaitToDelete(), and EncoderLink::WouldConflict().
|
inline |
Definition at line 458 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), Scheduler::AddNewRecords(), DTVRecorder::BufferedWrite(), ScheduledRecording::BuildCheckRequest(), Scheduler::ChangeRecordingEnd(), PBHEventHandler::CheckAvailability(), comp_overlap(), comp_priority(), comp_recstart(), comp_redundant(), comp_retry(), ScheduleCommon::EditRecording(), PlaybackBox::extract_job_state(), extract_main_state(), ViewScheduleDiff::fillList(), HttpStatus::FillProgramInfo(), V2Status::FillProgramInfo(), GuideUpdateProgramRow::fillProgramRowInfosWith(), FillUpcomingList(), TVRec::FinishedRecording(), Scheduler::GetRecStatus(), GetRecTypeStatus(), Scheduler::HandleRecording(), Scheduler::HandleRecordingStatusChange(), DTVRecorder::HandleTimestamps(), Scheduler::IsBusyRecording(), ViewScheduled::LoadList(), ProgDetails::loadPage(), plTitleSort(), RecordingExtender::processNewRecordings(), Scheduler::PruneRedundants(), SendMythSystemRecEvent(), TVRec::SetLiveRecording(), RecorderBase::SetRecordingStatus(), PlaybackBox::ShowActionPopup(), ViewScheduleDiff::showStatus(), TVRec::StartRecording(), ToMap(), TVRec::TuningShutdowns(), ProgramRecPriority::UpdateList(), Scheduler::UpdateRecStatus(), IdleScreen::UpdateScreen(), ViewScheduleDiff::updateUIList(), ViewScheduled::UpdateUIListItem(), and V2FillProgramInfo().
| QString ProgramInfo::GetRecTypeStatus | ( | bool | showrerecord | ) | const |
Definition at line 1517 of file programinfo.cpp.
Referenced by ToMap(), and V2FillProgramInfo().
|
inline |
The scheduled end time of the program (with formatting).
Definition at line 407 of file programinfo.h.
|
inline |
The scheduled end time of the program.
Definition at line 405 of file programinfo.h.
Referenced by RecordingRule::AssignProgramInfo(), comp_overlap(), comp_redundant(), DoFlagCommercials(), CustomEdit::evaluate(), HttpStatus::FillProgramInfo(), V2Status::FillProgramInfo(), GuideUpdateProgramRow::fillProgramRowInfosWith(), FillUpcomingList(), get_end(), TVRec::GetProgramRingBufferForLiveTV(), ViewScheduled::LoadList(), ProgDetails::loadPage(), PreviewGenerator::LocalPreviewRun(), LookupFromProgramInfo(), RecordingInfo::RecordingInfo(), RemoteGetRecordingStatus(), TVRec::run(), MythPlayerUI::SetWatched(), and V2FillProgramInfo().
|
inline |
The scheduled start time of program (with formatting).
Definition at line 400 of file programinfo.h.
|
inline |
The scheduled start time of program.
Definition at line 398 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), Scheduler::AddNewRecords(), V2Dvr::AddRecordedCredits(), RecordingRule::AssignProgramInfo(), TVBrowseHelper::BrowseStart(), ClearBookmarks(), ClearSeekTable(), RecordingInfo::clone(), comp_originalAirDate(), comp_originalAirDate_rev(), comp_overlap(), comp_recordDate(), comp_recordDate_rev(), comp_redundant(), RecordingExtender::create(), PrevRecordedList::DeleteOldEpisode(), ProgLister::DeleteOldEpisode(), DoFlagCommercials(), CustomEdit::evaluate(), HttpStatus::FillProgramInfo(), V2Status::FillProgramInfo(), GuideUpdateProgramRow::fillProgramRowInfosWith(), FillUpcomingList(), TVRec::FinishedRecording(), GuideGrid::gestureEvent(), get_start(), TVBrowseHelper::GetNextProgramDB(), GuideGrid::keyPressEvent(), RecordingRule::LoadBySearch(), ViewScheduled::LoadList(), ProgDetails::loadPage(), PreviewGenerator::LocalPreviewRun(), LookupFromProgramInfo(), TV::PlaybackMenuInit(), plPrevTitleSort(), plTimeSort(), plTitleSort(), ProgDetails::PowerPriorities(), TV::ProcessNetworkControlCommand(), RecordingInfo::RecordingInfo(), RemoteGetRecordingStatus(), TVRec::SetLiveRecording(), RecorderBase::SetRecording(), RecorderBase::SetRecordingStatus(), ScheduleCommon::ShowChannelSearch(), ProgFinder::ShowGuide(), ScheduleCommon::ShowGuide(), toString(), Scheduler::TryAnotherShowing(), TVRec::TuningNewRecorder(), TVRec::TuningSignalCheck(), V2FillCastMemberList(), and V2FillProgramInfo().
|
inline |
Definition at line 373 of file programinfo.h.
Referenced by RecordingRule::AssignProgramInfo(), comp_season_rev(), RecMetadataEdit::Create(), MetadataOptions::Create(), CustomEdit::evaluate(), PlayerContext::GetPlayingInfoMap(), V2Content::GetRecordingArtworkList(), GuessLookupType(), ProgDetails::loadPage(), MetadataFactory::Lookup(), LookupFromProgramInfo(), retrieve_SeasonEpisode(), ToMap(), PlaybackBox::updateGroupInfo(), and V2FillProgramInfo().
| std::chrono::seconds ProgramInfo::GetSecondsInRecording | ( | void | ) | const |
Returns length of program/recording in seconds.
Definition at line 1912 of file programinfo.cpp.
Referenced by PlayerContext::SetPlayingInfo().
|
inline |
Definition at line 446 of file programinfo.h.
Referenced by RecordingRule::AssignProgramInfo(), CustomEdit::evaluate(), HttpStatus::FillProgramInfo(), V2Status::FillProgramInfo(), CustomEdit::loadClauses(), ProgDetails::loadPage(), LookupFromProgramInfo(), ScheduleCommon::ShowUpcoming(), ScheduleCommon::ShowUpcomingScheduled(), and V2FillProgramInfo().
| QString ProgramInfo::GetShortInputName | ( | void | ) | const |
Definition at line 1946 of file programinfo.cpp.
Referenced by ToMap().
|
inline |
Definition at line 371 of file programinfo.h.
Referenced by RecordingRule::AssignProgramInfo(), TitleSort::operator()(), ProgramCountSort::operator()(), ProgramRecCountSort::operator()(), ProgramLastRecordSort::operator()(), ProgramAvgDelaySort::operator()(), plPrevTitleSort(), and plTitleSort().
|
inline |
Definition at line 369 of file programinfo.h.
Referenced by RecordingRule::AssignProgramInfo(), comp_sorttitle_lt(), comp_sorttitle_lt_rev(), comp_title(), FillUpcomingList(), TitleSort::operator()(), ProgramCountSort::operator()(), ProgramRecCountSort::operator()(), ProgramLastRecordSort::operator()(), ProgramAvgDelaySort::operator()(), plPrevTitleSort(), plTitleSort(), and PlaybackBox::updateRecList().
|
inline |
Definition at line 473 of file programinfo.h.
Referenced by TV::CommitQueuedInput(), HttpStatus::FillChannelInfo(), V2Status::FillChannelInfo(), get_chanid(), Scheduler::HandleRecording(), and TVRec::StartRecording().
Definition at line 454 of file programinfo.h.
|
inline |
Definition at line 453 of file programinfo.h.
Referenced by HttpStatus::FillProgramInfo(), V2Status::FillProgramInfo(), LookupFromProgramInfo(), ToMap(), GuideGrid::updateInfo(), ProgramRecPriority::UpdateList(), ViewScheduled::UpdateUIListItem(), and V2FillProgramInfo().
|
inline |
Definition at line 430 of file programinfo.h.
Referenced by Scheduler::HandleRecording(), RecordingInfo::InsertFile(), ProgDetails::loadPage(), LookupFromProgramInfo(), transUnlink(), and V2FillProgramInfo().
|
inline |
Definition at line 370 of file programinfo.h.
Referenced by RecordingRule::AssignProgramInfo(), ScheduledRecording::BuildCheckRequest(), comp_priority(), comp_retry(), RecMetadataEdit::Create(), PlaybackBox::CreateProgramInfoString(), CreateProgramInfoString(), StatusBox::doTunerStatus(), ScheduleCommon::EditRecording(), CustomEdit::evaluate(), extract_subtitle(), HttpStatus::FillProgramInfo(), V2Status::FillProgramInfo(), FlagCommercials(), TV::GetStatus(), GuessLookupType(), CustomEdit::loadClauses(), ProgDetails::loadPage(), MetadataFactory::Lookup(), LookupFromProgramInfo(), TV::MenuItemDisplayPlayback(), RecordingExtender::processNewRecordings(), RebuildSeekTable(), RemoteGetRecordingStatus(), Scheduler::SchedNewFirstPass(), TV::ShowLCDChannelInfo(), TV::ShowOSDPromptDeleteRecording(), TVRec::TuningSignalCheck(), ProgramRecPriority::UpdateList(), and V2FillProgramInfo().
|
inline |
Definition at line 505 of file programinfo.h.
Referenced by LookupFromProgramInfo(), PlaybackBox::updateIcons(), and V2FillProgramInfo().
| QString ProgramInfo::GetSubtitleTypeNames | ( | void | ) | const |
Definition at line 1551 of file programinfo.cpp.
Referenced by ToMap(), and V2FillProgramInfo().
|
inline |
Definition at line 376 of file programinfo.h.
Referenced by retrieve_SeasonEpisode().
|
inline |
Definition at line 368 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), Scheduler::AddNewRecords(), Scheduler::AddRecording(), Scheduler::AssignGroupInput(), RecordingRule::AssignProgramInfo(), ScheduledRecording::BuildCheckRequest(), comp_overlap(), comp_priority(), comp_redundant(), comp_retry(), RecordingExtender::create(), RecMetadataEdit::Create(), PlaybackBox::CreateProgramInfoString(), CreateProgramInfoString(), CustomEdit::CustomEdit(), ProgFinder::customEvent(), PrevRecordedList::DeleteOldSeries(), ProgLister::DeleteOldSeries(), StatusBox::doAutoExpireList(), MainServer::DoHandleDeleteRecording(), StatusBox::doJobQueueStatus(), StatusBox::doTunerStatus(), CustomEdit::evaluate(), MythBDPlayer::EventStart(), MythDVDPlayer::EventStart(), extract_subtitle(), HttpStatus::FillProgramInfo(), V2Status::FillProgramInfo(), GuideUpdateProgramRow::fillProgramRowInfosWith(), Scheduler::FindNextConflict(), TVRec::FinishedRecording(), FlagCommercials(), GuideGrid::gestureEvent(), PlayGroup::GetInitialName(), TV::GetStatus(), Scheduler::HandleRecording(), Scheduler::HandleWakeSlave(), GuideGrid::keyPressEvent(), RecordingRule::LoadByProgram(), CustomEdit::loadClauses(), CustomPriority::loadData(), ProgDetails::loadPage(), MetadataFactory::Lookup(), LookupFromProgramInfo(), TV::MenuItemDisplayPlayback(), print_comm_flag_output(), RecordingExtender::processNewRecordings(), TV::QuickRecord(), RebuildSeekTable(), CustomEdit::recordClicked(), RemoteGetExistingRecorder(), RemoteGetRecordingStatus(), Scheduler::SchedNewFirstPass(), PlayerContext::SetPseudoLiveTV(), PrevRecordedList::ShowDeleteOldEpisodeMenu(), ProgLister::ShowDeleteOldEpisodeMenu(), PrevRecordedList::ShowDeleteOldSeriesMenu(), ProgLister::ShowDeleteOldSeriesMenu(), TV::ShowLCDChannelInfo(), TV::ShowOSDPromptDeleteRecording(), ScheduleCommon::ShowPrevious(), PlaybackBox::ShowRecordedEpisodes(), ScheduleCommon::ShowUpcoming(), ScheduleCommon::ShowUpcomingScheduled(), TVRec::StartRecording(), TV::timerEvent(), TVRec::TuningRestartRecorder(), TVRec::TuningSignalCheck(), ProgramInfoCache::Update(), and V2FillProgramInfo().
|
inline |
Definition at line 507 of file programinfo.h.
Referenced by extract_main_state(), LookupFromProgramInfo(), PlaybackBox::updateIcons(), and V2FillProgramInfo().
| QString ProgramInfo::GetVideoPropertyNames | ( | void | ) | const |
Definition at line 1557 of file programinfo.cpp.
Referenced by ToMap(), and V2FillProgramInfo().
|
inline |
Definition at line 601 of file programinfo.h.
|
inline |
Definition at line 431 of file programinfo.h.
Referenced by MetadataOptions::customEvent(), LookupFromProgramInfo(), and V2FillProgramInfo().
|
inline |
Definition at line 491 of file programinfo.h.
Referenced by JobQueue::DoTranscodeThread(), QueryStartMark(), and PlaybackBox::SetItemIcons().
|
inline |
Definition at line 365 of file programinfo.h.
Referenced by V2Dvr::AddRecordedCredits(), PBHEventHandler::CheckAvailability(), TV::customEvent(), PlaybackBox::customEvent(), V2Dvr::DeleteRecording(), TV::Embed(), PBHEventHandler::event(), V2Dvr::GetRecordedMarkup(), MainServer::HandleFillProgramInfo(), MainServer::HandleGenPreviewPixmap(), MainServer::HandlePixmapGetIfModified(), MainServer::HandleQueryCheckFile(), FileServerHandler::HandleQueryCheckFile(), V2Dvr::ReactivateRecording(), V2Dvr::SetRecordedMarkup(), TV::StartTV(), V2Dvr::UnDeleteRecording(), and V2Dvr::UpdateRecordedWatchedStatus().
|
static |
Translations for play,recording, & storage groups +.
Translations for play,recording, & storage groups.
Definition at line 5523 of file programinfo.cpp.
Referenced by CurrentPlaybackProfile(), StatusBox::doAutoExpireList(), PlaybackBox::fillRecGroupPasswordCache(), ProgDetails::loadPage(), PlaybackBox::PlaybackBox(), PlaybackBox::setGroupFilter(), PlaybackBox::showGroupFilter(), PlaybackBox::updateGroupInfo(), PlaybackBox::UpdateUIGroupList(), and PlaybackBox::UpdateUIRecGroupList().
|
staticprotected |
Definition at line 5514 of file programinfo.cpp.
|
inline |
Definition at line 495 of file programinfo.h.
Referenced by V2Dvr::AddRecordedProgram(), PlaybackBox::createStorageMenu(), PlaybackBox::doPlaylistExpireSetting(), PlaybackBox::SetItemIcons(), and PlaybackBox::toggleAutoExpire().
|
inline |
Definition at line 492 of file programinfo.h.
Referenced by PlaybackBox::createPlayFromMenu(), PlaybackBox::SetItemIcons(), and PlaybackBox::ShowActionPopup().
|
inline |
Definition at line 490 of file programinfo.h.
Referenced by V2Dvr::AddRecordedProgram().
|
inline |
Definition at line 489 of file programinfo.h.
Referenced by HttpStatus::FillChannelInfo(), V2Status::FillChannelInfo(), init_jobs(), JobQueue::QueueRecordingJobs(), and TVRec::StartedRecording().
|
inline |
Definition at line 502 of file programinfo.h.
|
inline |
Definition at line 500 of file programinfo.h.
Referenced by ProgLister::customEvent(), GetRecTypeStatus(), PrevRecordedList::ShowItemMenu(), and ProgLister::ShowOldRecordedMenu().
| bool ProgramInfo::IsDuplicateProgram | ( | const ProgramInfo & | other | ) | const |
Checks for duplicates according to dupmethod.
| other | ProgramInfo to compare this one with. |
Definition at line 2215 of file programinfo.cpp.
Referenced by Scheduler::IsSameProgram().
| bool ProgramInfo::IsFileReadable | ( | void | ) |
Attempts to ascertain if the main file for this ProgramInfo is readable.
Definition at line 5096 of file programinfo.cpp.
Referenced by PBHEventHandler::CheckAvailability(), and TV::timerEvent().
| bool ProgramInfo::IsGeneric | ( | void | ) | const |
Definition at line 1958 of file programinfo.cpp.
Referenced by RecordingInfo::AddHistory(), and ScheduleCommon::EditRecording().
|
inline |
Definition at line 488 of file programinfo.h.
Referenced by PlaybackBox::SetItemIcons().
|
inline |
Definition at line 493 of file programinfo.h.
Referenced by PlaybackBox::createPlayFromMenu(), and PlaybackBox::ShowActionPopup().
|
inline |
Definition at line 358 of file programinfo.h.
Referenced by EncoderLink::CheckFile(), DiscoverRecordingDirectory(), JobQueue::DoFlagCommercialsThread(), TVRec::FinishedRecording(), V2Content::GetPreviewImage(), MainServer::HandleGenPreviewPixmap(), MainServer::HandlePixmapGetIfModified(), MainServer::HandlePixmapLastModified(), and IsFileReadable().
|
inline |
Definition at line 363 of file programinfo.h.
Referenced by IsFileReadable().
|
inline |
Definition at line 364 of file programinfo.h.
Referenced by PlaybackBox::Play().
|
inline |
Definition at line 496 of file programinfo.h.
Referenced by V2Dvr::AddRecordedProgram(), PlaybackBox::createStorageMenu(), PlaybackBox::SetItemIcons(), and PlaybackBox::togglePreserveEpisode().
|
inline |
Definition at line 501 of file programinfo.h.
Referenced by comp_priority(), comp_retry(), and RecordingInfo::SubstituteMatches().
|
inline |
Definition at line 498 of file programinfo.h.
Referenced by CalculateWatchedProgress(), ClearMarkupMap(), ClearPositionMap(), TV::HandleStateChange(), MarkAsInUse(), TV::ProcessNetworkControlCommand(), QueryIsDeleteCandidate(), QueryIsInUse(), QueryKeyFrameInfo(), QueryMarkup(), QueryMarkupMap(), QueryPositionMap(), QueryTotalFrames(), SaveAspect(), SaveCutList(), SaveFrameRate(), SaveMarkup(), SaveMarkupMap(), SavePositionMap(), SavePositionMapDelta(), SaveResolution(), SaveTotalDuration(), SaveTotalFrames(), SaveVideoScanType(), SaveWatched(), SendUpdateEvent(), PlayerContext::SetInitialTVState(), MythPlayerUI::SetWatched(), TV::ShowOSDPromptDeleteRecording(), TV::StartTV(), UpdateInUseMark(), UpdateLastPlayTimeStamp(), and UpdateMarkTimeStamp().
|
inline |
Definition at line 499 of file programinfo.h.
Referenced by HttpStatus::FillProgramInfo(), V2Status::FillProgramInfo(), RecordingInfo::InsertProgram(), ProgDetails::loadPage(), ToMap(), and V2FillProgramInfo().
| bool ProgramInfo::IsSameChannel | ( | const ProgramInfo & | other | ) | const |
Checks whether channel id or callsign are identical.
| other | ProgramInfo to compare this one with. |
Definition at line 2387 of file programinfo.cpp.
Referenced by IsSameProgramAndStartTime(), IsSameTitleStartTimeAndChannel(), IsSameTitleTimeslotAndChannel(), and ProgramInfo().
| bool ProgramInfo::IsSameProgram | ( | const ProgramInfo & | other | ) | const |
Checks whether this is the same program as "other", which may or may not be a repeat or on another channel.
Matches based on programid with a fallback to dupmethod
| other | ProgramInfo to compare this one with. |
Definition at line 2284 of file programinfo.cpp.
Referenced by MainServer::HandleStopRecording(), PlayerContext::IsSameProgram(), and IsSameProgramAndStartTime().
| bool ProgramInfo::IsSameProgramAndStartTime | ( | const ProgramInfo & | other | ) | const |
Match same program, with same starttime (channel may be different)
| other | ProgramInfo to compare this one with. |
Definition at line 2342 of file programinfo.cpp.
Referenced by ProgramInfo().
| bool ProgramInfo::IsSameProgramWeakCheck | ( | const ProgramInfo & | other | ) | const |
Checks for duplicate using only title, chanid and startts.
| other | ProgramInfo to compare this one with. |
Definition at line 2204 of file programinfo.cpp.
Referenced by TVRec::StartRecording().
|
inline |
Definition at line 339 of file programinfo.h.
Referenced by Scheduler::GetRecStatus(), and EncoderLink::MatchesRecording().
| bool ProgramInfo::IsSameTitleStartTimeAndChannel | ( | const ProgramInfo & | other | ) | const |
Checks title, chanid or callsign and start times for equality.
| other | ProgramInfo to compare this one with. |
Definition at line 2358 of file programinfo.cpp.
Referenced by Scheduler::ChangeRecordingEnd(), Scheduler::PruneOverlaps(), and Scheduler::PruneRedundants().
| bool ProgramInfo::IsSameTitleTimeslotAndChannel | ( | const ProgramInfo & | other | ) | const |
Checks title, chanid or chansign, start/end times, cardid, inputid for fully inclusive overlap.
| other | ProgramInfo to compare this one with. |
Definition at line 2372 of file programinfo.cpp.
|
inline |
Definition at line 497 of file programinfo.h.
Referenced by CalculateWatchedProgress(), ClearBookmarks(), ClearMarkupMap(), ClearPositionMap(), ClearSeekTable(), getCutFrames(), GetPlaybackURL(), MythPlayer::IsNearEnd(), QueryKeyFrameInfo(), QueryMarkup(), QueryMarkupMap(), QueryPositionMap(), QueryTotalFrames(), SaveMarkup(), SaveMarkupMap(), SavePositionMap(), SavePositionMapDelta(), SaveTotalDuration(), SaveTotalFrames(), TV::ShowOSDStopWatchingRecording(), and ToMap().
|
inline |
Definition at line 356 of file programinfo.h.
Referenced by GetPlaybackURL(), PlayerContext::GetPlayingInfoMap(), TV::QuickRecord(), and PlayerContext::SetInitialTVState().
|
inline |
Definition at line 354 of file programinfo.h.
Referenced by GetPlaybackURL(), PlayerContext::GetPlayingInfoMap(), TV::QuickRecord(), and PlayerContext::SetInitialTVState().
|
inline |
Definition at line 352 of file programinfo.h.
Referenced by PlayerContext::GetPlayingInfoMap(), TV::PrepareToExitPlayer(), TV::QuickRecord(), and SaveWatched().
|
inline |
Definition at line 494 of file programinfo.h.
Referenced by V2Dvr::AddRecordedProgram(), MainServer::customEvent(), AutoExpire::ExpireEpisodesOverMax(), PlaybackBox::SetItemIcons(), PlaybackBox::ShowActionPopup(), PlaybackBox::toggleWatched(), and ToMap().
|
static |
Definition at line 5655 of file programinfo.cpp.
Referenced by LoadFromScheduler(), and RecordingInfo::RecordingInfo().
Loads ProgramInfo for an existing recording.
Definition at line 2018 of file programinfo.cpp.
Referenced by ProgramInfo().
|
static |
Creates a unique string that can be used to identify a recording.
Definition at line 1176 of file programinfo.cpp.
|
inline |
Creates a unique string that can be used to identify an existing recording.
Definition at line 346 of file programinfo.h.
Referenced by commDetectorGotNewCommercialBreakList(), TV::customEvent(), DoFlagCommercials(), LiveTVChain::DoGetNextProgram(), MythPlayerUI::EventLoop(), TVRec::FinishedRecording(), PlaybackBoxHelper::GetPreviewImage(), RecorderBase::GetRecordingQuality(), MainServer::HandleGenPreviewPixmap(), TV::HandleStateChange(), Scheduler::HandleWakeSlave(), TVRec::InitAutoRunJobs(), LoadFromRecorded(), RecordingInfo::MakeUniqueSchedulerKey(), QueryInUseMap(), QueryJobsRunning(), RecordingQuality::RecordingQuality(), PreviewGenerator::RemotePreviewRun(), TVRec::StartedRecording(), and TVRec::SwitchLiveTVRingBuffer().
| void ProgramInfo::MarkAsInUse | ( | bool | inuse, |
| const QString & | usedFor = "" |
||
| ) |
Tracks a recording's in use status, to prevent deletion and to allow the storage scheduler to perform IO load balancing.
Definition at line 5221 of file programinfo.cpp.
Referenced by BEFileTransfer::BEFileTransfer(), TVRec::CreateLiveTVRingBuffer(), FileTransfer::FileTransfer(), PreviewGenerator::LocalPreviewRun(), JobQueue::ProcessJob(), JobQueue::RemoveRunningJob(), TVRec::RingBufferChanged(), PlayerContext::SetPlayingInfo(), TVRec::StartRecording(), TVRec::SwitchLiveTVRingBuffer(), TVRec::TeardownRecorder(), MainServer::TruncateAndClose(), TVRec::TuningNewRecorder(), TVRec::TuningRestartRecorder(), TVRec::TuningShutdowns(), UpdateInUseMark(), BEFileTransfer::~BEFileTransfer(), and FileTransfer::~FileTransfer().
| ProgramInfo & ProgramInfo::operator= | ( | const ProgramInfo & | other | ) |
Copies important fields from other ProgramInfo.
Definition at line 834 of file programinfo.cpp.
| bool ProgramInfo::operator== | ( | const ProgramInfo & | rhs | ) |
Compare two ProgramInfo instances to see if they are equal. Equal is defined as all parameters that are serialized and passed across the myth protocol are the same.
| rhs | The ProgramInfo instance to compare to the current instance. |
Definition at line 1052 of file programinfo.cpp.
| void ProgramInfo::ProgramFlagsFromNames | ( | const QString & | names | ) |
Definition at line 1582 of file programinfo.cpp.
Referenced by V2Dvr::AddRecordedProgram().
| AutoExpireType ProgramInfo::QueryAutoExpire | ( | void | ) | const |
Returns "autoexpire" field from "recorded" table.
Definition at line 3481 of file programinfo.cpp.
Referenced by TV::IsBookmarkAllowed(), MythPlayer::OpenFile(), TV::PlaybackMenuInit(), TV::QuickRecord(), PlaybackBox::ShowDeletePopup(), and TV::ToggleAutoExpire().
| MarkTypes ProgramInfo::QueryAverageAspectRatio | ( | void | ) | const |
Definition at line 4617 of file programinfo.cpp.
Referenced by TVRec::FinishedRecording(), and RecorderBase::FinishRecording().
| uint ProgramInfo::QueryAverageFrameRate | ( | void | ) | const |
If present in recording this loads average frame rate of the main video stream from database's stream markup table.
Definition at line 4612 of file programinfo.cpp.
Referenced by CalculateWatchedProgress(), and RecorderBase::FinishRecording().
| uint ProgramInfo::QueryAverageHeight | ( | void | ) | const |
If present in recording this loads average height of the main video stream from database's stream markup table.
Definition at line 4594 of file programinfo.cpp.
Referenced by TVRec::FinishedRecording(), and RecorderBase::FinishRecording().
| bool ProgramInfo::QueryAverageScanProgressive | ( | void | ) | const |
If present in recording this loads average video scan type of the main video stream from database's stream markup table.
Definition at line 4667 of file programinfo.cpp.
Referenced by TVRec::FinishedRecording().
| uint ProgramInfo::QueryAverageWidth | ( | void | ) | const |
If present in recording this loads average width of the main video stream from database's stream markup table.
Definition at line 4603 of file programinfo.cpp.
Referenced by RecorderBase::FinishRecording().
| QString ProgramInfo::QueryBasename | ( | void | ) | const |
Gets the basename, from the DB if necessary.
If the base part of pathname is not empty this will return that value otherwise this queries the recorded table in the DB for the basename stored there for this ProgramInfo's recordedid
Definition at line 2541 of file programinfo.cpp.
Referenced by CompleteJob(), and GetPlaybackURL().
| QStringList ProgramInfo::QueryBDBookmark | ( | const QString & | serialid | ) | const |
Queries "bdbookmark" table for bookmarking BD serial number.
Definition at line 2997 of file programinfo.cpp.
Referenced by MythBDPlayer::GetBookmark().
|
static |
Definition at line 2837 of file programinfo.cpp.
| uint64_t ProgramInfo::QueryBookmark | ( | void | ) | const |
Gets any bookmark position in database, unless the ignore bookmark flag is set.
Definition at line 2826 of file programinfo.cpp.
Referenced by V2Video::GetSavedBookmark(), V2Dvr::GetSavedBookmark(), MainServer::HandleBookmarkQuery(), and QueryStartMark().
| QDateTime ProgramInfo::QueryBookmarkTimeStamp | ( | void | ) | const |
Queries Latest bookmark timestamp from the database.
If the timestamp has not been set this returns an invalid QDateTime.
Definition at line 2799 of file programinfo.cpp.
| ProgramInfo::CategoryType ProgramInfo::QueryCategoryType | ( | void | ) | const |
Queries recordedprogram to get the category_type of the recording.
Definition at line 3061 of file programinfo.cpp.
Referenced by GuessLookupType().
| void ProgramInfo::QueryCommBreakList | ( | frm_dir_map_t & | frames | ) | const |
Definition at line 3583 of file programinfo.cpp.
Referenced by CopySkipListToCutList(), GetMarkupList(), MainServer::HandleCutMapQuery(), CommBreakMap::LoadMap(), and V2FillCommBreak().
| bool ProgramInfo::QueryCutList | ( | frm_dir_map_t & | delMap, |
| bool | loadAutosave = false |
||
| ) | const |
Definition at line 3497 of file programinfo.cpp.
Referenced by getCutFrames(), GetMarkupList(), MainServer::HandleCutMapQuery(), DeleteMap::IsSaved(), DeleteMap::LoadAutoSaveMap(), ThumbFinder::loadCutList(), DeleteMap::LoadMap(), main(), Transcode::TranscodeFile(), and V2FillCutList().
| bool ProgramInfo::QueryDurationKeyFrame | ( | uint64_t * | keyframe, |
| uint64_t | duration, | ||
| bool | backwards | ||
| ) | const |
Definition at line 4251 of file programinfo.cpp.
Referenced by V2Dvr::SetLastPlayPos(), and V2Dvr::SetSavedBookmark().
| QStringList ProgramInfo::QueryDVDBookmark | ( | const QString & | serialid | ) | const |
Queries "dvdbookmark" table for bookmarking DVD serial number.
Deletes old dvd bookmarks if "delbookmark" is set.
Definition at line 2920 of file programinfo.cpp.
Referenced by MythDVDPlayer::GetBookmark().
| QString ProgramInfo::QueryInputDisplayName | ( | void | ) | const |
|
static |
Definition at line 5591 of file programinfo.cpp.
Referenced by LookerUpper::CopyRuleInetrefsToRecordings(), V2Dvr::GetRecordedList(), LookerUpper::HandleAllArtwork(), LookerUpper::HandleAllRecordings(), and MainServer::HandleQueryRecordings().
Returns true iff this is a recording, it is not in use (except by the recorder), and at most one player iff one_playback_allowed is set.
| one_playback_allowed | iff true still returns true if there is one playback in progress and all other checks pass. |
Definition at line 3295 of file programinfo.cpp.
Referenced by TV::IsDeleteAllowed(), PlaybackBox::PlaylistDelete(), PlaybackBox::RemoveProgram(), and TV::ShowOSDPromptDeleteRecording().
| bool ProgramInfo::QueryIsEditing | ( | void | ) | const |
Queries "recorded" table for its "editing" field and returns true if it is set to true.
Definition at line 3136 of file programinfo.cpp.
Referenced by DeleteMap::IsFileEditing(), TV::StartProgramEditMode(), and Transcode::TranscodeFile().
| bool ProgramInfo::QueryIsInUse | ( | QString & | byWho | ) | const |
Returns true if Program is in use.
This is determined by the inuseprograms table which is updated automatically by NuppelVideoPlayer.
Definition at line 3278 of file programinfo.cpp.
| bool ProgramInfo::QueryIsInUse | ( | QStringList & | byWho | ) | const |
Returns true if Program is in use.
This is determined by the inuseprograms table which is updated automatically by NuppelVideoPlayer.
Definition at line 3215 of file programinfo.cpp.
Referenced by QueryIsDeleteCandidate(), QueryIsInUse(), PlaybackBox::ShowAvailabilityPopup(), TV::ShowOSDPromptDeleteRecording(), and ProgramInfoCache::UpdateFileSize().
|
static |
Definition at line 5627 of file programinfo.cpp.
Referenced by LookerUpper::CopyRuleInetrefsToRecordings(), V2Dvr::GetRecordedList(), LookerUpper::HandleAllArtwork(), LookerUpper::HandleAllRecordings(), and MainServer::HandleQueryRecordings().
| bool ProgramInfo::QueryKeyFrameDuration | ( | uint64_t * | duration, |
| uint64_t | keyframe, | ||
| bool | backwards | ||
| ) | const |
Definition at line 4260 of file programinfo.cpp.
Referenced by V2Dvr::GetLastPlayPos(), V2Dvr::GetSavedBookmark(), V2FillCommBreak(), and V2FillCutList().
| bool ProgramInfo::QueryKeyFrameInfo | ( | uint64_t * | result, |
| uint64_t | position_or_keyframe, | ||
| bool | backwards, | ||
| MarkTypes | type, | ||
| const char * | from_filemarkup_asc, | ||
| const char * | from_filemarkup_desc, | ||
| const char * | from_recordedseek_asc, | ||
| const char * | from_recordedseek_desc | ||
| ) | const |
Definition at line 4154 of file programinfo.cpp.
Referenced by QueryDurationKeyFrame(), QueryKeyFrameDuration(), QueryKeyFramePosition(), and QueryPositionKeyFrame().
| bool ProgramInfo::QueryKeyFramePosition | ( | uint64_t * | position, |
| uint64_t | keyframe, | ||
| bool | backwards | ||
| ) | const |
Definition at line 4242 of file programinfo.cpp.
Referenced by V2Dvr::GetLastPlayPos(), V2Dvr::GetSavedBookmark(), V2FillCommBreak(), and V2FillCutList().
|
static |
Definition at line 1218 of file programinfo.cpp.
Referenced by ProgramInfo().
| uint64_t ProgramInfo::QueryLastFrameInPosMap | ( | void | ) | const |
Returns last frame in position map or 0.
Definition at line 1926 of file programinfo.cpp.
Referenced by GetMarkupList().
| uint64_t ProgramInfo::QueryLastPlayPos | ( | void | ) | const |
Gets any lastplaypos position in database, unless the ignore lastplaypos flag is set.
Definition at line 2853 of file programinfo.cpp.
Referenced by V2Video::GetLastPlayPos(), V2Dvr::GetLastPlayPos(), QueryStartMark(), and ProgramInfoCache::UpdateFileSize().
| void ProgramInfo::QueryMarkup | ( | QVector< MarkupEntry > & | mapMark, |
| QVector< MarkupEntry > & | mapSeek | ||
| ) | const |
Definition at line 4710 of file programinfo.cpp.
Referenced by GetMarkup(), and V2Dvr::GetRecordedMarkup().
Returns true iff the speficied mark type is set on frame 0.
Definition at line 3788 of file programinfo.cpp.
Referenced by Transcode::TranscodeFile().
|
staticprotected |
Definition at line 3713 of file programinfo.cpp.
| void ProgramInfo::QueryMarkupMap | ( | frm_dir_map_t & | marks, |
| MarkTypes | type, | ||
| bool | merge = false |
||
| ) | const |
Definition at line 3696 of file programinfo.cpp.
Referenced by QueryBookmark(), QueryCommBreakList(), QueryCutList(), QueryLastPlayPos(), QueryMarkupFlag(), QueryMarkupMap(), QueryProgStart(), V2FillCommBreak(), and V2FillCutList().
|
staticprotected |
Definition at line 3750 of file programinfo.cpp.
| uint ProgramInfo::QueryMplexID | ( | void | ) | const |
Queries multiplex any recording would be made on, zero if unknown.
Definition at line 2677 of file programinfo.cpp.
Referenced by TVRec::StartRecording().
| bool ProgramInfo::QueryPositionKeyFrame | ( | uint64_t * | keyframe, |
| uint64_t | position, | ||
| bool | backwards | ||
| ) | const |
Definition at line 4233 of file programinfo.cpp.
Referenced by V2Dvr::SetLastPlayPos(), and V2Dvr::SetSavedBookmark().
| void ProgramInfo::QueryPositionMap | ( | frm_pos_map_t & | posMap, |
| MarkTypes | type | ||
| ) | const |
Definition at line 3806 of file programinfo.cpp.
Referenced by getFrameCount(), DecoderBase::PosMapFromDb(), QueryLastFrameInPosMap(), and V2FillSeek().
| uint64_t ProgramInfo::QueryProgStart | ( | void | ) | const |
Gets any progstart position in database, unless the ignore progstart flag is set.
Definition at line 2870 of file programinfo.cpp.
Referenced by QueryStartMark().
|
static |
Definition at line 1241 of file programinfo.cpp.
Referenced by V2Dvr::RecordedIdForPathname().
| QString ProgramInfo::QueryRecordingGroup | ( | void | ) | const |
Query recgroup from recorded.
Definition at line 5130 of file programinfo.cpp.
Referenced by TVRec::CheckForRecGroupChange(), and TVRec::FinishedRecording().
|
static |
Definition at line 5113 of file programinfo.cpp.
| uint64_t ProgramInfo::QueryStartMark | ( | void | ) | const |
Definition at line 2881 of file programinfo.cpp.
Referenced by PreviewGenerator::LocalPreviewRun().
| std::chrono::milliseconds ProgramInfo::QueryTotalDuration | ( | void | ) | const |
If present this loads the total duration in milliseconds of the main video stream from recordedmarkup table in the database.
Definition at line 4678 of file programinfo.cpp.
Referenced by UPnpCDSTv::LoadRecordings(), and AvFormatDecoder::OpenFile().
| int64_t ProgramInfo::QueryTotalFrames | ( | void | ) | const |
If present in recording this loads total frames of the main video stream from database's stream markup table.
Definition at line 4695 of file programinfo.cpp.
Referenced by CalculateWatchedProgress(), and TV::PrepareToExitPlayer().
| uint ProgramInfo::QueryTranscoderID | ( | void | ) | const |
Definition at line 5146 of file programinfo.cpp.
Referenced by JobQueue::DoTranscodeThread(), and JobQueue::GetJobCommand().
| TranscodingStatus ProgramInfo::QueryTranscodeStatus | ( | void | ) | const |
Returns the "transcoded" field in "recorded" table.
Definition at line 3330 of file programinfo.cpp.
Referenced by MythPlayerUI::SetWatched().
| bool ProgramInfo::QueryTuningInfo | ( | QString & | channum, |
| QString & | input | ||
| ) | const |
Returns the channel and input needed to record the program.
Definition at line 5414 of file programinfo.cpp.
Referenced by TVRec::IsBusy(), and TVRec::TuningGetChanNum().
| bool ProgramInfo::Reload | ( | void | ) |
Definition at line 2004 of file programinfo.cpp.
Referenced by JobQueue::DoTranscodeThread().
Store aspect ratio of a frame in the recordedmark table.
Definition at line 4273 of file programinfo.cpp.
Referenced by RecorderBase::AspectChange().
| void ProgramInfo::SaveAutoExpire | ( | AutoExpireType | autoExpire, |
| bool | updateDelete = false |
||
| ) |
Set "autoexpire" field in "recorded" table to "autoExpire".
| autoExpire | value to set auto expire field to. |
| updateDelete | iff true, call UpdateLastDelete(true) |
Definition at line 3426 of file programinfo.cpp.
Referenced by V2Dvr::AddRecordedProgram(), TVRec::CreateLiveTVRingBuffer(), MainServer::DoHandleDeleteRecording(), MainServer::DoHandleUndeleteRecording(), PlaybackBox::doPlaylistExpireSetting(), TV::QuickRecord(), TVRec::SwitchLiveTVRingBuffer(), TV::ToggleAutoExpire(), and TVRec::TuningRestartRecorder().
| bool ProgramInfo::SaveBasename | ( | const QString & | basename | ) |
Sets a recording's basename in the database.
Definition at line 2501 of file programinfo.cpp.
Referenced by CompleteJob().
|
static |
Definition at line 3015 of file programinfo.cpp.
Referenced by MythBDPlayer::SetBookmark().
| void ProgramInfo::SaveBookmark | ( | uint64_t | frame | ) |
Clears any existing bookmark in DB and if frame is greater than 0 sets a new bookmark.
Definition at line 2702 of file programinfo.cpp.
Referenced by PlaybackBox::ClearBookmark(), CompleteJob(), MainServer::HandleSetBookmark(), MythPlayerUI::SetBookmark(), V2Video::SetSavedBookmark(), and V2Dvr::SetSavedBookmark().
| void ProgramInfo::SaveCommBreakList | ( | frm_dir_map_t & | frames | ) | const |
Definition at line 3576 of file programinfo.cpp.
Referenced by DoFlagCommercials(), and SetMarkupList().
| void ProgramInfo::SaveCommFlagged | ( | CommFlagStatus | flag | ) |
Set "commflagged" field in "recorded" table to "flag".
| flag | value to set commercial flagging field to. |
Definition at line 3373 of file programinfo.cpp.
Referenced by V2Dvr::AddRecordedProgram(), CompleteJob(), DoFlagCommercials(), LoadFromRecorded(), and TVRec::StartedRecording().
| void ProgramInfo::SaveCutList | ( | frm_dir_map_t & | delMap, |
| bool | isAutoSave = false |
||
| ) | const |
Definition at line 3529 of file programinfo.cpp.
Referenced by CopySkipListToCutList(), DeleteMap::SaveMap(), and SetMarkupList().
| void ProgramInfo::SaveDeletePendingFlag | ( | bool | deleteFlag | ) |
Set "deletepending" field in "recorded" table to "deleteFlag".
| deleteFlag | value to set delete pending field to. |
Definition at line 3187 of file programinfo.cpp.
Referenced by MainServer::DoDeleteThread(), and MainServer::DoHandleDeleteRecording().
|
static |
Definition at line 2953 of file programinfo.cpp.
Referenced by MythDVDPlayer::SetBookmark().
| void ProgramInfo::SaveEditing | ( | bool | edit | ) |
Sets "editing" field in "recorded" table to "edit".
| edit | Editing state to set. |
Definition at line 3162 of file programinfo.cpp.
Referenced by MythPlayerEditorUI::DisableEdit(), MythPlayerEditorUI::EnableEdit(), and TV::HandleOSDAlreadyEditing().
|
virtual |
Sets recording file size in database, and sets "filesize" field.
Reimplemented in RecordingInfo.
Definition at line 6529 of file programinfo.cpp.
Referenced by CompleteJob(), JobQueue::DoTranscodeThread(), RecordingInfo::SaveFilesize(), and UpdateFileSize().
| void ProgramInfo::SaveFrameRate | ( | uint64_t | frame, |
| uint | framerate | ||
| ) |
Store the Frame Rate at frame in the recordedmarkup table.
Definition at line 4310 of file programinfo.cpp.
Referenced by RecorderBase::FrameRateChange().
| void ProgramInfo::SaveInetRef | ( | const QString & | inet | ) |
Definition at line 5071 of file programinfo.cpp.
| void ProgramInfo::SaveLastPlayPos | ( | uint64_t | frame | ) |
TODO Move to RecordingInfo.
Definition at line 2739 of file programinfo.cpp.
Referenced by PlaybackBox::ClearLastPlayPos(), TV::PrepareToExitPlayer(), SavePositionThread::run(), V2Video::SetLastPlayPos(), V2Dvr::SetLastPlayPos(), and MythPlayerUI::SetLastPlayPosition().
| void ProgramInfo::SaveMarkup | ( | const QVector< MarkupEntry > & | mapMark, |
| const QVector< MarkupEntry > & | mapSeek | ||
| ) | const |
Definition at line 4791 of file programinfo.cpp.
Referenced by SetMarkup(), and V2Dvr::SetRecordedMarkup().
| void ProgramInfo::SaveMarkupFlag | ( | MarkTypes | type | ) | const |
Clears the specified flag, then if sets it.
Definition at line 3798 of file programinfo.cpp.
Referenced by DoFlagCommercials(), and DeleteMap::SaveMap().
| void ProgramInfo::SaveMarkupMap | ( | const frm_dir_map_t & | marks, |
| MarkTypes | type = MARK_ALL, |
||
| int64_t | min_frame = -1, |
||
| int64_t | max_frame = -1 |
||
| ) | const |
Definition at line 3630 of file programinfo.cpp.
Referenced by SaveBookmark(), SaveCommBreakList(), SaveCutList(), SaveLastPlayPos(), SaveMarkupFlag(), and RecorderBase::TryWriteProgStartMark().
| void ProgramInfo::SavePositionMap | ( | frm_pos_map_t & | posMap, |
| MarkTypes | type, | ||
| int64_t | min_frame = -1, |
||
| int64_t | max_frame = -1 |
||
| ) | const |
Definition at line 3890 of file programinfo.cpp.
Referenced by UpdatePositionMap().
| void ProgramInfo::SavePositionMapDelta | ( | frm_pos_map_t & | posMap, |
| MarkTypes | type | ||
| ) | const |
Definition at line 4034 of file programinfo.cpp.
Referenced by RecorderBase::SavePositionMap(), and DecoderBase::SavePositionMapDelta().
| void ProgramInfo::SavePreserve | ( | bool | preserveEpisode | ) |
Set "preserve" field in "recorded" table to "preserveEpisode".
| preserveEpisode | value to set preserve field to. |
Definition at line 3399 of file programinfo.cpp.
Referenced by V2Dvr::AddRecordedProgram().
Store the Resolution at frame in the recordedmarkup table.
Definition at line 4486 of file programinfo.cpp.
Referenced by RecorderBase::ResolutionChange().
Definition at line 5047 of file programinfo.cpp.
Referenced by LookerUpper::customEvent().
| void ProgramInfo::SaveTotalDuration | ( | std::chrono::milliseconds | duration | ) |
Store the Total Duration at frame 0 in the recordedmarkup table.
Definition at line 4452 of file programinfo.cpp.
Referenced by RecordingInfo::FinishedRecording(), DecoderBase::SaveTotalDuration(), and RecorderBase::SetDuration().
| void ProgramInfo::SaveTotalFrames | ( | int64_t | frames | ) |
Store the Total Frames at frame 0 in the recordedmarkup table.
Definition at line 4468 of file programinfo.cpp.
Referenced by TV::PrepareToExitPlayer(), DecoderBase::SaveTotalFrames(), and RecorderBase::SetTotalFrames().
| void ProgramInfo::SaveTranscodeStatus | ( | TranscodingStatus | trans | ) |
Set "transcoded" field in "recorded" table to "trans".
| trans | value to set transcoded field to. |
Definition at line 3350 of file programinfo.cpp.
Referenced by JobQueue::DoTranscodeThread().
Definition at line 4980 of file programinfo.cpp.
Referenced by TVRec::FinishedRecording(), RecorderBase::FinishRecording(), RecorderBase::SetRecordingStatus(), and TVRec::TuningSignalCheck().
| void ProgramInfo::SaveVideoScanType | ( | uint64_t | frame, |
| bool | progressive | ||
| ) |
Store the Progressive/Interlaced state in the recordedmarkup table.
Definition at line 4335 of file programinfo.cpp.
Referenced by RecorderBase::VideoScanChange().
| void ProgramInfo::SaveWatched | ( | bool | watchedFlag | ) |
Set "watched" field in recorded/videometadata to "watchedFlag".
Definition at line 3084 of file programinfo.cpp.
Referenced by V2Dvr::AddRecordedProgram(), PlaybackBox::doPlaylistWatchedSetting(), MythPlayerUI::SetWatched(), and V2Dvr::UpdateRecordedWatchedStatus().
| void ProgramInfo::SendAddedEvent | ( | void | ) | const |
Sends event out that the ProgramInfo should be added to lists.
Definition at line 2786 of file programinfo.cpp.
Referenced by RecordingInfo::InsertFile(), and SaveDeletePendingFlag().
| void ProgramInfo::SendDeletedEvent | ( | void | ) | const |
Sends event out that the ProgramInfo should be delete from lists.
Definition at line 2791 of file programinfo.cpp.
Referenced by MainServer::DoHandleDeleteRecording().
| void ProgramInfo::SendUpdateEvent | ( | void | ) | const |
Sends event out that the ProgramInfo should be reloaded.
Definition at line 2780 of file programinfo.cpp.
Referenced by V2Dvr::AddRecordedProgram(), RecordingInfo::ApplyOriginalAirDateChange(), RecordingInfo::ApplyRecordPlayGroupChange(), RecordingInfo::ApplyRecordRecGroupChange(), RecordingInfo::ApplyRecordRecTitleChange(), RecordingInfo::ApplyStarsChange(), RecordingInfo::ApplyStorageGroupChange(), JobQueue::DoFlagCommercialsThread(), JobQueue::DoMetadataLookupThread(), JobQueue::DoUserJobThread(), RecordingInfo::FinishedRecording(), MarkAsInUse(), SaveAutoExpire(), SaveBasename(), SaveBookmark(), SaveCommFlagged(), SaveDeletePendingFlag(), SaveEditing(), SaveInetRef(), SaveLastPlayPos(), SavePreserve(), SaveSeasonEpisode(), SaveTranscodeStatus(), SaveVideoProperties(), SaveWatched(), and RecordingInfo::UpdateRecordingEnd().
| void ProgramInfo::SetAvailableStatus | ( | AvailableStatusType | status, |
| const QString & | where | ||
| ) |
Definition at line 2484 of file programinfo.cpp.
Referenced by PlaybackBox::customEvent(), PlaybackBox::PlaylistDelete(), PlaybackBox::RemoveProgram(), and ProgramInfoCache::UpdateFileSize().
|
inline |
Definition at line 546 of file programinfo.h.
Referenced by ProgramRecPriority::scheduleChanged().
|
inline |
Definition at line 547 of file programinfo.h.
|
inline |
Definition at line 534 of file programinfo.h.
Referenced by TVRec::GetProgramRingBufferForLiveTV(), MainServer::HandleStopRecording(), and UPnpCDSTv::LoadRecordings().
|
inline |
Definition at line 558 of file programinfo.h.
Referenced by PlaybackBox::doJobQueueJob(), DeleteMap::SetFileEditing(), and PlaybackBox::stopPlaylistJobQueueJob().
|
virtual |
Reimplemented in RecordingInfo.
Definition at line 6519 of file programinfo.cpp.
Referenced by PlaybackBox::customEvent(), ViewScheduled::customEvent(), MainServer::HandleFillProgramInfo(), SaveFilesize(), RecordingInfo::SetFilesize(), and ProgramInfoCache::UpdateFileSize().
|
inline |
Definition at line 563 of file programinfo.h.
Referenced by PlaybackBox::doJobQueueJob(), and PlaybackBox::stopPlaylistJobQueueJob().
|
inline |
Definition at line 541 of file programinfo.h.
|
inline |
If "ignore" is true GetBookmark() will return 0, otherwise GetBookmark() will return the bookmark position if it exists.
Definition at line 570 of file programinfo.h.
Referenced by MythPlayerUI::EventStart(), and TV::StartTV().
|
inline |
If "ignore" is true QueryLastPlayPos() will return 0, otherwise QueryLastPlayPos() will return the last playback position if it exists.
Definition at line 585 of file programinfo.h.
Referenced by MythPlayerUI::EventStart(), and TV::StartTV().
|
inline |
If "ignore" is true QueryProgStart() will return 0, otherwise QueryProgStart() will return the progstart position if it exists.
Definition at line 577 of file programinfo.h.
Referenced by MythPlayerUI::EventStart(), PreviewGenerator::LocalPreviewRun(), and TV::StartTV().
|
inline |
Definition at line 552 of file programinfo.h.
Referenced by Scheduler::AssignGroupInput(), TVRec::GetProgramRingBufferForLiveTV(), TVRec::GetRecording(), MainServer::HandleRecorderQuery(), Scheduler::HandleRecording(), MainServer::HandleRemoteEncoder(), TVRec::NotifySchedulerOfRecording(), MainServer::reconnectTimeout(), and TVRec::TuningRestartRecorder().
| void ProgramInfo::SetPathname | ( | const QString & | pn | ) |
Definition at line 2471 of file programinfo.cpp.
Referenced by EncoderLink::CheckFile(), PlaybackSock::CheckFile(), JobQueue::DoFlagCommercialsThread(), Scheduler::FillRecordingDir(), V2Content::GetPreviewImage(), getProgramInfoForFile(), TVRec::GetProgramRingBufferForLiveTV(), MainServer::HandleFillProgramInfo(), MainServer::HandleGenPreviewPixmap(), MainServer::HandlePixmapGetIfModified(), MainServer::HandlePixmapLastModified(), Scheduler::HandleRecording(), LoadProgramFromRecorded(), JobQueue::ProcessJob(), PlaybackBox::processNetworkControlCommand(), ProgramInfo(), RebuildSeekTable(), RemoteCheckFile(), SaveBasename(), and MainServer::TruncateAndClose().
|
inline |
Definition at line 540 of file programinfo.h.
|
inline |
Definition at line 594 of file programinfo.h.
|
inline |
Definition at line 545 of file programinfo.h.
Referenced by PrevRecordedList::DeleteOldSeries(), and ProgLister::DeleteOldSeries().
|
inline |
Definition at line 531 of file programinfo.h.
Referenced by SetPathname().
|
inline |
Definition at line 553 of file programinfo.h.
Referenced by RecordingInfo::AddHistory().
|
inline |
Definition at line 599 of file programinfo.h.
|
inline |
Definition at line 538 of file programinfo.h.
Referenced by Scheduler::ChangeRecordingEnd(), TVRec::FinishedRecording(), TVRec::GetProgramRingBufferForLiveTV(), RecordingInfo::RecordingInfo(), and TVRec::StartRecording().
|
inline |
Definition at line 539 of file programinfo.h.
Referenced by TVRec::CheckForRecGroupChange(), TVRec::FinishedRecording(), TVRec::GetProgramRingBufferForLiveTV(), and TVRec::SetLiveRecording().
|
inlinevirtual |
Reimplemented in RecordingInfo.
Definition at line 590 of file programinfo.h.
Referenced by PlaybackSock::StartRecording(), and TVRec::StartRecording().
|
inline |
Definition at line 548 of file programinfo.h.
Referenced by ProgramRecPriority::scheduleChanged().
|
inline |
Definition at line 549 of file programinfo.h.
Referenced by Scheduler::PruneRedundants().
|
inline |
Definition at line 550 of file programinfo.h.
Referenced by Scheduler::ChangeRecordingEnd(), ProgramRecPriority::scheduleChanged(), and TVRec::StartRecording().
|
inline |
Definition at line 593 of file programinfo.h.
Referenced by Scheduler::ChangeRecordingEnd(), TVRec::NotifySchedulerOfRecording(), ProgramRecPriority::scheduleChanged(), and TVRec::StartRecording().
|
inline |
Definition at line 537 of file programinfo.h.
Referenced by TVRec::GetProgramRingBufferForLiveTV(), Scheduler::HandleRecording(), UPnpCDSTv::LoadRecordings(), PlaybackSock::StartRecording(), and TVRec::StartRecording().
|
inline |
Definition at line 592 of file programinfo.h.
Referenced by V2Dvr::AddRecordedProgram(), RecordingInfo::ApplyNeverRecord(), Scheduler::ChangeRecordingEnd(), MainServer::customEvent(), PlaybackBox::customEvent(), MainServer::DoHandleStopRecording(), TVRec::FinishedRecording(), TVRec::GetRecording(), Scheduler::HandleRecording(), Scheduler::HandleRecordingStatusChange(), TVRec::NotifySchedulerOfRecording(), TVRec::RingBufferChanged(), TVRec::run(), Scheduler::SchedNewFirstPass(), RecorderBase::SetRecordingStatus(), TVRec::TeardownRecorder(), Scheduler::TryAnotherShowing(), TVRec::TuningFrequency(), TVRec::TuningNewRecorder(), TVRec::TuningNewRecorderReal(), TVRec::TuningSignalCheck(), and Scheduler::UpdateRecStatus().
|
inline |
Definition at line 536 of file programinfo.h.
Referenced by RecordingInfo::ApplyNeverRecord(), GuideUpdateProgramRow::fillProgramRowInfosWith(), TVRec::GetProgramRingBufferForLiveTV(), and RecordingInfo::RecordingInfo().
|
inline |
Definition at line 535 of file programinfo.h.
Referenced by RecordingInfo::ApplyNeverRecord().
|
inline |
TODO Move to RecordingInfo.
Definition at line 544 of file programinfo.h.
|
inline |
Definition at line 551 of file programinfo.h.
|
inline |
Definition at line 542 of file programinfo.h.
Referenced by TVRec::GetProgramRingBufferForLiveTV().
| void ProgramInfo::SetSubtitle | ( | const QString & | st, |
| const QString & | sst = nullptr |
||
| ) |
Definition at line 1168 of file programinfo.cpp.
Referenced by ProgramRecPriority::scheduleChanged().
| void ProgramInfo::SetTitle | ( | const QString & | t, |
| const QString & | st = nullptr |
||
| ) |
Definition at line 1161 of file programinfo.cpp.
Referenced by MythBDPlayer::EventStart(), MythDVDPlayer::EventStart(), and ProgramRecPriority::scheduleChanged().
|
inline |
Definition at line 602 of file programinfo.h.
|
virtual |
Subsitute MATCH% type variable names in the given string.
| str | QString to substitute matches in |
Reimplemented in RecordingInfo.
Definition at line 5538 of file programinfo.cpp.
Referenced by JobQueue::GetJobCommand(), and RecordingInfo::SubstituteMatches().
|
static |
Definition at line 1567 of file programinfo.cpp.
Referenced by V2Dvr::AddRecordedProgram().
|
virtual |
Converts ProgramInfo into QString QHash containing each field in ProgramInfo converted into localized strings.
Reimplemented in ProgramRecPriorityInfo.
Definition at line 1590 of file programinfo.cpp.
Referenced by ProgLister::ClearCurrentProgramInfo(), PlayerContext::GetPlayingInfoMap(), ProgLister::HandleVisible(), ScheduleEditor::Load(), TV::QuickRecord(), TVBrowseHelper::run(), SchedEditChild::SetTextFromMaps(), ProgramRecPriorityInfo::ToMap(), ViewScheduled::updateInfo(), ViewScheduleDiff::updateInfo(), GuideGrid::updateInfo(), DeleteMap::UpdateOSD(), IdleScreen::UpdateScreen(), WelcomeDialog::updateScreen(), ViewScheduleDiff::updateUIList(), and ViewScheduled::UpdateUIListItem().
| QString ProgramInfo::toString | ( | Verbosity | v = kLongDescription, |
| const QString & | sep = ":", |
||
| const QString & | grp = "\"" |
||
| ) | const |
Definition at line 1967 of file programinfo.cpp.
Referenced by StatusBox::doAutoExpireList(), JobQueue::DoFlagCommercialsThread(), LiveTVChain::DoGetNextProgram(), MainServer::DoHandleDeleteRecording(), JobQueue::DoMetadataLookupThread(), JobQueue::DoTranscodeThread(), JobQueue::DoUserJobThread(), ScheduleCommon::EditRecording(), extract_subtitle(), PreviewGeneratorQueue::GeneratePreviewImage(), TVRec::GetProgramRingBufferForLiveTV(), GetRecTypeStatus(), MainServer::HandleGenPreviewPixmap(), MainServer::HandlePixmapLastModified(), Scheduler::HandleRecording(), RecordingInfo::InsertProgram(), ProgDetails::loadPage(), TV::ProcessNetworkControlCommand(), SetAvailableStatus(), PlaybackBox::ShowAvailabilityPopup(), ProgLister::ShowOldRecordedMenu(), ViewScheduleDiff::showStatus(), TVRec::StartRecording(), SubstituteMatches(), ToMap(), TuningRequest::toString(), and PlaybackBox::UpdateUIListItem().
| void ProgramInfo::ToStringList | ( | QStringList & | list | ) | const |
Serializes ProgramInfo into a QStringList which can be passed over a socket.
Definition at line 1275 of file programinfo.cpp.
Referenced by PlaybackBoxHelper::CheckAvailability(), PlaybackSock::CheckFile(), PlaybackSock::CheckRecordingActive(), MainServer::customEvent(), PlaybackSock::DeleteRecording(), PlaybackSock::EncoderIsRecording(), PBHEventHandler::event(), PlaybackSock::FillProgramInfo(), PlaybackSock::GenPreviewPixmap(), Scheduler::GetAllScheduled(), PlaybackBoxHelper::GetPreviewImage(), PreviewGeneratorQueue::GetPreviewImage(), MainServer::HandleFillProgramInfo(), MainServer::HandleQueryRecording(), MainServer::HandleRecorderQuery(), MainServer::HandleRemoteEncoder(), TVRec::NotifySchedulerOfRecording(), PlaybackSock::PixmapLastModified(), PlaybackBox::PlayX(), MainServer::reconnectTimeout(), PlaybackSock::RecordPending(), RemoteCheckFile(), RemoteGetConflictList(), RemoteGetExistingRecorder(), RemoteGetPreviewIfModified(), PreviewGenerator::RemotePreviewRun(), RemoteRecordPending(), RemoteStopRecording(), PlaybackSock::StartRecording(), TVRec::StartRecording(), TV::StartTV(), PlaybackBoxHelper::StopRecording(), and PlaybackSock::StopRecording().
Definition at line 5030 of file programinfo.cpp.
Referenced by MythPlayerUI::EventLoop(), FileTransfer::GetFileSize(), BEFileTransfer::GetFileSize(), MythCommFlagPlayer::GetRawVideoFrame(), FileTransfer::Pause(), BEFileTransfer::Pause(), MythCommFlagPlayer::RebuildSeekTable(), FileTransfer::RequestBlock(), BEFileTransfer::RequestBlock(), MythCCExtractorPlayer::run(), TVRec::run(), FileTransfer::Seek(), BEFileTransfer::Seek(), FileTransfer::SetTimeout(), BEFileTransfer::SetTimeout(), FileTransfer::Stop(), BEFileTransfer::Stop(), MythTranscodePlayer::TranscodeGetNextFrame(), MainServer::TruncateAndClose(), FileTransfer::Unpause(), BEFileTransfer::Unpause(), FileTransfer::WriteBlock(), and BEFileTransfer::WriteBlock().
| void ProgramInfo::UpdateLastDelete | ( | bool | setTime | ) | const |
Set or unset the record.last_delete field.
| setTime | to set or clear the time stamp. |
Definition at line 3452 of file programinfo.cpp.
Referenced by MainServer::DoHandleUndeleteRecording(), PlaybackBox::RemoveProgram(), SaveAutoExpire(), SavePreserve(), and SaveWatched().
| void ProgramInfo::UpdateLastPlayTimeStamp | ( | bool | lastplay | ) | const |
Definition at line 2761 of file programinfo.cpp.
Referenced by SaveLastPlayPos().
| void ProgramInfo::UpdateMarkTimeStamp | ( | bool | bookmarked | ) | const |
Definition at line 2720 of file programinfo.cpp.
Referenced by SaveBookmark().
|
inlinestatic |
Definition at line 331 of file programinfo.h.
Referenced by Scheduler::UpdateDuplicates().
|
static |
Definition at line 1572 of file programinfo.cpp.
Referenced by V2Dvr::AddRecordedProgram().
|
friend |
Definition at line 39 of file programinfo.cpp.
|
friend |
Definition at line 76 of file programinfo.h.
|
staticprivate |
Definition at line 79 of file programinfo.h.
|
static |
Definition at line 860 of file programinfo.h.
Referenced by LoadFromRecorded(), and LoadProgramFromRecorded().
|
staticconstexprprotected |
Definition at line 819 of file programinfo.h.
Referenced by clear(), clone(), LoadProgramFromRecorded(), MarkAsInUse(), and ProgramInfo().
|
staticconstexpr |
Definition at line 81 of file programinfo.h.
|
protected |
Definition at line 833 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), GetAudioPropertyNames(), LoadProgramFromRecorded(), operator==(), RecordingInfo::RecordingInfo(), ToMap(), and ToStringList().
|
protected |
Definition at line 849 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), LoadProgramFromRecorded(), and SetAvailableStatus().
|
protected |
Definition at line 846 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), LoadProgramFromRecorded(), operator==(), and ToStringList().
|
protected |
Definition at line 785 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), clear(), clone(), FromStringList(), RecordingInfo::InsertProgram(), LoadProgramFromRecorded(), operator==(), SubstituteMatches(), ToMap(), ProgramRecPriorityInfo::ToMap(), and ToStringList().
|
protected |
Definition at line 807 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), GetCategoryTypeString(), IsDuplicateProgram(), IsGeneric(), IsSameProgram(), LoadProgramFromRecorded(), operator==(), RecordingInfo::RecordingInfo(), ToMap(), and ToStringList().
|
protected |
Definition at line 790 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), RecordingInfo::ApplyOriginalAirDateChange(), RecordingInfo::ApplyRecordPlayGroupChange(), RecordingInfo::ApplyRecordRecGroupChange(), RecordingInfo::ApplyRecordRecID(), RecordingInfo::ApplyRecordRecTitleChange(), RecordingInfo::ApplyStarsChange(), RecordingInfo::ApplyStorageGroupChange(), RecordingInfo::ApplyTranscoderProfileChange(), RecordingInfo::ApplyTranscoderProfileChangeById(), clear(), ClearMarkupMap(), ClearPositionMap(), clone(), RecordingInfo::clone(), CreateRecordBasename(), DiscoverProgramInfoType(), RecordingInfo::FinishedRecording(), RecordingInfo::ForgetHistory(), FromStringList(), GetFilesize(), RecordingInfo::InsertProgram(), IsSameChannel(), IsSameProgramWeakCheck(), IsSameRecording(), LoadProgramFromRecorded(), MarkAsInUse(), operator==(), ProgramInfo(), QueryAutoExpire(), QueryAverageAspectRatio(), QueryAverageFrameRate(), QueryAverageHeight(), QueryAverageScanProgressive(), QueryAverageWidth(), QueryBookmarkTimeStamp(), QueryCategoryType(), QueryIsEditing(), QueryIsInUse(), QueryKeyFrameInfo(), QueryMarkup(), QueryMarkupMap(), QueryMplexID(), QueryPositionMap(), QueryRecordingGroup(), QueryTotalDuration(), QueryTotalFrames(), QueryTranscoderID(), QueryTranscodeStatus(), QueryTuningInfo(), RecordingInfo::RecordingInfo(), Reload(), SaveAspect(), SaveAutoExpire(), SaveCommFlagged(), SaveCutList(), SaveDeletePendingFlag(), SaveEditing(), SaveFilesize(), SaveFrameRate(), SaveInetRef(), SaveMarkup(), SaveMarkupMap(), SavePositionMap(), SavePositionMapDelta(), SavePreserve(), SaveResolution(), SaveSeasonEpisode(), SaveTotalDuration(), SaveTotalFrames(), SaveTranscodeStatus(), SaveVideoProperties(), SaveVideoScanType(), SaveWatched(), SetPathname(), RecordingInfo::StartedRecording(), SubstituteMatches(), ToMap(), ToStringList(), and RecordingInfo::UpdateRecordingEnd().
|
protected |
Definition at line 793 of file programinfo.h.
Referenced by ChannelText(), clear(), clone(), FromStringList(), LoadProgramFromRecorded(), operator==(), ProgramInfo(), RecordingInfo::RecordingInfo(), ToMap(), toString(), ToStringList(), and ProgramRecPriority::UpdateList().
|
protected |
Definition at line 794 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), LoadProgramFromRecorded(), operator==(), ProgramInfo(), RecordingInfo::RecordingInfo(), ToMap(), and ToStringList().
|
protected |
Definition at line 792 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), ChannelText(), clear(), clone(), RecordingInfo::DeleteHistory(), RecordingInfo::ForgetHistory(), FromStringList(), IsSameChannel(), LoadProgramFromRecorded(), operator==(), ProgramInfo(), RecordingInfo::ReactivateRecording(), RecordingInfo::RecordingInfo(), ToMap(), ToStringList(), and ProgramRecPriority::UpdateList().
|
protected |
Definition at line 791 of file programinfo.h.
Referenced by ChannelText(), clear(), clone(), FromStringList(), LoadProgramFromRecorded(), operator==(), ProgramInfo(), RecordingInfo::RecordingInfo(), ToMap(), ToStringList(), and ProgramRecPriority::UpdateList().
|
protected |
Definition at line 780 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), RecordingInfo::ApplyRecordRecTitleChange(), clear(), clone(), RecordingInfo::ForgetHistory(), FromStringList(), RecordingInfo::InsertProgram(), IsDuplicateProgram(), IsGeneric(), IsSameProgram(), LoadProgramFromRecorded(), operator==(), ProgramInfo(), RecordingInfo::SetDupHistory(), SubstituteMatches(), ToMap(), and ToStringList().
|
protected |
Definition at line 786 of file programinfo.h.
Referenced by clear(), clone(), operator==(), ProgramInfo(), and ToMap().
|
protected |
Definition at line 841 of file programinfo.h.
Referenced by clear(), clone(), RecordingInfo::ForgetHistory(), FromStringList(), LoadProgramFromRecorded(), operator==(), ProgramInfo(), RecordingInfo::RecordingInfo(), and ToStringList().
|
protected |
Definition at line 842 of file programinfo.h.
Referenced by clear(), clone(), RecordingInfo::ForgetHistory(), FromStringList(), IsDuplicateProgram(), IsSameProgram(), LoadProgramFromRecorded(), operator==(), ProgramInfo(), RecordingInfo::RecordingInfo(), and ToStringList().
|
protected |
Definition at line 812 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), clear(), clone(), FromStringList(), GetSecondsInRecording(), RecordingInfo::InsertProgram(), IsSameTitleTimeslotAndChannel(), LoadProgramFromRecorded(), operator==(), ProgramInfo(), RecordingInfo::RecordingInfo(), SubstituteMatches(), ToMap(), toString(), and ToStringList().
|
protected |
Definition at line 782 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), clear(), clone(), FromStringList(), RecordingInfo::InsertProgram(), LoadProgramFromRecorded(), operator==(), ProgramInfo(), SubstituteMatches(), ToMap(), and ToStringList().
|
protected |
Definition at line 809 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), GetFilesize(), RecordingInfo::GetFilesize(), LoadProgramFromRecorded(), operator==(), SetFilesize(), ToMap(), and ToStringList().
|
protected |
Definition at line 829 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), clear(), clone(), RecordingInfo::DeleteHistory(), RecordingInfo::ForgetHistory(), FromStringList(), RecordingInfo::InsertProgram(), IsDuplicateProgram(), LoadProgramFromRecorded(), operator==(), ProgramInfo(), RecordingInfo::RecordingInfo(), RecordingInfo::SetDupHistory(), RecordingInfo::SubstituteMatches(), and ToStringList().
|
protected |
Definition at line 801 of file programinfo.h.
Referenced by clear(), clone(), DiscoverRecordingDirectory(), FromStringList(), GetPlaybackURL(), RecordingInfo::InsertProgram(), LoadProgramFromRecorded(), MarkAsInUse(), operator==(), ProgramInfo(), RecordingInfo::RecordingInfo(), RecordingInfo::StartedRecording(), SubstituteMatches(), and ToStringList().
|
protected |
Definition at line 806 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), clear(), clone(), FromStringList(), RecordingInfo::InsertProgram(), LoadProgramFromRecorded(), operator==(), ProgramInfo(), SubstituteMatches(), ToMap(), and ToStringList().
|
protected |
Definition at line 828 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), LoadProgramFromRecorded(), operator==(), ProgramInfo(), QueryTuningInfo(), RecordingInfo::RecordingInfo(), ToMap(), and ToStringList().
|
protected |
Definition at line 845 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), GetShortInputName(), LoadProgramFromRecorded(), operator==(), ProgramInfo(), ToMap(), and ToStringList().
|
protected |
Definition at line 863 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), LoadProgramFromRecorded(), MarkAsInUse(), and UpdateInUseMark().
|
protected |
Definition at line 820 of file programinfo.h.
Referenced by clear(), clone(), LoadProgramFromRecorded(), MarkAsInUse(), operator==(), and UpdateInUseMark().
|
protected |
Definition at line 818 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), LoadProgramFromRecorded(), operator==(), RecordingInfo::RecordingInfo(), ToMap(), and ToStringList().
|
protected |
Definition at line 817 of file programinfo.h.
Referenced by RecordingInfo::ApplyOriginalAirDateChange(), clear(), clone(), FromStringList(), RecordingInfo::InsertProgram(), LoadProgramFromRecorded(), operator==(), ProgramInfo(), RecordingInfo::RecordingInfo(), SubstituteMatches(), ToMap(), and ToStringList().
|
protected |
Definition at line 825 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), RecordingInfo::ApplyRecordRecID(), clear(), clone(), RecordingInfo::DeleteHistory(), RecordingInfo::ForgetHistory(), FromStringList(), RecordingInfo::InsertProgram(), IsDuplicateProgram(), LoadProgramFromRecorded(), operator==(), RecordingInfo::RecordingInfo(), RecordingInfo::SubstituteMatches(), and ToStringList().
|
protected |
Definition at line 836 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), LoadProgramFromRecorded(), operator==(), RecordingInfo::RecordingInfo(), SubstituteMatches(), ToMap(), and ToStringList().
|
protected |
Definition at line 837 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), LoadProgramFromRecorded(), operator==(), RecordingInfo::RecordingInfo(), SubstituteMatches(), ToMap(), and ToStringList().
|
mutableprotected |
Definition at line 799 of file programinfo.h.
Referenced by CalculateWatchedProgress(), clear(), ClearMarkupMap(), ClearPositionMap(), clone(), DiscoverProgramInfoType(), DiscoverRecordingDirectory(), FromStringList(), RecordingInfo::InsertProgram(), RecordingInfo::InsertRecording(), IsFileReadable(), LoadProgramFromRecorded(), MarkAsInUse(), operator==(), QueryKeyFrameInfo(), QueryMarkup(), QueryMarkupMap(), QueryPositionMap(), QueryTotalFrames(), SaveMarkup(), SaveMarkupMap(), SavePositionMap(), SavePositionMapDelta(), SaveTotalDuration(), SaveTotalFrames(), SaveWatched(), SetPathname(), RecordingInfo::StartedRecording(), and ToStringList().
|
protected |
Definition at line 797 of file programinfo.h.
Referenced by RecordingInfo::ApplyRecordPlayGroupChange(), clear(), clone(), FromStringList(), RecordingInfo::InsertProgram(), LoadProgramFromRecorded(), operator==(), SubstituteMatches(), ToMap(), and ToStringList().
|
protected |
Definition at line 864 of file programinfo.h.
Referenced by clear(), ClearPositionMap(), clone(), FromStringList(), LoadProgramFromRecorded(), QueryPositionMap(), SavePositionMap(), and SavePositionMapDelta().
| QDateTime ProgramInfo::m_previewUpdate |
Definition at line 871 of file programinfo.h.
Referenced by ProgramInfoCache::Update(), and ProgramInfoCache::UpdateFileSize().
|
protected |
ProgramFlag.
Definition at line 831 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), GetProgramFlagNames(), LoadProgramFromRecorded(), MarkAsInUse(), operator==(), ProgramFlagsFromNames(), ProgramInfo(), QueryBDBookmark(), QueryBookmark(), QueryDVDBookmark(), QueryIsEditing(), QueryLastPlayPos(), QueryProgStart(), RecordingInfo::RecordingInfo(), SaveAutoExpire(), SaveBookmark(), SaveCommFlagged(), SaveDeletePendingFlag(), SaveEditing(), SaveLastPlayPos(), SavePreserve(), SaveTranscodeStatus(), SaveWatched(), ToMap(), and ToStringList().
|
protected |
Definition at line 805 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), clear(), clone(), RecordingInfo::ForgetHistory(), FromStringList(), RecordingInfo::InsertProgram(), IsDuplicateProgram(), IsGeneric(), IsSameProgram(), LoadProgramFromRecorded(), operator==(), ProgramInfo(), RecordingInfo::SetDupHistory(), ToMap(), and ToStringList().
|
protected |
Definition at line 814 of file programinfo.h.
Referenced by CalculateRecordedProgress(), CalculateWatchedProgress(), clear(), clone(), RecordingInfo::FinishedRecording(), FromStringList(), GetRecTypeStatus(), RecordingInfo::InsertProgram(), LoadProgramFromRecorded(), operator==(), ProgramInfo(), RecordingInfo::RecordingInfo(), SubstituteMatches(), ToMap(), toString(), ToStringList(), and RecordingInfo::UpdateRecordingEnd().
|
protected |
Definition at line 796 of file programinfo.h.
Referenced by RecordingInfo::ApplyRecordRecGroupChange(), clear(), clone(), FromStringList(), RecordingInfo::InsertProgram(), LoadProgramFromRecorded(), operator==(), QueryRecordingGroup(), SubstituteMatches(), ToMap(), and ToStringList().
|
protected |
Definition at line 844 of file programinfo.h.
Referenced by RecordingInfo::ApplyRecordRecGroupChange(), CalculateWatchedProgress(), clear(), clone(), FromStringList(), LoadProgramFromRecorded(), RecordingInfo::LoadRecordingFile(), operator==(), ProgramInfo(), QueryBasename(), SaveBasename(), SaveFilesize(), RecordingInfo::SaveFilesize(), SendAddedEvent(), SendDeletedEvent(), SendUpdateEvent(), RecordingInfo::SetFilesize(), SubstituteMatches(), ToMap(), ToStringList(), UpdateLastPlayTimeStamp(), and UpdateMarkTimeStamp().
|
protected |
Definition at line 850 of file programinfo.h.
Referenced by CalculateRecordedProgress(), and ToMap().
|
protected |
Definition at line 824 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), clear(), clone(), RecordingInfo::DeleteHistory(), RecordingInfo::ForgetHistory(), FromStringList(), RecordingInfo::getRecordID(), RecordingInfo::InsertProgram(), IsDuplicateProgram(), LoadProgramFromRecorded(), operator==(), ProgramInfo(), RecordingInfo::RecordingInfo(), SaveInetRef(), SaveSeasonEpisode(), ToStringList(), and UpdateLastDelete().
|
protected |
Definition at line 788 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), GetRecTypeStatus(), LoadProgramFromRecorded(), operator==(), ProgramInfo(), RecordingInfo::RecordingInfo(), ToMap(), and ToStringList().
|
protected |
Definition at line 822 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), GetRecTypeStatus(), LoadProgramFromRecorded(), operator==(), ToMap(), and ToStringList().
|
protected |
Definition at line 813 of file programinfo.h.
Referenced by RecordingInfo::ApplyOriginalAirDateChange(), RecordingInfo::ApplyRecordPlayGroupChange(), RecordingInfo::ApplyRecordRecGroupChange(), RecordingInfo::ApplyRecordRecID(), RecordingInfo::ApplyRecordRecTitleChange(), RecordingInfo::ApplyStarsChange(), RecordingInfo::ApplyStorageGroupChange(), RecordingInfo::ApplyTranscoderProfileChange(), RecordingInfo::ApplyTranscoderProfileChangeById(), CalculateRecordedProgress(), CalculateWatchedProgress(), clear(), ClearMarkupMap(), ClearPositionMap(), clone(), RecordingInfo::clone(), CreateRecordBasename(), RecordingInfo::DeleteHistory(), RecordingInfo::FinishedRecording(), RecordingInfo::ForgetHistory(), FromStringList(), GetFilesize(), GetSecondsInRecording(), RecordingInfo::InsertProgram(), RecordingInfo::InsertRecording(), IsSameRecording(), LoadProgramFromRecorded(), MarkAsInUse(), operator==(), ProgramInfo(), QueryAutoExpire(), QueryAverageAspectRatio(), QueryAverageFrameRate(), QueryAverageHeight(), QueryAverageScanProgressive(), QueryAverageWidth(), QueryBookmarkTimeStamp(), QueryIsEditing(), QueryIsInUse(), QueryKeyFrameInfo(), QueryMarkup(), QueryMarkupMap(), QueryPositionMap(), QueryRecordingGroup(), QueryTotalDuration(), QueryTotalFrames(), QueryTranscoderID(), QueryTranscodeStatus(), RecordingInfo::RecordingInfo(), Reload(), SaveAspect(), SaveAutoExpire(), SaveCommFlagged(), SaveCutList(), SaveDeletePendingFlag(), SaveEditing(), SaveFilesize(), SaveFrameRate(), SaveInetRef(), SaveMarkup(), SaveMarkupMap(), SavePositionMap(), SavePositionMapDelta(), SavePreserve(), SaveResolution(), SaveSeasonEpisode(), SaveTotalDuration(), SaveTotalFrames(), SaveTranscodeStatus(), SaveVideoScanType(), SaveWatched(), RecordingInfo::StartedRecording(), SubstituteMatches(), ToMap(), toString(), ToStringList(), UpdateLastDelete(), and RecordingInfo::UpdateRecordingEnd().
|
protected |
Definition at line 839 of file programinfo.h.
Referenced by CalculateRecordedProgress(), CalculateWatchedProgress(), clear(), clone(), ProgramRecPriority::FillList(), RecordingInfo::FinishedRecording(), FromStringList(), GetRecTypeStatus(), LoadProgramFromRecorded(), operator==(), ProgramInfo(), RecordingInfo::RecordingInfo(), ProgramRecPriority::scheduleChanged(), RecordingInfo::SubstituteMatches(), ToStringList(), and ProgramRecPriority::UpdateList().
|
protected |
Definition at line 840 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), RecordingInfo::ApplyRecordRecID(), clear(), clone(), FromStringList(), RecordingInfo::InsertProgram(), LoadProgramFromRecorded(), operator==(), ProgramInfo(), RecordingInfo::RecordingInfo(), RecordingInfo::SubstituteMatches(), and ToStringList().
|
protected |
Definition at line 781 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), clear(), clone(), FromStringList(), RecordingInfo::InsertProgram(), LoadProgramFromRecorded(), operator==(), ProgramInfo(), SubstituteMatches(), ToMap(), and ToStringList().
|
protected |
Definition at line 804 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), clear(), clone(), FromStringList(), RecordingInfo::InsertProgram(), LoadProgramFromRecorded(), operator==(), ToMap(), and ToStringList().
|
protected |
Definition at line 779 of file programinfo.h.
Referenced by clear(), clone(), ensureSortFields(), ProgramInfo(), SetSubtitle(), and ToMap().
|
protected |
Definition at line 777 of file programinfo.h.
Referenced by clear(), clone(), ensureSortFields(), ProgramInfo(), SetTitle(), and ToMap().
|
protected |
Definition at line 827 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), LoadProgramFromRecorded(), operator==(), QueryTuningInfo(), RecordingInfo::RecordingInfo(), and ToStringList().
| int8_t ProgramInfo::m_spread {-1} |
Definition at line 857 of file programinfo.h.
Referenced by clear(), clone(), GuideGrid::cursorRight(), GuideUpdateProgramRow::fillProgramRowInfosWith(), FromStringList(), and LoadProgramFromRecorded().
|
protected |
Rating, range [0..1].
Definition at line 816 of file programinfo.h.
Referenced by RecordingInfo::ApplyStarsChange(), clear(), clone(), FromStringList(), RecordingInfo::InsertProgram(), LoadProgramFromRecorded(), operator==(), RecordingInfo::RecordingInfo(), ToMap(), and ToStringList().
| int8_t ProgramInfo::m_startCol {-1} |
Definition at line 858 of file programinfo.h.
Referenced by clear(), clone(), GuideGrid::cursorLeft(), GuideGrid::cursorRight(), GuideUpdateProgramRow::fillProgramRowInfosWith(), FromStringList(), and LoadProgramFromRecorded().
|
protected |
Definition at line 811 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), clear(), clone(), RecordingInfo::clone(), RecordingInfo::ForgetHistory(), FromStringList(), GetSecondsInRecording(), RecordingInfo::InsertProgram(), IsSameProgramAndStartTime(), IsSameProgramWeakCheck(), IsSameTitleStartTimeAndChannel(), IsSameTitleTimeslotAndChannel(), LoadProgramFromRecorded(), operator==(), ProgramInfo(), QueryCategoryType(), RecordingInfo::ReactivateRecording(), RecordingInfo::RecordingInfo(), SaveVideoProperties(), RecordingInfo::StartedRecording(), SubstituteMatches(), ToMap(), toString(), and ToStringList().
|
protected |
Definition at line 802 of file programinfo.h.
Referenced by RecordingInfo::ApplyStorageGroupChange(), clear(), clone(), FromStringList(), GetPlaybackURL(), RecordingInfo::InsertProgram(), LoadProgramFromRecorded(), operator==(), RecordingInfo::RecordingInfo(), ToMap(), and ToStringList().
|
protected |
Definition at line 778 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), RecordingInfo::ApplyRecordRecTitleChange(), clear(), clone(), ensureSortFields(), RecordingInfo::FinishedRecording(), RecordingInfo::ForgetHistory(), FromStringList(), RecordingInfo::InsertProgram(), IsDuplicateProgram(), IsGeneric(), IsSameProgram(), LoadProgramFromRecorded(), operator==(), ProgramInfo(), SaveWatched(), RecordingInfo::SetDupHistory(), SetSubtitle(), SubstituteMatches(), ToMap(), toString(), ToStringList(), and ProgramRecPriority::UpdateList().
|
protected |
Definition at line 834 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), GetSubtitleTypeNames(), LoadProgramFromRecorded(), operator==(), RecordingInfo::RecordingInfo(), ToMap(), and ToStringList().
|
protected |
Definition at line 784 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), LoadProgramFromRecorded(), operator==(), RecordingInfo::RecordingInfo(), SubstituteMatches(), ToMap(), and ToStringList().
|
protected |
Definition at line 776 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), RecordingInfo::ApplyRecordRecTitleChange(), CalculateRecordedProgress(), CalculateWatchedProgress(), clear(), clone(), RecordingInfo::DeleteHistory(), ensureSortFields(), RecordingInfo::FinishedRecording(), RecordingInfo::ForgetHistory(), FromStringList(), RecordingInfo::InsertProgram(), IsDuplicateProgram(), IsSameProgram(), IsSameProgramWeakCheck(), IsSameTitleStartTimeAndChannel(), IsSameTitleTimeslotAndChannel(), LoadProgramFromRecorded(), operator==(), ProgramInfo(), RecordingInfo::ReactivateRecording(), RecordingInfo::RecordingInfo(), SaveWatched(), RecordingInfo::SetDupHistory(), SetTitle(), RecordingInfo::StartedRecording(), SubstituteMatches(), ToMap(), ProgramRecPriorityInfo::ToMap(), toString(), and ToStringList().
|
protected |
Definition at line 783 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), LoadProgramFromRecorded(), operator==(), SubstituteMatches(), ToMap(), and ToStringList().
|
protected |
Definition at line 832 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), GetVideoPropertyNames(), LoadProgramFromRecorded(), operator==(), RecordingInfo::RecordingInfo(), SaveVideoProperties(), ToMap(), and ToStringList().
|
protected |
Definition at line 851 of file programinfo.h.
Referenced by CalculateWatchedProgress(), and ToMap().
|
protected |
Definition at line 835 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), RecordingInfo::InsertProgram(), LoadProgramFromRecorded(), operator==(), ProgramInfo(), RecordingInfo::RecordingInfo(), ToMap(), and ToStringList().
|
staticprotected |
Definition at line 866 of file programinfo.h.
Referenced by InitStatics(), and RecordingInfo::RecordingInfo().
|
staticprotected |
Definition at line 867 of file programinfo.h.
Referenced by InitStatics(), SaveFilesize(), RecordingInfo::SaveFilesize(), SendAddedEvent(), SendDeletedEvent(), SendUpdateEvent(), and RecordingInfo::SetFilesize().
Definition at line 868 of file programinfo.h.
Referenced by CheckProgramIDAuthorities(), IsDuplicateProgram(), and IsSameProgram().