|
MythTV
0.27pre
|
Holds information on recordings and videos. More...
#include <programinfo.h>


Public Types | |
| enum | CategoryType { kCategoryNone, kCategoryMovie, kCategorySeries, kCategorySports, kCategoryTVShow } |
| enum | Verbosity { kLongDescription, kTitleSubtitle, kRecordingKey, kSchedulingKey } |
Public Member Functions | |
| ProgramInfo (void) | |
| Null constructor. | |
| ProgramInfo (const ProgramInfo &other) | |
| Copy constructor. | |
| ProgramInfo (uint chanid, const QDateTime &recstartts) | |
| Constructs a ProgramInfo from data in 'recorded' table. | |
| ProgramInfo (const QString &title, const QString &subtitle, const QString &description, uint season, uint episode, const QString &syndicatedepisode, const QString &category, uint chanid, const QString &channum, const QString &chansign, const QString &channame, const QString &chanplaybackfilters, const QString &recgroup, const QString &playgroup, const QString &pathname, const QString &hostname, const QString &storagegroup, const QString &seriesid, const QString &programid, const QString &inetref, int recpriority, uint64_t filesize, const QDateTime &startts, const QDateTime &endts, const QDateTime &recstartts, const QDateTime &recendts, float stars, uint year, uint partnumber, uint parttotal, const QDate &originalAirDate, const QDateTime &lastmodified, RecStatusType recstatus, uint recordid, RecordingDupInType dupin, RecordingDupMethodType dupmethod, uint findid, uint programflags, uint audioproperties, uint videoproperties, uint subtitleType) | |
| Constructs a ProgramInfo from data in 'recorded' table. | |
| ProgramInfo (const QString &title, const QString &subtitle, const QString &description, uint season, uint episode, const QString &category, uint chanid, const QString &channum, const QString &chansign, const QString &channame, const QString &seriesid, const QString &programid, const QString &inetref, const QDateTime &startts, const QDateTime &endts, const QDateTime &recstartts, const QDateTime &recendts, RecStatusType recstatus, uint recordid, RecordingType rectype, uint findid, bool duplicate) | |
| Constructs a ProgramInfo from data in 'oldrecorded' table. | |
| ProgramInfo (const QString &title, const QString &subtitle, const QString &description, const QString &syndicatedepisode, const QString &category, uint chanid, const QString &channum, const QString &chansign, const QString &channame, const QString &chanplaybackfilters, const QDateTime &startts, const QDateTime &endts, const QDateTime &recstartts, const QDateTime &recendts, const QString &seriesid, const QString &programid, const CategoryType catType, float stars, uint year, uint partnumber, uint parttotal, const QDate &originalAirDate, RecStatusType recstatus, uint recordid, RecordingType rectype, uint findid, bool commfree, bool repeat, uint videoprops, uint audioprops, uint subtitletype, const ProgramList &schedList) | |
| Constructs a ProgramInfo from listings data in 'program' table. | |
| ProgramInfo (const QString &title, const QString &subtitle, const QString &description, uint season, uint episode, const QString &category, uint chanid, const QString &channum, const QString &chansign, const QString &channame, const QString &chanplaybackfilters, const QString &recgroup, const QString &playgroup, const QDateTime &startts, const QDateTime &endts, const QDateTime &recstartts, const QDateTime &recendts, const QString &seriesid, const QString &programid, const QString &inetref) | |
| Constructs a basic ProgramInfo (used by RecordingInfo) | |
| ProgramInfo (const QString &pathname) | |
| Constructs a ProgramInfo for a pathname. | |
| ProgramInfo (const QString &pathname, const QString &plot, const QString &title, const QString &subtitle, const QString &director, int season, int episode, const QString &inetref, uint length_in_minutes, uint year, const QString &programid) | |
| Constructs a ProgramInfo for a video. | |
| ProgramInfo (const QString &_title, uint _chanid, const QDateTime &_startts, const QDateTime &_endts) | |
| Constructs a manual record ProgramInfo. | |
| ProgramInfo (const QString &_title, const QString &_category, const QDateTime &_startts, const QDateTime &_endts) | |
| Constructs a Dummy ProgramInfo (used by GuideGrid) | |
| ProgramInfo (QStringList::const_iterator &it, QStringList::const_iterator end) | |
| ProgramInfo (const QStringList &list) | |
| ProgramInfo & | operator= (const ProgramInfo &other) |
| Copies important fields from other ProgramInfo. | |
| virtual void | clone (const ProgramInfo &other, bool ignore_non_serialized_data=false) |
| Copies important fields from other ProgramInfo. | |
| virtual void | clear (void) |
| virtual | ~ProgramInfo () |
| Destructor deletes "record" if it exists. | |
| void | ToStringList (QStringList &list) const |
| Serializes ProgramInfo into a QStringList which can be passed over a socket. | |
| virtual void | ToMap (QHash< QString, QString > &progMap, bool showrerecord=false, uint star_range=10) const |
| Converts ProgramInfo into QString QHash containing each field in ProgramInfo converted into localized strings. | |
| virtual void | SubstituteMatches (QString &str) |
| Subsitute MATCH% type variable names in the given string. | |
| bool | IsSameProgram (const ProgramInfo &other) const |
| Checks for duplicates according to dupmethod. | |
| bool | IsSameTimeslot (const ProgramInfo &other) const |
| Checks chanid, start/end times for equality. | |
| bool | IsSameProgramTimeslot (const ProgramInfo &other) const |
| Checks chanid or chansign, start/end times, cardid, inputid for fully inclusive overlap. | |
| bool | IsSameProgramWeakCheck (const ProgramInfo &other) const |
| Checks for duplicate using only title, chanid and startts. | |
| bool | IsSameRecording (const ProgramInfo &other) const |
| QString | MakeUniqueKey (void) const |
| Creates a unique string that can be used to identify an existing recording. | |
| uint | GetSecondsInRecording (void) const |
| Returns length of program/recording in seconds. | |
| QString | ChannelText (const QString &) const |
| Returns channel info using "format". | |
| 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) const |
| Attempts to ascertain if the main file for this ProgramInfo is readable. | |
| QString | GetTitle (void) const |
| QString | GetSubtitle (void) const |
| QString | GetDescription (void) const |
| uint | GetSeason (void) const |
| uint | GetEpisode (void) const |
| QString | GetCategory (void) const |
| uint | GetChanID (void) const |
| This is the unique key used in the database to locate tuning information. | |
| QString | GetChanNum (void) const |
| This is the channel "number", in the form 1, 1_2, 1-2, 1#1, etc. | |
| QString | GetChannelSchedulingID (void) const |
| This is the unique programming identifier of a channel. | |
| QString | GetChannelName (void) const |
| This is the channel name in the local market, i.e. | |
| QString | GetChannelPlaybackFilters (void) const |
| QDateTime | GetScheduledStartTime (void) const |
| The scheduled start time of program. | |
| QString | GetScheduledStartTime (MythDate::Format fmt) const |
| The scheduled start time of program (with formatting). | |
| QDateTime | GetScheduledEndTime (void) const |
| The scheduled end time of the program. | |
| QString | GetScheduledEndTime (MythDate::Format fmt) const |
| The scheduled end time of the program (with formatting). | |
| QDateTime | GetRecordingStartTime (void) const |
| Approximate time the recording started. | |
| QString | GetRecordingStartTime (MythDate::Format fmt) const |
| Approximate time the recording started (with formatting). | |
| QDateTime | GetRecordingEndTime (void) const |
| Approximate time the recording should have ended, did end, or is intended to end. | |
| QString | GetRecordingEndTime (MythDate::Format fmt) const |
| Approximate time the recording should have ended, did end, or is intended to end (with formatting). | |
| 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 |
| 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. | |
| int | GetRecordingPriority (void) const |
| int | GetRecordingPriority2 (void) const |
| float | GetStars (void) const |
| uint | GetStars (uint range_max) const |
| RecStatusType | GetRecordingStatus (void) const |
| RecStatusType | GetOldRecordingStatus (void) const |
| uint | GetPreferedInputID (void) const |
| uint | GetRecordingRuleID (void) const |
| uint | GetParentRecordingRuleID (void) const |
| RecordingType | GetRecordingRuleType (void) const |
| RecordingDupInType | GetDuplicateCheckSource (void) const |
| Where should we check for duplicates? | |
| RecordingDupMethodType | GetDuplicateCheckMethod (void) const |
| What should be compared to determine if two programs are the same? | |
| uint | GetSourceID (void) const |
| uint | GetInputID (void) const |
| uint | GetCardID (void) const |
| uint | GetFindID (void) const |
| uint32_t | GetProgramFlags (void) const |
| ProgramInfoType | GetProgramInfoType (void) const |
| bool | IsGeneric (void) const |
| bool | IsInUsePlaying (void) const |
| bool | IsCommercialFree (void) const |
| bool | HasCutlist (void) const |
| bool | IsBookmarkSet (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 |
| uint | GetVideoProperties (void) const |
| uint | GetAudioProperties (void) const |
| QString | toString (Verbosity v=kLongDescription, QString sep=":", QString grp="\"") const |
| void | SetTitle (const QString &t) |
| void | SetProgramInfoType (ProgramInfoType t) |
| void | SetPathname (const QString &) const |
| 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) |
| void | SetFilesize (uint64_t sz) |
| void | SetSeriesID (const QString &id) |
| 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 | SetCardID (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. | |
| void | SetRecordingStatus (RecStatusType status) |
| void | SetRecordingRuleType (RecordingType type) |
| void | SetPositionMapDBReplacement (PMapDBReplacement *pmap) |
| QString | QueryBasename (void) const |
| Gets the basename, from the DB if necessary. | |
| uint64_t | QueryFilesize (void) const |
| Gets recording file size from database. | |
| uint | QueryMplexID (void) const |
| Queries multiplex any recording would be made on, zero if unknown. | |
| QDateTime | QueryBookmarkTimeStamp (void) const |
| Queries Latest bookmark timestamp from the database. | |
| uint64_t | QueryBookmark (void) const |
| Gets any bookmark position in database, unless the ignore bookmark flag is set. | |
| CategoryType | QueryCategoryType (void) const |
| Queries recordedprogram to get the category_type of the recording. | |
| QStringList | QueryDVDBookmark (const QString &serialid) const |
| Queries "dvdbookmark" table for bookmarking DVD serial number. | |
| bool | QueryIsEditing (void) const |
| Queries "recorded" table for its "editing" field and returns true if it is set to true. | |
| bool | QueryIsInUse (QStringList &byWho) const |
| Returns true if Program is in use. | |
| bool | QueryIsInUse (QString &byWho) const |
| Returns true if Program is in use. | |
| bool | QueryIsDeleteCandidate (bool one_player_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. | |
| AutoExpireType | QueryAutoExpire (void) const |
| Returns "autoexpire" field from "recorded" table. | |
| TranscodingStatus | QueryTranscodeStatus (void) const |
| Returns the "transcoded" field in "recorded" table. | |
| bool | QueryTuningInfo (QString &channum, QString &input) const |
| Returns the channel and input needed to record the program. | |
| QString | QueryInputDisplayName (void) const |
| Returns the display name of the card input for this program. | |
| uint | QueryAverageWidth (void) const |
| If present in recording this loads average width of the main video stream from database's stream markup table. | |
| uint | QueryAverageHeight (void) const |
| If present in recording this loads average height of the main video stream from database's stream markup table. | |
| uint | QueryAverageFrameRate (void) const |
| If present in recording this loads average frame rate of the main video stream from database's stream markup table. | |
| MarkTypes | QueryAverageAspectRatio (void) const |
| int64_t | QueryTotalDuration (void) const |
| If present in recording this loads total duration of the main video stream from database's stream markup table. | |
| int64_t | QueryTotalFrames (void) const |
| If present in recording this loads total frames of the main video stream from database's stream markup table. | |
| QString | QueryRecordingGroup (void) const |
| Query recgroup from recorded. | |
| bool | QueryMarkupFlag (MarkTypes type) const |
| Returns true iff the speficied mark type is set on frame 0. | |
| uint | QueryTranscoderID (void) const |
| uint64_t | QueryLastFrameInPosMap (void) const |
| Returns last frame in position map or 0. | |
| bool | Reload (void) |
| void | SaveFilesize (uint64_t fsize) |
| Sets recording file size in database, and sets "filesize" field. | |
| void | SaveBookmark (uint64_t frame) |
| Clears any existing bookmark in DB and if frame is greater than 0 sets a new bookmark. | |
| void | SaveDVDBookmark (const QStringList &fields) const |
| void | SaveEditing (bool edit) |
| Sets "editing" field in "recorded" table to "edit". | |
| void | SaveTranscodeStatus (TranscodingStatus transFlag) |
| Set "transcoded" field in "recorded" table to "trans". | |
| void | SaveWatched (bool watchedFlag) |
| Set "watched" field in recorded/videometadata to "watchedFlag". | |
| void | SaveDeletePendingFlag (bool deleteFlag) |
| Set "deletepending" field in "recorded" table to "deleteFlag". | |
| void | SaveCommFlagged (CommFlagStatus flag) |
| Set "commflagged" field in "recorded" table to "flag". | |
| void | SaveAutoExpire (AutoExpireType autoExpire, bool updateDelete=false) |
| Set "autoexpire" field in "recorded" table to "autoExpire". | |
| void | SavePreserve (bool preserveEpisode) |
| Set "preserve" field in "recorded" table to "preserveEpisode". | |
| bool | SaveBasename (const QString &basename) |
| Sets a recording's basename in the database. | |
| void | SaveAspect (uint64_t frame, MarkTypes type, uint customAspect) |
| Store aspect ratio of a frame in the recordedmark table. | |
| void | SaveResolution (uint64_t frame, uint width, uint height) |
| Store the Resolution at frame in the recordedmarkup table. | |
| void | SaveFrameRate (uint64_t frame, uint framerate) |
| Store the Frame Rate at frame in the recordedmarkup table. | |
| void | SaveTotalDuration (int64_t duration) |
| Store the Total Duration at frame 0 in the recordedmarkup table. | |
| void | SaveTotalFrames (int64_t frames) |
| Store the Total Frames at frame 0 in the recordedmarkup table. | |
| void | SaveVideoProperties (uint mask, uint video_property_flags) |
| void | SaveMarkupFlag (MarkTypes type) const |
| Clears the specified flag, then if sets it. | |
| void | ClearMarkupFlag (MarkTypes type) const |
| void | UpdateLastDelete (bool setTime) const |
| Set or unset the record.last_delete field. | |
| void | MarkAsInUse (bool inuse, QString usedFor="") |
| Tracks a recording's in use status, to prevent deletion and to allow the storage scheduler to perform IO load balancing. | |
| void | UpdateInUseMark (bool force=false) |
| void | SaveSeasonEpisode (uint seas, uint ep) |
| void | SaveInetRef (const QString &inet) |
| QString | DiscoverRecordingDirectory (void) const |
| QString | GetPlaybackURL (bool checkMaster=false, bool forceCheckLocal=false) const |
| Returns filename or URL to be used to play back this recording. | |
| ProgramInfoType | DiscoverProgramInfoType (void) const |
| bool | QueryCutList (frm_dir_map_t &, bool loadAutosave=false) const |
| void | SaveCutList (frm_dir_map_t &, bool isAutoSave=false) const |
| void | QueryCommBreakList (frm_dir_map_t &) const |
| void | SaveCommBreakList (frm_dir_map_t &) const |
| void | QueryPositionMap (frm_pos_map_t &, MarkTypes type) const |
| void | ClearPositionMap (MarkTypes type) const |
| void | SavePositionMap (frm_pos_map_t &, MarkTypes type, int64_t min_frm=-1, int64_t max_frm=-1) const |
| void | SavePositionMapDelta (frm_pos_map_t &, MarkTypes type) const |
| void | SendUpdateEvent (void) |
| Sends event out that the ProgramInfo should be reloaded. | |
| void | SendAddedEvent (void) const |
| Sends event out that the ProgramInfo should be added to lists. | |
| void | SendDeletedEvent (void) const |
| Sends event out that the ProgramInfo should be delete from lists. | |
| void | SetAvailableStatus (AvailableStatusType status, const QString &where) |
| AvailableStatusType | GetAvailableStatus (void) const |
Static Public Member Functions | |
| static bool | UsingProgramIDAuthority (void) |
| static void | CheckProgramIDAuthorities (void) |
| static QString | i18n (const QString &) |
| Translations for play,recording, & storage groups +. | |
| static QString | MakeUniqueKey (uint chanid, const QDateTime &recstartts) |
| Creates a unique string that can be used to identify a recording. | |
| static bool | ExtractKey (const QString &uniquekey, uint &chanid, QDateTime &recstartts) |
| Extracts chanid and recstartts from a unique key generated by MakeUniqueKey(). | |
| static bool | ExtractKeyFromPathname (const QString &pathname, uint &chanid, QDateTime &recstartts) |
| static bool | QueryKeyFromPathname (const QString &pathname, uint &chanid, QDateTime &recstartts) |
| 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 &altTable, int recordid) |
Public Attributes | |
| int8_t | spread |
| int8_t | startCol |
| QString | sortTitle |
Static Public Attributes | |
| static const QString | kFromRecordedQuery |
Protected Member Functions | |
| void | QueryMarkupMap (frm_dir_map_t &, MarkTypes type, bool merge=false) const |
| void | SaveMarkupMap (const frm_dir_map_t &, MarkTypes type=MARK_ALL, int64_t min_frm=-1, int64_t max_frm=-1) const |
| void | ClearMarkupMap (MarkTypes type=MARK_ALL, int64_t min_frm=-1, int64_t max_frm=-1) const |
| QString | CreateRecordBasename (const QString &ext) const |
| Returns a filename for a recording based on the recording channel and date. | |
| bool | LoadProgramFromRecorded (const uint chanid, const QDateTime &recstarttime) |
| Loads ProgramInfo for an existing recording. | |
| bool | FromStringList (QStringList::const_iterator &it, QStringList::const_iterator end) |
| Uses a QStringList to initialize this ProgramInfo instance. | |
Static Protected Member Functions | |
| static void | QueryMarkupMap (const QString &video_pathname, frm_dir_map_t &, MarkTypes type, bool merge=false) |
| static void | QueryMarkupMap (uint chanid, const QDateTime &recstartts, frm_dir_map_t &, MarkTypes type, bool merge=false) |
| static int | InitStatics (void) |
Static Protected Attributes | |
| static QMutex | staticDataLock |
| static ProgramInfoUpdater * | updater |
| static bool | usingProgIDAuth = true |
Friends | |
| 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 72 of file programinfo.h.
| Enumerator | |
|---|---|
| kCategoryNone | |
| kCategoryMovie | |
| kCategorySeries | |
| kCategorySports | |
| kCategoryTVShow | |
Definition at line 76 of file programinfo.h.
| Enumerator | |
|---|---|
| kLongDescription | |
| kTitleSubtitle | |
| kRecordingKey | |
| kSchedulingKey | |
Definition at line 465 of file programinfo.h.
| ProgramInfo::ProgramInfo | ( | void | ) |
Null constructor.
Constructs a Dummy ProgramInfo (used by GuideGrid)
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 112 of file programinfo.cpp.
Referenced by GetNextRecordingList(), LoadFromOldRecorded(), LoadFromProgram(), and LoadFromRecorded().
| ProgramInfo::ProgramInfo | ( | const ProgramInfo & | other | ) |
Copy constructor.
Definition at line 194 of file programinfo.cpp.
| ProgramInfo::ProgramInfo | ( | uint | chanid, |
| const QDateTime & | recstartts | ||
| ) |
Constructs a ProgramInfo from data in 'recorded' table.
Definition at line 274 of file programinfo.cpp.
| ProgramInfo::ProgramInfo | ( | const QString & | title, |
| const QString & | subtitle, | ||
| const QString & | description, | ||
| uint | season, | ||
| uint | episode, | ||
| const QString & | syndicatedepisode, | ||
| const QString & | category, | ||
| uint | chanid, | ||
| const QString & | channum, | ||
| const QString & | chansign, | ||
| const QString & | channame, | ||
| const QString & | chanplaybackfilters, | ||
| const QString & | recgroup, | ||
| const QString & | playgroup, | ||
| const QString & | pathname, | ||
| const QString & | hostname, | ||
| const QString & | storagegroup, | ||
| const QString & | seriesid, | ||
| const QString & | programid, | ||
| const QString & | inetref, | ||
| int | recpriority, | ||
| uint64_t | filesize, | ||
| const QDateTime & | startts, | ||
| const QDateTime & | endts, | ||
| const QDateTime & | recstartts, | ||
| const QDateTime & | recendts, | ||
| float | stars, | ||
| uint | year, | ||
| uint | partnumber, | ||
| uint | parttotal, | ||
| const QDate & | originalAirDate, | ||
| const QDateTime & | lastmodified, | ||
| RecStatusType | recstatus, | ||
| uint | recordid, | ||
| RecordingDupInType | dupin, | ||
| RecordingDupMethodType | dupmethod, | ||
| uint | findid, | ||
| uint | programflags, | ||
| uint | audioproperties, | ||
| uint | videoproperties, | ||
| uint | subtitleType | ||
| ) |
Constructs a ProgramInfo from data in 'recorded' table.
Definition at line 284 of file programinfo.cpp.
| ProgramInfo::ProgramInfo | ( | const QString & | title, |
| const QString & | subtitle, | ||
| const QString & | description, | ||
| uint | season, | ||
| uint | episode, | ||
| const QString & | category, | ||
| uint | chanid, | ||
| const QString & | channum, | ||
| const QString & | chansign, | ||
| const QString & | channame, | ||
| const QString & | seriesid, | ||
| const QString & | programid, | ||
| const QString & | inetref, | ||
| const QDateTime & | startts, | ||
| const QDateTime & | endts, | ||
| const QDateTime & | recstartts, | ||
| const QDateTime & | recendts, | ||
| RecStatusType | recstatus, | ||
| uint | recordid, | ||
| RecordingType | rectype, | ||
| uint | findid, | ||
| bool | duplicate | ||
| ) |
Constructs a ProgramInfo from data in 'oldrecorded' table.
Definition at line 427 of file programinfo.cpp.
| ProgramInfo::ProgramInfo | ( | const QString & | title, |
| const QString & | subtitle, | ||
| const QString & | description, | ||
| const QString & | syndicatedepisode, | ||
| const QString & | category, | ||
| uint | chanid, | ||
| const QString & | channum, | ||
| const QString & | chansign, | ||
| const QString & | channame, | ||
| const QString & | chanplaybackfilters, | ||
| const QDateTime & | startts, | ||
| const QDateTime & | endts, | ||
| const QDateTime & | recstartts, | ||
| const QDateTime & | recendts, | ||
| const QString & | seriesid, | ||
| const QString & | programid, | ||
| const CategoryType | catType, | ||
| float | stars, | ||
| uint | year, | ||
| uint | partnumber, | ||
| uint | parttotal, | ||
| const QDate & | originalAirDate, | ||
| RecStatusType | recstatus, | ||
| uint | recordid, | ||
| RecordingType | rectype, | ||
| uint | findid, | ||
| bool | commfree, | ||
| bool | repeat, | ||
| uint | videoprops, | ||
| uint | audioprops, | ||
| uint | subtitletype, | ||
| const ProgramList & | schedList | ||
| ) |
Constructs a ProgramInfo from listings data in 'program' table.
Definition at line 537 of file programinfo.cpp.
| ProgramInfo::ProgramInfo | ( | const QString & | title, |
| const QString & | subtitle, | ||
| const QString & | description, | ||
| uint | season, | ||
| uint | episode, | ||
| const QString & | category, | ||
| uint | chanid, | ||
| const QString & | channum, | ||
| const QString & | chansign, | ||
| const QString & | channame, | ||
| const QString & | chanplaybackfilters, | ||
| const QString & | recgroup, | ||
| const QString & | playgroup, | ||
| const QDateTime & | startts, | ||
| const QDateTime & | endts, | ||
| const QDateTime & | recstartts, | ||
| const QDateTime & | recendts, | ||
| const QString & | seriesid, | ||
| const QString & | programid, | ||
| const QString & | inetref | ||
| ) |
Constructs a basic ProgramInfo (used by RecordingInfo)
Definition at line 706 of file programinfo.cpp.
| ProgramInfo::ProgramInfo | ( | const QString & | pathname | ) |
Constructs a ProgramInfo for a pathname.
Definition at line 810 of file programinfo.cpp.
| ProgramInfo::ProgramInfo | ( | const QString & | pathname, |
| const QString & | plot, | ||
| const QString & | title, | ||
| const QString & | subtitle, | ||
| const QString & | director, | ||
| int | season, | ||
| int | episode, | ||
| const QString & | inetref, | ||
| uint | length_in_minutes, | ||
| uint | year, | ||
| const QString & | programid | ||
| ) |
Constructs a ProgramInfo for a video.
Definition at line 847 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 902 of file programinfo.cpp.
| ProgramInfo::ProgramInfo | ( | const QString & | _title, |
| const QString & | _category, | ||
| const QDateTime & | _startts, | ||
| const QDateTime & | _endts | ||
| ) |
Constructs a Dummy ProgramInfo (used by GuideGrid)
Definition at line 946 of file programinfo.cpp.
|
inline |
Definition at line 260 of file programinfo.h.
|
inline |
Definition at line 268 of file programinfo.h.
|
virtual |
Destructor deletes "record" if it exists.
Definition at line 1165 of file programinfo.cpp.
| ProgramInfo & ProgramInfo::operator= | ( | const ProgramInfo & | other | ) |
Copies important fields from other ProgramInfo.
Definition at line 962 of file programinfo.cpp.
|
virtual |
Copies important fields from other ProgramInfo.
Reimplemented in RecordingInfo, and ProgramRecPriorityInfo.
Definition at line 969 of file programinfo.cpp.
Referenced by RecordingInfo::clone(), PlaybackSock::FillProgramInfo(), RecordingInfo::operator=(), operator=(), and Reload().
Reimplemented in RecordingInfo, and ProgramRecPriorityInfo.
Definition at line 1082 of file programinfo.cpp.
Referenced by RecordingInfo::clear(), PBHEventHandler::event(), LoadProgramFromRecorded(), ProgramInfo(), and SavePositionMap().
| void ProgramInfo::ToStringList | ( | QStringList & | list | ) | const |
Serializes ProgramInfo into a QStringList which can be passed over a socket.
Definition at line 1252 of file programinfo.cpp.
Referenced by PlaybackBoxHelper::CheckAvailability(), PlaybackSock::CheckFile(), PlaybackSock::CheckRecordingActive(), MainServer::customEvent(), PlaybackSock::DeleteRecording(), PlaybackSock::EncoderIsRecording(), PlaybackSock::FillProgramInfo(), PlaybackSock::GenPreviewPixmap(), Scheduler::GetAllPending(), Scheduler::GetAllScheduled(), Scheduler::getConflicting(), PlaybackBoxHelper::GetPreviewImage(), PreviewGeneratorQueue::GetPreviewImage(), MainServer::HandleQueryRecording(), MainServer::HandleQueryRecordings(), MainServer::HandleRecorderQuery(), MainServer::HandleRemoteEncoder(), TVRec::NotifySchedulerOfRecording(), PlaybackSock::PixmapLastModified(), PlaybackBox::PlayX(), MainServer::reconnectTimeout(), PlaybackSock::RecordPending(), RemoteCheckFile(), RemoteCheckForRecording(), RemoteFillProgramInfo(), RemoteGetConflictList(), RemoteGetExistingRecorder(), RemoteGetPreviewIfModified(), RemoteGetPreviewLastModified(), PreviewGenerator::RemotePreviewRun(), RemoteRecordPending(), RemoteStopRecording(), PlaybackSock::StartRecording(), TVRec::StartRecording(), TV::StartTV(), PlaybackBoxHelper::StopRecording(), and PlaybackSock::StopRecording().
|
virtual |
Converts ProgramInfo into QString QHash containing each field in ProgramInfo converted into localized strings.
Reimplemented in ProgramRecPriorityInfo.
Definition at line 1425 of file programinfo.cpp.
Referenced by ProgLister::ClearCurrentProgramInfo(), ViewScheduled::FillList(), PlayerContext::GetPlayingInfoMap(), ProgLister::HandleSelected(), ProgLister::HandleVisible(), PlaybackBox::ItemLoaded(), ScheduleEditor::Load(), TV::QuickRecord(), TVBrowseHelper::run(), SchedEditChild::SetTextFromMaps(), ProgramRecPriorityInfo::ToMap(), ViewScheduleDiff::updateInfo(), ViewScheduled::updateInfo(), GuideGrid::updateInfo(), DeleteMap::UpdateOSD(), WelcomeDialog::updateScreen(), ViewScheduleDiff::updateUIList(), and PlaybackBox::UpdateUIListItem().
|
virtual |
Subsitute MATCH% type variable names in the given string.
| str | QString to substitute matches in |
Reimplemented in RecordingInfo.
Definition at line 4508 of file programinfo.cpp.
Referenced by JobQueue::GetJobCommand(), MythSystemEventHandler::SubstituteMatches(), and RecordingInfo::SubstituteMatches().
| bool ProgramInfo::IsSameProgram | ( | const ProgramInfo & | other | ) | const |
Checks for duplicates according to dupmethod.
| other | ProgramInfo to compare this one with. |
Definition at line 2017 of file programinfo.cpp.
Referenced by Scheduler::IsSameProgram(), and PlayerContext::IsSameProgram().
| bool ProgramInfo::IsSameTimeslot | ( | const ProgramInfo & | other | ) | const |
Checks chanid, start/end times for equality.
| other | ProgramInfo to compare this one with. |
Definition at line 2085 of file programinfo.cpp.
Referenced by Scheduler::AddNewRecords(), Scheduler::ChangeRecordingEnd(), Scheduler::MarkShowingsList(), ProgramInfo(), Scheduler::PruneOverlaps(), Scheduler::PruneRedundants(), and Scheduler::TryAnotherShowing().
| bool ProgramInfo::IsSameProgramTimeslot | ( | const ProgramInfo & | other | ) | const |
Checks chanid or chansign, start/end times, cardid, inputid for fully inclusive overlap.
| other | ProgramInfo to compare this one with. |
Definition at line 2104 of file programinfo.cpp.
Referenced by Scheduler::AddRecording(), and Scheduler::UpdateRecStatus().
Definition at line 297 of file programinfo.h.
Referenced by Scheduler::UpdateDuplicates().
Definition at line 2118 of file programinfo.cpp.
Referenced by handle_command(), and Scheduler::Scheduler().
| 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 2006 of file programinfo.cpp.
Referenced by TVRec::StartRecording().
|
inline |
Definition at line 305 of file programinfo.h.
Referenced by Scheduler::GetRecStatus(), and EncoderLink::MatchesRecording().
|
inline |
Creates a unique string that can be used to identify an existing recording.
Definition at line 311 of file programinfo.h.
Referenced by Content::AddRecordingLiveStream(), TV::AskAllowRecording(), PlaybackBoxHelper::CheckAvailability(), commDetectorGotNewCommercialBreakList(), TV::customEvent(), DoFlagCommercials(), MythPlayer::EventLoop(), TVRec::FinishedRecording(), PlaybackBoxHelper::GetPreviewImage(), Content::GetPreviewImage(), Content::GetRecording(), RecorderBase::GetRecordingQuality(), LiveTVChain::GetSwitchProgram(), MainServer::HandleGenPreviewPixmap(), TV::HandleStateChange(), Scheduler::HandleWakeSlave(), TVRec::InitAutoRunJobs(), LoadFromRecorded(), PlaybackBoxHelper::LocateArtwork(), MakeUniqueKey(), RecordingInfo::MakeUniqueSchedulerKey(), QueryInUseMap(), QueryJobsRunning(), RecordingQuality::RecordingQuality(), PreviewGenerator::RemotePreviewRun(), PlaybackBox::RemoveProgram(), restore_position(), PreviewGenerator::Run(), PreviewGenerator::RunReal(), save_position(), PreviewGeneratorQueue::SendEvent(), PlaybackBox::SetItemIcons(), PlaybackBox::ShowActionPopup(), TVRec::StartedRecording(), TVRec::SwitchLiveTVRingBuffer(), PlaybackBox::togglePlayListItem(), and PlaybackBox::UpdateUILists().
Returns length of program/recording in seconds.
Definition at line 1730 of file programinfo.cpp.
Referenced by PlayerContext::SetPlayingInfo().
| 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 3961 of file programinfo.cpp.
Referenced by ProgramInfo(), and ToMap().
|
inline |
Definition at line 315 of file programinfo.h.
Referenced by AutoExpire::ExpireRecordings(), FillProgramInfo(), Scheduler::FillRecordingDir(), PreviewGeneratorQueue::GeneratePreviewImage(), get_filename(), GetPlaybackURL(), PlayerContext::GetPlayingInfoMap(), PreviewGeneratorQueue::GetPreviewImage(), TVRec::GetProgramRingBufferForLiveTV(), TV::GetStatus(), MainServer::HandleQueryRecordings(), Scheduler::HandleRecording(), ImportRecorder::Open(), print_comm_flag_output(), TV::QuickRecord(), ImportRecorder::run(), PreviewGenerator::Run(), RunCCExtract(), PreviewGenerator::RunReal(), TVRec::StartedRecording(), TVRec::SwitchRecordingRingBuffer(), RecordingSelector::titleChanged(), and TVRec::TuningNewRecorder().
|
inline |
Definition at line 316 of file programinfo.h.
Referenced by clone(), LiveTVChain::EntryToProgram(), PreviewGeneratorQueue::GeneratePreviewImage(), PlayerContext::GetPlayingInfoMap(), PreviewGeneratorQueue::GetPreviewImage(), MainServer::HandleQueryRecordings(), ProgDetails::loadPage(), LoadProgramFromRecorded(), LookupFromProgramInfo(), MarkAsInUse(), QueryBasename(), TV::QuickRecord(), PreviewGenerator::SaveOutFile(), and SubstituteMatches().
Definition at line 317 of file programinfo.h.
Referenced by PlayerContext::GetPlayingInfoMap(), TV::QuickRecord(), and SaveWatched().
Definition at line 319 of file programinfo.h.
Referenced by GetPlaybackURL(), PlayerContext::GetPlayingInfoMap(), internal_play_media(), TV::QuickRecord(), and PlayerContext::SetInitialTVState().
Definition at line 321 of file programinfo.h.
Referenced by GetPlaybackURL(), PlayerContext::GetPlayingInfoMap(), TV::QuickRecord(), and PlayerContext::SetInitialTVState().
Definition at line 323 of file programinfo.h.
Referenced by EncoderLink::CheckFile(), DiscoverRecordingDirectory(), JobQueue::DoFlagCommercialsThread(), AutoExpire::ExpireRecordings(), TVRec::FinishedRecording(), Content::GetPreviewImage(), MainServer::HandleGenPreviewPixmap(), IsFileReadable(), and RunCCExtract().
Definition at line 328 of file programinfo.h.
Referenced by IsFileReadable().
Definition at line 329 of file programinfo.h.
Referenced by PlaybackBox::Play().
Definition at line 330 of file programinfo.h.
Referenced by PlaybackSock::FillProgramInfo(), PlaybackSock::GetRecording(), MainServer::HandleGenPreviewPixmap(), RemoteFillProgramInfo(), and TV::StartTV().
Attempts to ascertain if the main file for this ProgramInfo is readable.
Definition at line 4032 of file programinfo.cpp.
Referenced by TV::timerEvent().
|
inline |
Definition at line 333 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), Scheduler::AddRecording(), TV::AskAllowRecording(), RecordingRule::AssignProgramInfo(), ScheduledRecording::BuildCheckRequest(), Scheduler::BuildListMaps(), comp_overlap(), comp_redundant(), LookerUpper::CopyRuleInetrefsToRecordings(), RecMetadataEdit::Create(), PlaybackBox::CreateProgramInfoString(), CustomEdit::CustomEdit(), StatusBox::customEvent(), LookerUpper::customEvent(), ProgFinder::customEvent(), ProgramRecPriority::deactivate(), ProgLister::DeleteOldSeries(), GuideGrid::details(), StatusBox::doAutoExpireList(), MainServer::DoHandleDeleteRecording(), StatusBox::doJobQueueStatus(), StatusBox::doTunerStatus(), ProgFinder::edit(), GuideGrid::editRecSchedule(), GuideGrid::editSchedule(), CustomEdit::evaluate(), MythBDPlayer::EventStart(), MythDVDPlayer::EventStart(), AutoExpire::ExpireRecordings(), extract_subtitle(), ProgLister::FillItemList(), TV::FillOSDMenuJumpRec(), TV::FillOSDMenuSource(), FillProgramInfo(), HttpStatus::FillProgramInfo(), GuideGrid::fillProgramRowInfos(), Scheduler::FindNextConflict(), TVRec::FinishedRecording(), FlagCommercials(), Dvr::GetFilteredRecordedList(), ProgFinder::getInfo(), PlayGroup::GetInitialName(), RecordingSelector::getRecordingList(), TV::GetStatus(), LookerUpper::HandleAllArtwork(), LookerUpper::HandleAllRecordingRules(), LookerUpper::HandleAllRecordings(), Scheduler::HandleRecording(), Scheduler::HandleTuning(), ProgLister::HandleVisible(), Scheduler::HandleWakeSlave(), PlaybackBox::ItemLoaded(), GuideGrid::keyPressEvent(), CustomEdit::loadClauses(), CustomPriority::loadData(), ProgDetails::loadPage(), MetadataFactory::Lookup(), LookupFromProgramInfo(), Scheduler::MarkOtherShowings(), RecordingSelector::OKPressed(), TV::Playback(), print_comm_flag_output(), Scheduler::PutInactiveSlavesToSleep(), GuideGrid::quickRecord(), TV::QuickRecord(), RebuildSeekTable(), CustomEdit::recordClicked(), RemoteGetRecordingStatus(), PlaybackBox::saveRecMetadata(), PlayerContext::SetPseudoLiveTV(), ProgLister::ShowDeleteOldEpisodeMenu(), ProgLister::ShowDeleteOldSeriesMenu(), TV::ShowLCDChannelInfo(), TV::ShowOSDPromptDeleteRecording(), ScheduleEditor::showPrevious(), ScheduleCommon::ShowUpcoming(), ScheduleCommon::ShowUpcomingScheduled(), Scheduler::SlaveConnected(), Scheduler::SlaveDisconnected(), TVRec::StartRecording(), TV::timerEvent(), RecordingSelector::titleChanged(), Scheduler::TryAnotherShowing(), TVRec::TuningRestartRecorder(), GuideGrid::upcoming(), RecordingSelector::updateRecordingList(), PlaybackBox::UpdateUIListItem(), and PlaybackBox::UpdateUILists().
|
inline |
Definition at line 334 of file programinfo.h.
Referenced by RecordingRule::AssignProgramInfo(), ScheduledRecording::BuildCheckRequest(), LookerUpper::CopyRuleInetrefsToRecordings(), RecMetadataEdit::Create(), PlaybackBox::CreateProgramInfoString(), LookerUpper::customEvent(), StatusBox::doTunerStatus(), ScheduleCommon::EditRecording(), CustomEdit::evaluate(), extract_subtitle(), ProgLister::FillItemList(), TV::FillOSDMenuJumpRec(), TV::FillOSDMenuSource(), FillProgramInfo(), HttpStatus::FillProgramInfo(), FlagCommercials(), TV::GetStatus(), GuessLookupType(), LookerUpper::HandleAllArtwork(), LookerUpper::HandleAllRecordingRules(), LookerUpper::HandleAllRecordings(), ProgLister::HandleVisible(), CustomEdit::loadClauses(), ProgDetails::loadPage(), MetadataFactory::Lookup(), LookupFromProgramInfo(), RecordingSelector::OKPressed(), TV::Playback(), RebuildSeekTable(), RemoteGetRecordingStatus(), TV::ShowLCDChannelInfo(), TV::ShowOSDPromptDeleteRecording(), RecordingSelector::titleChanged(), ProgramRecPriority::UpdateList(), and RecordingSelector::updateRecordingList().
|
inline |
Definition at line 335 of file programinfo.h.
Referenced by RecordingRule::AssignProgramInfo(), ScheduledRecording::BuildCheckRequest(), RecMetadataEdit::Create(), ScheduleCommon::EditRecording(), CustomEdit::evaluate(), FillProgramInfo(), HttpStatus::FillProgramInfo(), ProgDetails::loadPage(), LookupFromProgramInfo(), RecordingSelector::OKPressed(), ProgLister::ShowOldRecordedMenu(), RecordingSelector::titleChanged(), and RecordingSelector::updateRecordingList().
Definition at line 336 of file programinfo.h.
Referenced by RecordingRule::AssignProgramInfo(), comp_season(), comp_season_rev(), RecMetadataEdit::Create(), CustomEdit::evaluate(), FillProgramInfo(), PlayerContext::GetPlayingInfoMap(), GuessLookupType(), LookerUpper::HandleAllArtwork(), LookerUpper::HandleAllRecordings(), MetadataFactory::Lookup(), LookupFromProgramInfo(), ToMap(), PlaybackBox::updateGroupInfo(), RecordingSelector::updateRecordingList(), and PlaybackBox::UpdateUIListItem().
Definition at line 337 of file programinfo.h.
Referenced by RecordingRule::AssignProgramInfo(), comp_season(), comp_season_rev(), RecMetadataEdit::Create(), CustomEdit::evaluate(), FillProgramInfo(), GuessLookupType(), LookerUpper::HandleAllRecordings(), MetadataFactory::Lookup(), LookupFromProgramInfo(), ToMap(), and RecordingSelector::updateRecordingList().
|
inline |
Definition at line 338 of file programinfo.h.
Referenced by RecordingRule::AssignProgramInfo(), CustomEdit::evaluate(), FillProgramInfo(), HttpStatus::FillProgramInfo(), GuideGrid::fillProgramRowInfos(), PlayGroup::GetInitialName(), TVRec::GetRecordEndTime(), RecordingRule::LoadByProgram(), CustomEdit::loadClauses(), ProgDetails::loadPage(), LookupFromProgramInfo(), ProgramRecPriority::newTemplate(), ProgramRecPriority::remove(), and PlaybackBox::UpdateUILists().
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 341 of file programinfo.h.
Referenced by ProgramInfoCache::Add(), Content::AddRecordingLiveStream(), LiveTVChain::AppendNewProgram(), TV::AskAllowRecording(), RecordingRule::AssignProgramInfo(), TVBrowseHelper::BrowseStart(), TV::ChangeChannel(), ClearSkipList(), RecordingInfo::clone(), comp_overlap(), comp_recstart(), CompleteJob(), CopySkipListToCutList(), PlaybackBox::createJobMenu(), PlaybackBox::createPlaylistJobMenu(), StatusBox::customEvent(), ScheduleCommon::customEvent(), MainServer::customEvent(), PlaybackBox::customEvent(), TV::customEvent(), commDetector2::debugDirectory(), ProgLister::DeleteOldEpisode(), LiveTVChain::DeleteProgram(), MainServer::DoDeleteThread(), TV::DoEditSchedule(), DoFlagCommercials(), MainServer::DoHandleDeleteRecording(), PlaybackBox::doJobQueueJob(), StatusBox::doJobQueueStatus(), PlaybackBox::doPlaylistJobQueueJob(), TV::DoQueueTranscode(), StatusBox::doTunerStatus(), LiveTVChain::EntryToProgram(), CustomEdit::evaluate(), MythPlayer::EventLoop(), extract_commflag_state(), extract_job_state(), FillChannelInfo(), HttpStatus::FillChannelInfo(), AutoExpire::FillDBOrdered(), TV::FillOSDMenuJobs(), PlaybackSock::FillProgramInfo(), Scheduler::FillRecordingDir(), HttpStatus::FillStatusXML(), Scheduler::FindNextConflict(), PlaybackBox::FindProgramInUILists(), LiveTVChain::FinishedRecording(), TVRec::FinishedRecording(), FlagCommercials(), GetMarkupList(), GetPlaybackURL(), PlayerContext::GetPlayingInfoMap(), Content::GetPreviewImage(), Guide::GetProgramGuide(), GetProgramInfo(), getProgramInfoForFile(), RemoteEncoder::GetRecording(), Content::GetRecording(), PlaybackSock::GetRecording(), JobQueue::GetRunningJobID(), TV::GetStatus(), MainServer::HandleAnnounce(), TV::HandlePseudoLiveTVTimerEvent(), MainServer::HandleQueryRecording(), Scheduler::HandleRecording(), Scheduler::HandleRecordingStatusChange(), Scheduler::HandleTuning(), MainServer::HandleUndeleteRecording(), PlaybackBox::HandleUpdateProgramInfoEvent(), incomingCustomEvent(), init_jobs(), RecordingInfo::InsertProgram(), TVRec::IsBusy(), JobQueue::IsJobRunning(), EncoderLink::IsRecording(), TV::ITVRestart(), ProgDetails::loadPage(), FileServerHandler::LocalFilePath(), MainServer::LocalFilePath(), LookupFromProgramInfo(), main(), MythPlayer::OpenFile(), plTimeSort::operator()(), PlaybackBox::Play(), PlaybackBox::PlaylistDelete(), preview_helper(), print_comm_flag_output(), JobQueue::ProcessJob(), TV::ProcessNetworkControlCommand(), PlaybackBox::processNetworkControlCommand(), LiveTVChain::ProgramIsAt(), push_onto_del(), QueueCommFlagJob(), QueueJob(), JobQueue::QueueRecordingJobs(), QueueTranscodeJob(), TV::QuickRecord(), Reload(), ReloadBookmark(), RemoteFillProgramInfo(), PlaybackBox::RemoveProgram(), PreviewGenerator::Run(), TVBrowseHelper::run(), SendMythSystemPlayEvent(), SendMythSystemRecEvent(), SetCutList(), TVRec::SetLiveRecording(), LiveTVChain::SetProgram(), ProgFinder::showGuide(), ViewScheduled::showGuide(), ProgLister::ShowGuide(), EncoderLink::StartRecording(), TVRec::StartRecording(), TV::StartTV(), PlaybackBox::stopPlaylistJobQueueJob(), MythSystemEventHandler::SubstituteMatches(), TVRec::SwitchRecordingRingBuffer(), toString(), Scheduler::TryAnotherShowing(), TVRec::TuningRestartRecorder(), TVRec::TuningSignalCheck(), ProgramInfoCache::Update(), Scheduler::UpdateRecStatus(), and WaitToDelete().
|
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 345 of file programinfo.h.
Referenced by TVBrowseHelper::BrowseStart(), comp_recstart(), comp_redundant(), TV::DoEditSchedule(), StatusBox::doJobQueueStatus(), CustomEdit::evaluate(), FillChannelInfo(), HttpStatus::FillChannelInfo(), TV::HandlePseudoLiveTVTimerEvent(), LookupFromProgramInfo(), Scheduler::PrintRec(), PlayerContext::SetPseudoLiveTV(), ProgFinder::showGuide(), ViewScheduled::showGuide(), and ProgLister::ShowGuide().
|
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 352 of file programinfo.h.
Referenced by RecordingRule::AssignProgramInfo(), comp_recstart(), comp_redundant(), CustomEdit::evaluate(), FillChannelInfo(), HttpStatus::FillChannelInfo(), CustomEdit::loadClauses(), ViewScheduled::LoadList(), LookupFromProgramInfo(), TV::Playback(), Scheduler::PrintRec(), TV::ShowLCDChannelInfo(), Scheduler::SlaveConnected(), and Scheduler::SlaveDisconnected().
|
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 355 of file programinfo.h.
Referenced by StatusBox::doJobQueueStatus(), CustomEdit::evaluate(), FillChannelInfo(), HttpStatus::FillChannelInfo(), LookupFromProgramInfo(), and RemoteGetRecordingStatus().
|
inline |
Definition at line 356 of file programinfo.h.
Referenced by FillChannelInfo(), HttpStatus::FillChannelInfo(), PlayerContext::GetFilters(), and LookupFromProgramInfo().
|
inline |
The scheduled start time of program.
Definition at line 359 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), RecordingRule::AssignProgramInfo(), TVBrowseHelper::BrowseStart(), RecordingInfo::clone(), comp_originalAirDate(), comp_originalAirDate_rev(), comp_overlap(), comp_recordDate(), comp_recordDate_rev(), comp_redundant(), ProgLister::DeleteOldEpisode(), TV::DoEditSchedule(), DoFlagCommercials(), CustomEdit::evaluate(), TV::FillOSDMenuJobs(), FillProgramInfo(), HttpStatus::FillProgramInfo(), GuideGrid::fillProgramRowInfos(), TVRec::FinishedRecording(), get_start(), TVBrowseHelper::GetNextProgramDB(), Scheduler::HandleTuning(), GuideGrid::keyPressEvent(), RecordingRule::LoadBySearch(), ViewScheduled::LoadList(), ProgDetails::loadPage(), PreviewGenerator::LocalPreviewRun(), LookupFromProgramInfo(), RecordingSelector::OKPressed(), plTitleSort::operator()(), plPrevTitleSort::operator()(), plTimeSort::operator()(), TV::ProcessNetworkControlCommand(), RecordingInfo::RecordingInfo(), RemoteGetRecordingStatus(), TVRec::SetLiveRecording(), ProgFinder::showGuide(), ViewScheduled::showGuide(), ProgLister::ShowGuide(), Scheduler::SlaveConnected(), RecordingSelector::titleChanged(), toString(), Scheduler::TryAnotherShowing(), TVRec::TuningSignalCheck(), RecordingSelector::updateRecordingList(), and Scheduler::UpdateRecStatus().
|
inline |
The scheduled start time of program (with formatting).
Definition at line 361 of file programinfo.h.
|
inline |
The scheduled end time of the program.
Definition at line 366 of file programinfo.h.
Referenced by RecordingRule::AssignProgramInfo(), comp_overlap(), comp_redundant(), DoFlagCommercials(), CustomEdit::evaluate(), FillProgramInfo(), HttpStatus::FillProgramInfo(), GuideGrid::fillProgramRowInfos(), get_end(), TVRec::GetProgramRingBufferForLiveTV(), ViewScheduled::LoadList(), ProgDetails::loadPage(), PreviewGenerator::LocalPreviewRun(), LookupFromProgramInfo(), Scheduler::PrintList(), Scheduler::PruneRedundants(), RecordingInfo::RecordingInfo(), RemoteGetRecordingStatus(), TVRec::run(), MythPlayer::SetWatched(), and RecordingSelector::updateRecordingList().
|
inline |
The scheduled end time of the program (with formatting).
Definition at line 368 of file programinfo.h.
|
inline |
Approximate time the recording started.
Definition at line 373 of file programinfo.h.
Referenced by ProgramInfoCache::Add(), LiveTVChain::AppendNewProgram(), 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(), CompleteJob(), PlaybackBox::createJobMenu(), PlaybackBox::createPlaylistJobMenu(), PlaybackBox::CreateProgramInfoString(), StatusBox::customEvent(), ScheduleCommon::customEvent(), PlaybackBox::customEvent(), TV::customEvent(), LiveTVChain::DeleteProgram(), StatusBox::doAutoExpireList(), DoFlagCommercials(), MainServer::DoHandleDeleteRecording(), PlaybackBox::doJobQueueJob(), StatusBox::doJobQueueStatus(), PlaybackBox::doPlaylistJobQueueJob(), TV::DoQueueTranscode(), ScheduleCommon::EditRecording(), extract_commflag_state(), extract_job_state(), ViewScheduled::FillList(), FillProgramInfo(), HttpStatus::FillProgramInfo(), Scheduler::FillRecordingDir(), Scheduler::FindNextConflict(), PlaybackBox::FindProgramInUILists(), LiveTVChain::FinishedRecording(), TVRec::FinishedRecording(), PreviewGeneratorQueue::GeneratePreviewImage(), GetPlaybackURL(), TVRec::GetProgramRingBufferForLiveTV(), JobQueue::GetRunningJobID(), TV::GetStatus(), Scheduler::HandleRecording(), Scheduler::HandleRecordingStatusChange(), Scheduler::HandleReschedule(), Scheduler::HandleTuning(), PlaybackBox::HandleUpdateProgramInfoEvent(), Scheduler::HandleWakeSlave(), incomingCustomEvent(), init_jobs(), JobQueue::IsJobRunning(), EncoderLink::IsRecording(), ViewScheduled::LoadList(), ProgDetails::loadPage(), PreviewGenerator::LocalPreviewRun(), LookupFromProgramInfo(), Scheduler::MarkShowingsList(), Scheduler::MoveHigherRecords(), PlaybackBox::Play(), PlaybackBox::PlaylistDelete(), print_comm_flag_output(), AutoExpire::PrintExpireList(), Scheduler::PrintList(), Scheduler::PrintRec(), TV::ProcessNetworkControlCommand(), LiveTVChain::ProgramIsAt(), push_onto_del(), Scheduler::PutInactiveSlavesToSleep(), QueueCommFlagJob(), QueueJob(), JobQueue::QueueRecordingJobs(), QueueTranscodeJob(), ReloadBookmark(), PlaybackBox::RemoveProgram(), PreviewGenerator::Run(), Scheduler::SchedNewRecords(), SendMythSystemPlayEvent(), SendMythSystemRecEvent(), LiveTVChain::SetProgram(), PlayerContext::SetPseudoLiveTV(), MythPlayer::SetWatched(), ViewScheduleDiff::showStatus(), Scheduler::ShutdownServer(), EncoderLink::StartRecording(), TVRec::StartRecording(), TV::StartTV(), PlaybackBox::stopPlaylistJobQueueJob(), ToMap(), toString(), Scheduler::TryAnotherShowing(), TVRec::TuningRestartRecorder(), ProgramInfoCache::Update(), Scheduler::UpdateNextRecord(), WaitToDelete(), and EncoderLink::WouldConflict().
|
inline |
Approximate time the recording started (with formatting).
Definition at line 375 of file programinfo.h.
|
inline |
Approximate time the recording should have ended, did end, or is intended to end.
Definition at line 381 of file programinfo.h.
Referenced by Scheduler::AddNewRecords(), LiveTVChain::AppendNewProgram(), Scheduler::ChangeRecordingEnd(), comp_recstart(), PlaybackBox::CreateProgramInfoString(), MainServer::customEvent(), StatusBox::doAutoExpireList(), DoFlagCommercials(), MainServer::DoHandleDeleteRecording(), ScheduleCommon::EditRecording(), FillProgramInfo(), HttpStatus::FillProgramInfo(), Scheduler::FillRecordingDir(), Scheduler::FindNextConflict(), LiveTVChain::FinishedRecording(), TVRec::FinishedRecording(), FlagCommercials(), PreviewGeneratorQueue::GeneratePreviewImage(), TVRec::GetProgramRingBufferForLiveTV(), TVRec::GetRecordEndTime(), TVRec::HandlePendingRecordings(), MainServer::HandleQueryRecordings(), Scheduler::HandleRecording(), Scheduler::HandleReschedule(), ViewScheduled::LoadList(), LookupFromProgramInfo(), Scheduler::PrintList(), Scheduler::PrintRec(), Scheduler::PruneRedundants(), Scheduler::SchedLiveTV(), PlayerContext::SetInitialTVState(), TVRec::SetLiveRecording(), PlayerContext::SetPseudoLiveTV(), MythPlayer::SetWatched(), ViewScheduleDiff::showStatus(), EncoderLink::StartRecording(), TVRec::StartRecording(), Transcode::TranscodeFile(), TVRec::TuningRestartRecorder(), and TVRec::TuningSignalCheck().
|
inline |
Approximate time the recording should have ended, did end, or is intended to end (with formatting).
Definition at line 384 of file programinfo.h.
|
inline |
Definition at line 388 of file programinfo.h.
Referenced by MainServer::customEvent(), StatusBox::doAutoExpireList(), MainServer::DoHandleDeleteRecording(), TV::FillOSDMenuJumpRec(), FillProgramInfo(), HttpStatus::FillProgramInfo(), PlaybackBox::FindProgramInUILists(), Dvr::GetFilteredRecordedList(), TV::GetRecordingGroup(), RecordingSelector::getRecordingList(), LookerUpper::HandleAllArtwork(), LookerUpper::HandleAllRecordings(), MainServer::HandleIsRecording(), PlaybackBox::HandleUpdateProgramInfoEvent(), ProgDetails::loadPage(), LookupFromProgramInfo(), JobQueue::ProcessJob(), QueryIsDeleteCandidate(), RemoteGetCurrentlyRecordingList(), PlaybackBox::setRecGroup(), PlaybackBox::ShowActionPopup(), PlaybackBox::ShowDeletePopup(), PlaybackBox::ShowRecGroupChanger(), and PlaybackBox::UpdateUILists().
|
inline |
Definition at line 389 of file programinfo.h.
Referenced by FillProgramInfo(), HttpStatus::FillProgramInfo(), TV::HandleStateChange(), ProgDetails::loadPage(), LookupFromProgramInfo(), PlayerContext::SetInitialTVState(), and PlaybackBox::ShowPlayGroupChanger().
|
inline |
Definition at line 390 of file programinfo.h.
Referenced by Content::AddRecordingLiveStream(), MainServer::DoHandleDeleteRecording(), MainServer::DoHandleStopRecording(), PlaybackBox::doJobQueueJob(), PlaybackBox::doPlaylistJobQueueJob(), TV::DoQueueTranscode(), AutoExpire::ExpireRecordings(), FillProgramInfo(), HttpStatus::FillProgramInfo(), Scheduler::FillRecordingDir(), Content::GetPreviewImage(), Content::GetRecording(), MainServer::HandleGenPreviewPixmap(), MainServer::HandleQueryRecordings(), Scheduler::HandleRecording(), ProgDetails::loadPage(), LookupFromProgramInfo(), AutoExpire::PrintExpireList(), JobQueue::QueueRecordingJobs(), transUnlink(), and PlaybackBox::UpdateUIListItem().
|
inline |
Definition at line 391 of file programinfo.h.
Referenced by Content::AddRecordingLiveStream(), FillProgramInfo(), Dvr::GetFilteredRecordedList(), Scheduler::HandleRecording(), ProgDetails::loadPage(), LookupFromProgramInfo(), and transUnlink().
Definition at line 392 of file programinfo.h.
Referenced by LookerUpper::customEvent(), MetadataOptions::customEvent(), and LookupFromProgramInfo().
|
inline |
Definition at line 397 of file programinfo.h.
Referenced by comp_originalAirDate(), comp_originalAirDate_rev(), FillProgramInfo(), HttpStatus::FillProgramInfo(), ProgDetails::loadPage(), and LookupFromProgramInfo().
|
inline |
Definition at line 398 of file programinfo.h.
Referenced by FillProgramInfo(), HttpStatus::FillProgramInfo(), PreviewGeneratorQueue::GeneratePreviewImage(), and LookupFromProgramInfo().
|
inline |
Definition at line 399 of file programinfo.h.
|
inline |
Definition at line 403 of file programinfo.h.
Referenced by PlaybackBox::customEvent(), StatusBox::doAutoExpireList(), MainServer::DoDeleteThread(), MainServer::DoHandleDeleteRecording(), AutoExpire::ExpireRecordings(), FillProgramInfo(), HttpStatus::FillProgramInfo(), TVRec::FinishedRecording(), LiveTVChain::GetSwitchProgram(), MainServer::HandleQueryRecordings(), ProgDetails::loadPage(), RecordingSelector::OKPressed(), PlaybackBox::Play(), AutoExpire::PrintExpireList(), TVRec::SwitchLiveTVRingBuffer(), RecordingSelector::titleChanged(), UpdateFileSize(), PlaybackBox::updateGroupInfo(), and RecordingSelector::updateRecordingList().
|
inline |
Definition at line 404 of file programinfo.h.
Referenced by RecordingRule::AssignProgramInfo(), LookerUpper::customEvent(), CustomEdit::evaluate(), FillProgramInfo(), HttpStatus::FillProgramInfo(), CustomEdit::loadClauses(), ProgDetails::loadPage(), LookupFromProgramInfo(), ScheduleCommon::ShowUpcoming(), ScheduleCommon::ShowUpcomingScheduled(), and ProgramRecPriority::upcoming().
|
inline |
Definition at line 405 of file programinfo.h.
Referenced by RecordingRule::AssignProgramInfo(), ScheduledRecording::BuildCheckRequest(), comp_programid(), comp_programid_rev(), ScheduleCommon::EditRecording(), CustomEdit::evaluate(), FillProgramInfo(), HttpStatus::FillProgramInfo(), TV::GetStatus(), CustomEdit::loadClauses(), ProgDetails::loadPage(), LookupFromProgramInfo(), and plPrevTitleSort::operator()().
|
inline |
Definition at line 406 of file programinfo.h.
Referenced by RecordingRule::AssignProgramInfo(), LookerUpper::CopyRuleInetrefsToRecordings(), RecMetadataEdit::Create(), FillProgramInfo(), PlayerContext::GetPlayingInfoMap(), LookerUpper::HandleAllArtwork(), LookerUpper::HandleAllRecordingRules(), LookerUpper::HandleAllRecordings(), MetadataFactory::Lookup(), LookupFromProgramInfo(), PlaybackBox::updateGroupInfo(), and PlaybackBox::UpdateUIListItem().
|
inline |
Definition at line 407 of file programinfo.h.
Referenced by ScheduleCommon::EditRecording(), and GuessLookupType().
| QString ProgramInfo::GetCategoryTypeString | ( | void | ) | const |
Returns catType as a string.
Definition at line 1738 of file programinfo.cpp.
Referenced by FillProgramInfo(), HttpStatus::FillProgramInfo(), PlaybackBox::ItemLoaded(), RecordingRule::LoadByProgram(), and PlaybackBox::updateIcons().
Definition at line 409 of file programinfo.h.
Referenced by ProgramRecPriority::changeRecPriority(), comp_priority(), comp_recstart(), comp_retry(), FillProgramInfo(), HttpStatus::FillProgramInfo(), TitleSort::operator()(), ProgramRecPrioritySort::operator()(), ProgramRecTypeSort::operator()(), AutoExpire::PrintExpireList(), Scheduler::PrintRec(), ProgramRecPriority::saveRecPriority(), Scheduler::SchedNewRecords(), ProgramRecPriority::scheduleChanged(), Scheduler::TryAnotherShowing(), ProgramRecPriority::updateInfo(), ProgramRecPriority::UpdateList(), and PlaybackBox::UpdateUILists().
Definition at line 410 of file programinfo.h.
Referenced by comp_priority(), comp_recpriority2(), comp_retry(), StatusBox::doScheduleStatus(), ViewScheduled::FillList(), ProgDetails::loadPage(), Scheduler::PrintRec(), Scheduler::PruneRedundants(), and Scheduler::TryAnotherShowing().
|
inline |
Definition at line 411 of file programinfo.h.
Referenced by ViewScheduled::FillList(), FillProgramInfo(), HttpStatus::FillProgramInfo(), ProgLister::HandleSelected(), ProgLister::HandleVisible(), PlaybackBox::ItemLoaded(), LookupFromProgramInfo(), ToMap(), ViewScheduled::updateInfo(), GuideGrid::updateInfo(), ProgramRecPriority::UpdateList(), and PlaybackBox::UpdateUIListItem().
Definition at line 412 of file programinfo.h.
|
inline |
Definition at line 415 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), Scheduler::AddNewRecords(), Scheduler::AddRecording(), Scheduler::BackupRecStatus(), ScheduledRecording::BuildCheckRequest(), Scheduler::BuildListMaps(), Scheduler::BuildWorkList(), comp_overlap(), comp_priority(), comp_recstart(), comp_redundant(), comp_retry(), StatusBox::doScheduleStatus(), ScheduleCommon::EditRecording(), extract_job_state(), extract_main_state(), ViewScheduleDiff::fillList(), ViewScheduled::FillList(), FillProgramInfo(), HttpStatus::FillProgramInfo(), GuideGrid::fillProgramRowInfos(), Scheduler::FillRecordingDir(), TVRec::FinishedRecording(), Scheduler::GetRecStatus(), Scheduler::HandleRecording(), Scheduler::HandleRecordingStatusChange(), Scheduler::HandleReschedule(), Scheduler::HandleTuning(), ProgLister::HandleVisible(), ViewScheduled::LoadList(), ProgDetails::loadPage(), Scheduler::MarkShowingsList(), Scheduler::MoveHigherRecords(), plTitleSort::operator()(), Scheduler::PrintRec(), Scheduler::PruneRedundants(), Scheduler::PutInactiveSlavesToSleep(), Recording(), RemoteGetCurrentlyRecordingList(), Scheduler::SchedNewRecords(), SendMythSystemRecEvent(), TVRec::SetLiveRecording(), PlaybackBox::ShowActionPopup(), ViewScheduleDiff::showStatus(), Scheduler::SlaveConnected(), Scheduler::SlaveDisconnected(), TVRec::StartRecording(), ToMap(), Scheduler::TryAnotherShowing(), TVRec::TuningShutdowns(), PlaybackBox::updateGroupInfo(), ProgramRecPriority::updateInfo(), ProgramRecPriority::UpdateList(), Scheduler::UpdateNextRecord(), Scheduler::UpdateRecStatus(), and ViewScheduleDiff::updateUIList().
|
inline |
Definition at line 417 of file programinfo.h.
Definition at line 419 of file programinfo.h.
Definition at line 420 of file programinfo.h.
Referenced by Scheduler::AddNewRecords(), Scheduler::AddRecording(), ScheduledRecording::BuildCheckRequest(), Scheduler::BuildListMaps(), Scheduler::ChangeRecordingEnd(), comp_overlap(), comp_priority(), comp_redundant(), comp_retry(), LookerUpper::CopyRuleInetrefsToRecordings(), ProgramRecPriority::deactivate(), GuideGrid::deleteRule(), ProgramRecPriority::edit(), ProgramRecPriority::FillList(), FillProgramInfo(), HttpStatus::FillProgramInfo(), GuessLookupType(), Scheduler::HandleRecordingStatusChange(), RecordingRule::LoadByProgram(), CustomEdit::loadData(), ViewScheduled::LoadList(), ProgDetails::loadPage(), ScheduleCommon::MakeOverride(), Scheduler::MarkOtherShowings(), TitleSort::operator()(), ProgramRecPrioritySort::operator()(), ProgramRecTypeSort::operator()(), Scheduler::PruneOverlaps(), Scheduler::PruneRedundants(), ScheduleCommon::QuickRecord(), ProgramRecPriority::remove(), ProgramRecPriority::RemoveItemFromList(), ProgramRecPriority::saveRecPriority(), ProgramRecPriority::scheduleChanged(), ScheduleEditor::ScheduleEditor(), ProgLister::ShowDeleteRuleMenu(), ProgLister::ShowMenu(), GuideGrid::ShowRecordingMenu(), ScheduleCommon::ShowUpcomingScheduled(), TVRec::StartRecording(), Scheduler::TryAnotherShowing(), ProgramRecPriority::upcoming(), ProgramRecPriority::updateInfo(), ProgramRecPriority::UpdateList(), Scheduler::UpdateNextRecord(), and PlaybackBox::UpdateUILists().
Definition at line 421 of file programinfo.h.
Referenced by ScheduledRecording::BuildCheckRequest(), Scheduler::HandleRecordingStatusChange(), Scheduler::MarkOtherShowings(), and Scheduler::UpdateNextRecord().
|
inline |
Definition at line 422 of file programinfo.h.
Referenced by Scheduler::AddNewRecords(), Scheduler::ChangeRecordingEnd(), comp_overlap(), comp_priority(), comp_retry(), ScheduleCommon::customEvent(), ViewScheduled::deleteRule(), GuideGrid::deleteRule(), StatusBox::doScheduleStatus(), ScheduleCommon::EditRecording(), FillProgramInfo(), HttpStatus::FillProgramInfo(), GuideGrid::fillProgramRowInfos(), Scheduler::HandleRecordingStatusChange(), ScheduleCommon::IsFindApplicable(), IsSameProgram(), ProgDetails::loadPage(), Scheduler::MarkOtherShowings(), Scheduler::MarkShowingsList(), ProgramRecPriority::newTemplate(), TVRec::NotifySchedulerOfRecording(), Scheduler::PrintRec(), ProgramRecPriority::remove(), ProgLister::ShowDeleteRuleMenu(), ViewScheduleDiff::showStatus(), TVRec::StartRecording(), ToMap(), Scheduler::TryAnotherShowing(), ProgramRecPriority::updateInfo(), ProgramRecPriority::UpdateList(), Scheduler::UpdateNextRecord(), and Scheduler::UpdateRecStatus().
|
inline |
Where should we check for duplicates?
Definition at line 426 of file programinfo.h.
Referenced by Scheduler::AddNewRecords(), FillProgramInfo(), and HttpStatus::FillProgramInfo().
|
inline |
What should be compared to determine if two programs are the same?
Definition at line 430 of file programinfo.h.
Referenced by Scheduler::AddNewRecords(), ScheduleCommon::EditRecording(), FillProgramInfo(), and HttpStatus::FillProgramInfo().
Definition at line 433 of file programinfo.h.
Referenced by TV::CommitQueuedInput(), StatusBox::doScheduleStatus(), FillChannelInfo(), HttpStatus::FillChannelInfo(), get_chanid(), Scheduler::HandleRecording(), Scheduler::HandleTuning(), Scheduler::PrintRec(), and TVRec::StartRecording().
Definition at line 434 of file programinfo.h.
Referenced by Scheduler::AddNewRecords(), comp_overlap(), comp_priority(), comp_retry(), StatusBox::doScheduleStatus(), FillChannelInfo(), HttpStatus::FillChannelInfo(), ViewScheduled::FillList(), Scheduler::FindNextConflict(), Scheduler::IsBusyRecording(), ViewScheduled::LoadList(), Scheduler::PrintRec(), TVRec::RecordPending(), Scheduler::SlaveConnected(), and TVRec::StartRecording().
Definition at line 435 of file programinfo.h.
Referenced by Scheduler::AddNewRecords(), Scheduler::ChangeRecordingEnd(), ViewScheduleDiff::fillList(), ViewScheduled::FillList(), FillProgramInfo(), HttpStatus::FillProgramInfo(), Scheduler::FillRecordingDir(), Scheduler::FindNextConflict(), TVRec::FinishedRecording(), Scheduler::HandleRecording(), Scheduler::HandleTuning(), Scheduler::HandleWakeSlave(), Scheduler::IsBusyRecording(), ViewScheduled::LoadList(), Scheduler::PrintRec(), Scheduler::PutInactiveSlavesToSleep(), TVRec::RecordPending(), SendMythSystemRecEvent(), TVRec::SetLiveRecording(), Scheduler::SlaveConnected(), Scheduler::SlaveDisconnected(), Scheduler::TryAnotherShowing(), TVRec::TuningSignalCheck(), Scheduler::UpdateRecStatus(), and ViewScheduleDiff::updateUIList().
Definition at line 437 of file programinfo.h.
Referenced by RecordingRule::AssignProgramInfo(), ScheduledRecording::BuildCheckRequest(), comp_overlap(), ScheduleCommon::EditRecording(), ProgDetails::loadPage(), and Scheduler::MarkOtherShowings().
|
inline |
Definition at line 439 of file programinfo.h.
Referenced by extract_commflag_state(), FillProgramInfo(), HttpStatus::FillProgramInfo(), LookupFromProgramInfo(), PlaybackBox::SetItemIcons(), and PlaybackBox::updateIcons().
|
inline |
Definition at line 440 of file programinfo.h.
Referenced by ToMap().
Definition at line 1764 of file programinfo.cpp.
Referenced by ScheduleCommon::EditRecording().
Definition at line 443 of file programinfo.h.
Referenced by PlaybackBox::SetItemIcons().
Definition at line 444 of file programinfo.h.
Referenced by FillChannelInfo(), HttpStatus::FillChannelInfo(), init_jobs(), JobQueue::QueueRecordingJobs(), and TVRec::StartedRecording().
Definition at line 445 of file programinfo.h.
Referenced by JobQueue::DoTranscodeThread(), RecordingSelector::OKPressed(), PlaybackBox::SetItemIcons(), RecordingSelector::titleChanged(), and RecordingSelector::updateRecordingList().
Definition at line 446 of file programinfo.h.
Referenced by PlaybackBox::SetItemIcons(), and PlaybackBox::ShowActionPopup().
Definition at line 447 of file programinfo.h.
Referenced by MainServer::customEvent(), AutoExpire::ExpireEpisodesOverMax(), PlaybackBox::SetItemIcons(), PlaybackBox::ShowActionPopup(), PlaybackBox::toggleWatched(), and PlaybackBox::UpdateUILists().
Definition at line 448 of file programinfo.h.
Referenced by PlaybackBox::createStorageMenu(), PlaybackBox::doPlaylistExpireSetting(), PlaybackBox::SetItemIcons(), PlaybackBox::toggleAutoExpire(), and PlaybackBox::UpdateUILists().
Definition at line 449 of file programinfo.h.
Referenced by PlaybackBox::createStorageMenu(), PlaybackBox::SetItemIcons(), and PlaybackBox::togglePreserveEpisode().
Definition at line 450 of file programinfo.h.
Referenced by ClearMarkupMap(), ClearPositionMap(), getCutFrames(), GetPlaybackURL(), internal_play_media(), MythPlayer::IsNearEnd(), QueryMarkupMap(), QueryPositionMap(), SaveMarkupMap(), SavePositionMap(), SavePositionMapDelta(), TV::ShowOSDStopWatchingRecording(), and ToMap().
Definition at line 451 of file programinfo.h.
Referenced by ClearMarkupMap(), ClearPositionMap(), TV::HandleStateChange(), MarkAsInUse(), TV::Playback(), TV::ProcessNetworkControlCommand(), QueryIsDeleteCandidate(), QueryIsInUse(), QueryMarkupMap(), QueryPositionMap(), SaveAspect(), SaveBookmark(), SaveCutList(), SaveFrameRate(), SaveMarkupMap(), SavePositionMap(), SavePositionMapDelta(), SaveResolution(), SaveTotalDuration(), SaveTotalFrames(), SaveWatched(), PlayerContext::SetInitialTVState(), MythPlayer::SetWatched(), TV::ShowOSDPromptDeleteRecording(), TV::StartTV(), and UpdateInUseMark().
Definition at line 452 of file programinfo.h.
Referenced by Scheduler::AddNewRecords(), FillProgramInfo(), HttpStatus::FillProgramInfo(), RecordingInfo::InsertProgram(), ProgDetails::loadPage(), and ToMap().
Definition at line 453 of file programinfo.h.
Referenced by ProgLister::customEvent(), ProgLister::ShowOldRecordedMenu(), and ToMap().
Definition at line 454 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), Scheduler::AddNewRecords(), comp_priority(), comp_retry(), and RecordingInfo::SubstituteMatches().
Definition at line 455 of file programinfo.h.
Definition at line 458 of file programinfo.h.
Referenced by FillProgramInfo(), PlaybackBox::ItemLoaded(), LookupFromProgramInfo(), ToMap(), ToStringList(), and PlaybackBox::updateIcons().
Definition at line 460 of file programinfo.h.
Referenced by StatusBox::doScheduleStatus(), extract_main_state(), FillProgramInfo(), PlaybackBox::ItemLoaded(), LookupFromProgramInfo(), SaveVideoProperties(), ToMap(), ToStringList(), and PlaybackBox::updateIcons().
Definition at line 462 of file programinfo.h.
Referenced by FillProgramInfo(), PlaybackBox::ItemLoaded(), LookupFromProgramInfo(), ToMap(), ToStringList(), and PlaybackBox::updateIcons().
| QString ProgramInfo::toString | ( | Verbosity | v = kLongDescription, |
| QString | sep = ":", |
||
| QString | grp = "\"" |
||
| ) | const |
Definition at line 1773 of file programinfo.cpp.
Referenced by PlaybackBox::deleteSelected(), StatusBox::doAutoExpireList(), JobQueue::DoFlagCommercialsThread(), MainServer::DoHandleDeleteRecording(), JobQueue::DoMetadataLookupThread(), JobQueue::DoTranscodeThread(), JobQueue::DoUserJobThread(), ScheduleCommon::EditRecording(), AutoExpire::ExpireRecordings(), extract_subtitle(), PreviewGeneratorQueue::GeneratePreviewImage(), TVRec::GetProgramRingBufferForLiveTV(), MainServer::HandleGenPreviewPixmap(), TV::HandleJumpToProgramAction(), MainServer::HandleQueryRecordings(), Scheduler::HandleRecording(), Scheduler::HandleTuning(), RecordingInfo::InsertProgram(), ProgDetails::loadPage(), TV::PrepToSwitchToRecordedProgram(), AutoExpire::PrintExpireList(), Scheduler::PrintRec(), SetAvailableStatus(), PlaybackBox::ShowAvailabilityPopup(), ProgLister::ShowOldRecordedMenu(), ViewScheduleDiff::showStatus(), TVRec::StartRecording(), SubstituteMatches(), ToMap(), Scheduler::UpdateRecStatus(), and PlaybackBox::UpdateUIListItem().
|
inline |
Definition at line 476 of file programinfo.h.
Referenced by MythBDPlayer::EventStart(), MythDVDPlayer::EventStart(), ProgramRecPriority::scheduleChanged(), and PlaybackBox::UpdateUILists().
|
inline |
Definition at line 477 of file programinfo.h.
Referenced by internal_play_media(), and SetPathname().
| void ProgramInfo::SetPathname | ( | const QString & | pn | ) | const |
Definition at line 2203 of file programinfo.cpp.
Referenced by EncoderLink::CheckFile(), PlaybackSock::CheckFile(), PlaybackBox::customEvent(), JobQueue::DoFlagCommercialsThread(), LiveTVChain::EntryToProgram(), AutoExpire::ExpireRecordings(), Scheduler::FillRecordingDir(), Content::GetPreviewImage(), getProgramInfoForFile(), TVRec::GetProgramRingBufferForLiveTV(), MainServer::HandleGenPreviewPixmap(), MainServer::HandlePixmapLastModified(), MainServer::HandleQueryRecordings(), Scheduler::HandleRecording(), LoadProgramFromRecorded(), preview_helper(), JobQueue::ProcessJob(), PlaybackBox::processNetworkControlCommand(), ProgramInfo(), RebuildSeekTable(), RemoteCheckFile(), SaveBasename(), and MainServer::TruncateAndClose().
Definition at line 480 of file programinfo.h.
Referenced by TVRec::GetProgramRingBufferForLiveTV().
|
inline |
Definition at line 481 of file programinfo.h.
Referenced by ScheduleCommon::customEvent().
|
inline |
Definition at line 482 of file programinfo.h.
Referenced by ScheduleCommon::customEvent(), GuideGrid::fillProgramRowInfos(), TVRec::GetProgramRingBufferForLiveTV(), and RecordingInfo::RecordingInfo().
|
inline |
Definition at line 483 of file programinfo.h.
Referenced by TVRec::GetProgramRingBufferForLiveTV(), Scheduler::HandleRecording(), and Scheduler::SchedLiveTV().
|
inline |
Definition at line 484 of file programinfo.h.
Referenced by Scheduler::ChangeRecordingEnd(), TVRec::FinishedRecording(), TVRec::GetProgramRingBufferForLiveTV(), RecordingInfo::RecordingInfo(), Scheduler::SchedLiveTV(), TVRec::StartRecording(), and Scheduler::UpdateRecStatus().
|
inline |
Definition at line 485 of file programinfo.h.
Referenced by TVRec::CheckForRecGroupChange(), TVRec::FinishedRecording(), and TVRec::SetLiveRecording().
|
inline |
Definition at line 486 of file programinfo.h.
|
inline |
Definition at line 487 of file programinfo.h.
Referenced by AutoExpire::ExpireRecordings().
|
inline |
Definition at line 488 of file programinfo.h.
Referenced by TVRec::GetProgramRingBufferForLiveTV().
|
inline |
Definition at line 489 of file programinfo.h.
Referenced by PlaybackBox::customEvent(), MainServer::HandleQueryRecordings(), SaveFilesize(), and PlaybackBox::updateGroupInfo().
|
inline |
Definition at line 490 of file programinfo.h.
|
inline |
Definition at line 491 of file programinfo.h.
Referenced by ProgLister::DeleteOldSeries().
|
inline |
Definition at line 492 of file programinfo.h.
Referenced by ProgramRecPriority::scheduleChanged().
|
inline |
Definition at line 493 of file programinfo.h.
Definition at line 494 of file programinfo.h.
Referenced by ProgramRecPriority::scheduleChanged().
Definition at line 495 of file programinfo.h.
Referenced by Scheduler::AddNewRecords(), Scheduler::PruneRedundants(), and PlaybackBox::UpdateUILists().
Definition at line 496 of file programinfo.h.
Referenced by Scheduler::ChangeRecordingEnd(), ProgramRecPriority::scheduleChanged(), and TVRec::StartRecording().
Definition at line 497 of file programinfo.h.
Definition at line 498 of file programinfo.h.
Referenced by TVRec::NotifySchedulerOfRecording(), Scheduler::PruneRedundants(), and Scheduler::SchedLiveTV().
Definition at line 499 of file programinfo.h.
Referenced by TVRec::GetProgramRingBufferForLiveTV(), TVRec::GetRecording(), TVRec::NotifySchedulerOfRecording(), Scheduler::PruneRedundants(), and Scheduler::SchedLiveTV().
Definition at line 500 of file programinfo.h.
Referenced by RecordingInfo::AddHistory().
Definition at line 505 of file programinfo.h.
Referenced by PlaybackBox::doJobQueueJob(), DeleteMap::SetFileEditing(), and PlaybackBox::stopPlaylistJobQueueJob().
Definition at line 510 of file programinfo.h.
Referenced by PlaybackBox::doJobQueueJob(), and PlaybackBox::stopPlaylistJobQueueJob().
If "ignore" is true GetBookmark() will return 0, otherwise GetBookmark() will return the bookmark position if it exists.
Definition at line 517 of file programinfo.h.
Referenced by MythPlayer::EventStart(), and TV::StartTV().
|
inline |
Definition at line 522 of file programinfo.h.
Referenced by Scheduler::AddNewRecords(), Scheduler::ChangeRecordingEnd(), ScheduleCommon::customEvent(), MainServer::customEvent(), PlaybackBox::customEvent(), MainServer::DoHandleStopRecording(), TVRec::FinishedRecording(), TVRec::GetRecording(), Scheduler::HandleRecording(), Scheduler::HandleRecordingStatusChange(), Scheduler::MarkShowingsList(), Scheduler::MoveHigherRecords(), TVRec::NotifySchedulerOfRecording(), Scheduler::PruneRedundants(), Scheduler::RestoreRecStatus(), TVRec::RingBufferChanged(), TVRec::run(), Scheduler::SchedLiveTV(), Scheduler::SchedNewRecords(), Scheduler::SlaveConnected(), Scheduler::SlaveDisconnected(), TVRec::SwitchRecordingRingBuffer(), TVRec::TeardownRecorder(), Scheduler::TryAnotherShowing(), TVRec::TuningFrequency(), TVRec::TuningSignalCheck(), and Scheduler::UpdateRecStatus().
|
inline |
Definition at line 523 of file programinfo.h.
Referenced by Scheduler::ChangeRecordingEnd(), TVRec::NotifySchedulerOfRecording(), ProgramRecPriority::scheduleChanged(), and TVRec::StartRecording().
|
inline |
Definition at line 524 of file programinfo.h.
| 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 chanid and recstartts.
Definition at line 2263 of file programinfo.cpp.
Referenced by CompleteJob(), and GetPlaybackURL().
| uint64_t ProgramInfo::QueryFilesize | ( | void | ) | const |
Gets recording file size from database.
Definition at line 2423 of file programinfo.cpp.
Referenced by TVRec::FinishedRecording(), and PlaybackBox::updateGroupInfo().
Queries multiplex any recording would be made on, zero if unknown.
Definition at line 2442 of file programinfo.cpp.
Referenced by Scheduler::FindNextConflict(), and TVRec::StartRecording().
| 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 2520 of file programinfo.cpp.
Referenced by PreviewGeneratorQueue::GeneratePreviewImage().
| uint64_t ProgramInfo::QueryBookmark | ( | void | ) | const |
Gets any bookmark position in database, unless the ignore bookmark flag is set.
Definition at line 2547 of file programinfo.cpp.
Referenced by MythPlayer::GetBookmark(), MainServer::HandleBookmarkQuery(), internal_play_media(), and PreviewGenerator::LocalPreviewRun().
| ProgramInfo::CategoryType ProgramInfo::QueryCategoryType | ( | void | ) | const |
Queries recordedprogram to get the category_type of the recording.
Definition at line 2639 of file programinfo.cpp.
Referenced by GuessLookupType().
| 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 2573 of file programinfo.cpp.
Referenced by MythDVDPlayer::GetBookmark(), and internal_play_media().
Queries "recorded" table for its "editing" field and returns true if it is set to true.
Definition at line 2713 of file programinfo.cpp.
Referenced by DeleteMap::IsFileEditing(), TV::StartProgramEditMode(), and Transcode::TranscodeFile().
| 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 2792 of file programinfo.cpp.
Referenced by PlaybackBox::deleteSelected(), QueryIsDeleteCandidate(), QueryIsInUse(), PlaybackBox::ShowAvailabilityPopup(), and TV::ShowOSDPromptDeleteRecording().
| 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 2854 of file programinfo.cpp.
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 2871 of file programinfo.cpp.
Referenced by StatusBox::customEvent(), PlaybackBox::deleteSelected(), TV::IsDeleteAllowed(), PlaybackBox::PlaylistDelete(), PlaybackBox::RemoveProgram(), and TV::ShowOSDPromptDeleteRecording().
| AutoExpireType ProgramInfo::QueryAutoExpire | ( | void | ) | const |
Returns "autoexpire" field from "recorded" table.
Definition at line 3058 of file programinfo.cpp.
Referenced by TV::FillOSDMenuJobs(), TV::IsBookmarkAllowed(), MythPlayer::OpenFile(), TV::QuickRecord(), PlaybackBox::ShowDeletePopup(), and TV::ToggleAutoExpire().
| TranscodingStatus ProgramInfo::QueryTranscodeStatus | ( | void | ) | const |
Returns the "transcoded" field in "recorded" table.
Definition at line 2904 of file programinfo.cpp.
Referenced by MythPlayer::SetWatched().
| bool ProgramInfo::QueryTuningInfo | ( | QString & | channum, |
| QString & | input | ||
| ) | const |
Returns the channel and input needed to record the program.
Definition at line 4352 of file programinfo.cpp.
Referenced by TVRec::IsBusy(), TVRec::TuningCheckForHWChange(), and TVRec::TuningGetChanNum().
| QString ProgramInfo::QueryInputDisplayName | ( | void | ) | const |
Returns the display name of the card input for this program.
Definition at line 4386 of file programinfo.cpp.
Referenced by ToMap().
If present in recording this loads average width of the main video stream from database's stream markup table.
Definition at line 3853 of file programinfo.cpp.
If present in recording this loads average height of the main video stream from database's stream markup table.
Definition at line 3844 of file programinfo.cpp.
Referenced by TVRec::FinishedRecording().
If present in recording this loads average frame rate of the main video stream from database's stream markup table.
Definition at line 3862 of file programinfo.cpp.
Definition at line 3867 of file programinfo.cpp.
Referenced by TVRec::FinishedRecording().
| int64_t ProgramInfo::QueryTotalDuration | ( | void | ) | const |
If present in recording this loads total duration of the main video stream from database's stream markup table.
Definition at line 3906 of file programinfo.cpp.
Referenced by 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 3917 of file programinfo.cpp.
| QString ProgramInfo::QueryRecordingGroup | ( | void | ) | const |
Query recgroup from recorded.
Definition at line 4066 of file programinfo.cpp.
Referenced by TVRec::CheckForRecGroupChange(), TVRec::FinishedRecording(), and TVRec::StartedRecording().
Returns true iff the speficied mark type is set on frame 0.
Definition at line 3356 of file programinfo.cpp.
Referenced by Transcode::TranscodeFile().
Definition at line 4082 of file programinfo.cpp.
Referenced by JobQueue::DoTranscodeThread(), and JobQueue::GetJobCommand().
| uint64_t ProgramInfo::QueryLastFrameInPosMap | ( | void | ) | const |
Returns last frame in position map or 0.
Definition at line 1744 of file programinfo.cpp.
Referenced by GetMarkupList().
Definition at line 1810 of file programinfo.cpp.
Referenced by JobQueue::DoTranscodeThread().
| void ProgramInfo::SaveFilesize | ( | uint64_t | fsize | ) |
Sets recording file size in database, and sets "filesize" field.
Definition at line 2402 of file programinfo.cpp.
Referenced by CompleteJob(), JobQueue::DoTranscodeThread(), DTVRecorder::FinishRecording(), NuppelVideoRecorder::FinishRecording(), MainServer::HandleQueryRecordings(), ImportRecorder::run(), RecorderBase::SavePositionMap(), RecorderBase::SetNextRecording(), and UpdateFileSize().
| 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 2467 of file programinfo.cpp.
Referenced by CompleteJob(), MainServer::HandleSetBookmark(), and MythPlayer::SetBookmark().
| void ProgramInfo::SaveDVDBookmark | ( | const QStringList & | fields | ) | const |
Definition at line 2596 of file programinfo.cpp.
Referenced by MythDVDPlayer::SetDVDBookmark().
Sets "editing" field in "recorded" table to "edit".
| edit | Editing state to set. |
Definition at line 2739 of file programinfo.cpp.
Referenced by MythPlayer::DisableEdit(), MythPlayer::EnableEdit(), and TV::HandleOSDAlreadyEditing().
| void ProgramInfo::SaveTranscodeStatus | ( | TranscodingStatus | trans | ) |
Set "transcoded" field in "recorded" table to "trans".
| transFlag | value to set transcoded field to. |
Definition at line 2924 of file programinfo.cpp.
Referenced by JobQueue::DoTranscodeThread().
Set "watched" field in recorded/videometadata to "watchedFlag".
Definition at line 2662 of file programinfo.cpp.
Referenced by PlaybackBox::doPlaylistWatchedSetting(), MythPlayer::SetWatched(), and PlaybackBox::toggleWatched().
Set "deletepending" field in "recorded" table to "deleteFlag".
| deleteFlag | value to set delete pending field to. |
Definition at line 2764 of file programinfo.cpp.
Referenced by MainServer::DoDeleteThread(), and MainServer::DoHandleDeleteRecording().
| void ProgramInfo::SaveCommFlagged | ( | CommFlagStatus | flag | ) |
Set "commflagged" field in "recorded" table to "flag".
| flag | value to set commercial flagging field to. |
Definition at line 2947 of file programinfo.cpp.
Referenced by CompleteJob(), DoFlagCommercials(), and TVRec::StartedRecording().
| 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 3000 of file programinfo.cpp.
Referenced by TVRec::CreateLiveTVRingBuffer(), StatusBox::customEvent(), MainServer::DoHandleDeleteRecording(), MainServer::DoHandleUndeleteRecording(), PlaybackBox::doPlaylistExpireSetting(), TV::QuickRecord(), PlaybackBox::setRecGroup(), TVRec::SwitchLiveTVRingBuffer(), PlaybackBox::toggleAutoExpire(), TV::ToggleAutoExpire(), and TVRec::TuningRestartRecorder().
Set "preserve" field in "recorded" table to "preserveEpisode".
| preserveEpisode | value to set preserve field to. |
Definition at line 2973 of file programinfo.cpp.
Referenced by PlaybackBox::togglePreserveEpisode().
| bool ProgramInfo::SaveBasename | ( | const QString & | basename | ) |
Sets a recording's basename in the database.
Definition at line 2233 of file programinfo.cpp.
Referenced by CompleteJob().
Store aspect ratio of a frame in the recordedmark table.
Definition at line 3652 of file programinfo.cpp.
Referenced by RecorderBase::AspectChange().
Store the Resolution at frame in the recordedmarkup table.
Definition at line 3771 of file programinfo.cpp.
Referenced by RecorderBase::ResolutionChange().
Store the Frame Rate at frame in the recordedmarkup table.
Definition at line 3682 of file programinfo.cpp.
Referenced by RecorderBase::FrameRateChange().
| void ProgramInfo::SaveTotalDuration | ( | int64_t | duration | ) |
Store the Total Duration at frame 0 in the recordedmarkup table.
Definition at line 3705 of file programinfo.cpp.
Referenced by RecordingInfo::FinishedRecording(), DTVRecorder::FinishRecording(), 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 3737 of file programinfo.cpp.
Referenced by DTVRecorder::FinishRecording(), DecoderBase::SaveTotalFrames(), and RecorderBase::SetTotalFrames().
Definition at line 3923 of file programinfo.cpp.
Referenced by TVRec::FinishedRecording().
Clears the specified flag, then if sets it.
Definition at line 3366 of file programinfo.cpp.
Referenced by DoFlagCommercials(), and DeleteMap::SaveMap().
Definition at line 574 of file programinfo.h.
Referenced by Transcode::TranscodeFile().
Set or unset the record.last_delete field.
| setTime | to set or clear the time stamp. |
Definition at line 3026 of file programinfo.cpp.
Referenced by MainServer::DoHandleUndeleteRecording(), PlaybackBox::RemoveProgram(), SaveAutoExpire(), SavePreserve(), and SaveWatched().
Tracks a recording's in use status, to prevent deletion and to allow the storage scheduler to perform IO load balancing.
Definition at line 4158 of file programinfo.cpp.
Referenced by TVRec::CreateLiveTVRingBuffer(), FileTransfer::FileTransfer(), PreviewGenerator::LocalPreviewRun(), JobQueue::ProcessJob(), JobQueue::RemoveRunningJob(), TVRec::RingBufferChanged(), PlayerContext::SetPlayingInfo(), TVRec::StartRecording(), TVRec::SwitchLiveTVRingBuffer(), TVRec::SwitchRecordingRingBuffer(), TVRec::TeardownRecorder(), MainServer::TruncateAndClose(), TVRec::TuningNewRecorder(), TVRec::TuningRestartRecorder(), TVRec::TuningShutdowns(), UpdateInUseMark(), and FileTransfer::~FileTransfer().
Definition at line 3970 of file programinfo.cpp.
Referenced by MythPlayer::EventLoop(), FileTransfer::GetFileSize(), MythPlayer::GetRawVideoFrame(), FileTransfer::Pause(), FileTransfer::RequestBlock(), MythCCExtractorPlayer::run(), TVRec::run(), FileTransfer::Seek(), FileTransfer::SetTimeout(), FileTransfer::Stop(), MythPlayer::TranscodeGetNextFrame(), MainServer::TruncateAndClose(), FileTransfer::Unpause(), and FileTransfer::WriteBlock().
Definition at line 3987 of file programinfo.cpp.
Referenced by LookerUpper::customEvent(), and PlaybackBox::saveRecMetadata().
| void ProgramInfo::SaveInetRef | ( | const QString & | inet | ) |
Definition at line 4007 of file programinfo.cpp.
Referenced by LookerUpper::CopyRuleInetrefsToRecordings(), LookerUpper::customEvent(), and PlaybackBox::saveRecMetadata().
| QString ProgramInfo::DiscoverRecordingDirectory | ( | void | ) | const |
Definition at line 4102 of file programinfo.cpp.
Referenced by Scheduler::FillRecordingDir(), and MarkAsInUse().
| QString ProgramInfo::GetPlaybackURL | ( | bool | checkMaster = false, |
| bool | forceCheckLocal = false |
||
| ) | const |
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 2303 of file programinfo.cpp.
Referenced by CompleteJob(), commDetector2::debugDirectory(), DiscoverRecordingDirectory(), JobQueue::DoFlagCommercialsThread(), JobQueue::DoTranscodeThread(), get_filename(), GetPlaybackURL(), getProgramInfoForFile(), TV::HandleStateChange(), internal_play_media(), IsFileReadable(), MythPlayer::JumpToProgram(), main(), MarkAsInUse(), RecordingSelector::OKPressed(), preview_helper(), JobQueue::ProcessJob(), PlaybackBox::processNetworkControlCommand(), SubstituteMatches(), TV::SwitchCards(), MythPlayer::SwitchToProgram(), and RecordingSelector::updateSelectedList().
| ProgramInfoType ProgramInfo::DiscoverProgramInfoType | ( | void | ) | const |
Definition at line 2212 of file programinfo.cpp.
Referenced by internal_play_media().
| bool ProgramInfo::QueryCutList | ( | frm_dir_map_t & | delMap, |
| bool | loadAutosave = false |
||
| ) | const |
Definition at line 3074 of file programinfo.cpp.
Referenced by getCutFrames(), GetMarkupList(), DeleteMap::IsSaved(), DeleteMap::LoadAutoSaveMap(), ThumbFinder::loadCutList(), DeleteMap::LoadMap(), main(), and Transcode::TranscodeFile().
| void ProgramInfo::SaveCutList | ( | frm_dir_map_t & | delMap, |
| bool | isAutoSave = false |
||
| ) | const |
Definition at line 3106 of file programinfo.cpp.
Referenced by CopySkipListToCutList(), DeleteMap::SaveMap(), SetCutList(), and SetMarkupList().
| void ProgramInfo::QueryCommBreakList | ( | frm_dir_map_t & | frames | ) | const |
Definition at line 3160 of file programinfo.cpp.
Referenced by CopySkipListToCutList(), GetMarkupList(), MainServer::HandleCutMapQuery(), and CommBreakMap::LoadMap().
| void ProgramInfo::SaveCommBreakList | ( | frm_dir_map_t & | frames | ) | const |
Definition at line 3153 of file programinfo.cpp.
Referenced by ClearSkipList(), DoFlagCommercials(), and SetMarkupList().
| void ProgramInfo::QueryPositionMap | ( | frm_pos_map_t & | posMap, |
| MarkTypes | type | ||
| ) | const |
Definition at line 3374 of file programinfo.cpp.
Referenced by getFrameCount(), DecoderBase::PosMapFromDb(), and QueryLastFrameInPosMap().
Definition at line 3420 of file programinfo.cpp.
Referenced by MpegRecorder::Reset(), DTVRecorder::Reset(), NuppelVideoRecorder::Reset(), Transcode::TranscodeFile(), and UpdatePositionMap().
| void ProgramInfo::SavePositionMap | ( | frm_pos_map_t & | posMap, |
| MarkTypes | type, | ||
| int64_t | min_frm = -1, |
||
| int64_t | max_frm = -1 |
||
| ) | const |
Definition at line 3458 of file programinfo.cpp.
Referenced by UpdatePositionMap().
| void ProgramInfo::SavePositionMapDelta | ( | frm_pos_map_t & | posMap, |
| MarkTypes | type | ||
| ) | const |
Definition at line 3592 of file programinfo.cpp.
Referenced by RecorderBase::SavePositionMap(), and DecoderBase::SavePositionMapDelta().
Sends event out that the ProgramInfo should be reloaded.
Definition at line 2502 of file programinfo.cpp.
Referenced by RecordingInfo::ApplyRecordPlayGroupChange(), RecordingInfo::ApplyRecordRecGroupChange(), RecordingInfo::ApplyRecordRecTitleChange(), RecordingInfo::ApplyStorageGroupChange(), JobQueue::DoFlagCommercialsThread(), JobQueue::DoMetadataLookupThread(), JobQueue::DoUserJobThread(), RecordingInfo::FinishedRecording(), MarkAsInUse(), SaveAutoExpire(), SaveBasename(), SaveBookmark(), SaveCommFlagged(), SaveDeletePendingFlag(), SaveEditing(), SaveInetRef(), SavePreserve(), SaveSeasonEpisode(), SaveTranscodeStatus(), SaveVideoProperties(), SaveWatched(), and RecordingInfo::UpdateRecordingEnd().
Sends event out that the ProgramInfo should be added to lists.
Definition at line 2507 of file programinfo.cpp.
Referenced by SaveDeletePendingFlag(), and RecordingInfo::StartedRecording().
Sends event out that the ProgramInfo should be delete from lists.
Definition at line 2512 of file programinfo.cpp.
Referenced by MainServer::DoHandleDeleteRecording().
|
static |
Translations for play,recording, & storage groups +.
Translations for play,recording, & storage groups.
Definition at line 4493 of file programinfo.cpp.
Referenced by StatusBox::doAutoExpireList(), PlaybackBox::fillRecGroupPasswordCache(), ProgDetails::loadPage(), PlaybackBox::PlaybackBox(), PlaybackProfileConfigs::PlaybackProfileConfigs(), PlaybackBox::setGroupFilter(), PlaybackBox::showGroupFilter(), PlaybackBox::updateGroupInfo(), PlaybackBox::UpdateUIGroupList(), and PlaybackBox::UpdateUIRecGroupList().
|
static |
Creates a unique string that can be used to identify a recording.
Definition at line 1170 of file programinfo.cpp.
|
static |
Extracts chanid and recstartts from a unique key generated by MakeUniqueKey().
Definition at line 1179 of file programinfo.cpp.
Referenced by TV::customEvent(), PlaybackBox::FindProgramInUILists(), ProgramInfoCache::GetProgramInfo(), and incomingCustomEvent().
|
static |
Definition at line 1190 of file programinfo.cpp.
Referenced by QueryKeyFromPathname().
|
static |
Definition at line 1212 of file programinfo.cpp.
Referenced by preview_helper(), and ProgramInfo().
|
static |
Definition at line 4049 of file programinfo.cpp.
|
static |
Definition at line 2558 of file programinfo.cpp.
|
static |
Definition at line 4555 of file programinfo.cpp.
Referenced by LookerUpper::CopyRuleInetrefsToRecordings(), Dvr::GetFilteredRecordedList(), LookerUpper::HandleAllArtwork(), LookerUpper::HandleAllRecordings(), and MainServer::HandleQueryRecordings().
Definition at line 4591 of file programinfo.cpp.
Referenced by LookerUpper::CopyRuleInetrefsToRecordings(), Dvr::GetFilteredRecordedList(), LookerUpper::HandleAllArtwork(), LookerUpper::HandleAllRecordings(), and MainServer::HandleQueryRecordings().
|
static |
Definition at line 4619 of file programinfo.cpp.
Referenced by GetNextRecordingList(), LoadFromScheduler(), and RecordingInfo::RecordingInfo().
|
protected |
Definition at line 3275 of file programinfo.cpp.
Referenced by QueryBookmark(), QueryCommBreakList(), QueryCutList(), and QueryMarkupFlag().
|
protected |
Definition at line 3207 of file programinfo.cpp.
Referenced by SaveBookmark(), SaveCommBreakList(), SaveCutList(), and SaveMarkupFlag().
|
protected |
Definition at line 3166 of file programinfo.cpp.
Referenced by SaveBookmark(), SaveCommBreakList(), SaveCutList(), and SaveMarkupFlag().
|
protected |
Returns a filename for a recording based on the recording channel and date.
Definition at line 2153 of file programinfo.cpp.
Referenced by RecordingInfo::StartedRecording().
|
protected |
Loads ProgramInfo for an existing recording.
Definition at line 1824 of file programinfo.cpp.
Referenced by ProgramInfo().
|
protected |
Uses a QStringList to initialize this ProgramInfo instance.
| beg | 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 1343 of file programinfo.cpp.
|
staticprotected |
Definition at line 3292 of file programinfo.cpp.
|
staticprotected |
Definition at line 3323 of file programinfo.cpp.
Definition at line 4484 of file programinfo.cpp.
Referenced by pginfo_init_statics().
| void ProgramInfo::SetAvailableStatus | ( | AvailableStatusType | status, |
| const QString & | where | ||
| ) |
Definition at line 2217 of file programinfo.cpp.
Referenced by PlaybackBox::customEvent(), PlaybackBox::PlaylistDelete(), PlaybackBox::RemoveProgram(), and PlaybackBox::UpdateUILists().
|
inline |
Definition at line 722 of file programinfo.h.
Referenced by PlaybackBox::customEvent(), PlaybackBox::deleteSelected(), extract_main_state(), PreviewGeneratorQueue::GeneratePreviewImage(), PlaybackBoxHelper::GetPreviewImage(), PlaybackBox::ItemVisible(), PlaybackBox::Play(), PlaybackBox::popupClosed(), PlaybackBox::RemoveProgram(), PlaybackBox::ShowActionPopup(), PlaybackBox::ShowAvailabilityPopup(), and PlaybackBox::ShowMenu().
Definition at line 43 of file programinfo.cpp.
|
protected |
Definition at line 654 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), RecordingInfo::ApplyRecordRecTitleChange(), TV::AskAllowRecording(), clear(), clone(), RecordingInfo::DeleteHistory(), ProgramRecPriority::FillList(), RecordingInfo::FinishedRecording(), RecordingInfo::ForgetHistory(), FromStringList(), RecordingInfo::InsertProgram(), IsSameProgram(), IsSameProgramTimeslot(), IsSameProgramWeakCheck(), IsSameTimeslot(), LoadProgramFromRecorded(), ProgramInfo(), RecordingInfo::ReactivateRecording(), RecordingInfo::RecordingInfo(), SaveDVDBookmark(), SaveWatched(), RecordingInfo::SetDupHistory(), RecordingInfo::StartedRecording(), SubstituteMatches(), ProgramRecPriorityInfo::ToMap(), ToMap(), toString(), ToStringList(), and ProgramRecPriority::upcoming().
|
protected |
Definition at line 655 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), RecordingInfo::ApplyRecordRecTitleChange(), clear(), clone(), RecordingInfo::FinishedRecording(), RecordingInfo::ForgetHistory(), FromStringList(), RecordingInfo::InsertProgram(), IsGeneric(), IsSameProgram(), LoadProgramFromRecorded(), ProgramInfo(), SaveWatched(), RecordingInfo::SetDupHistory(), SubstituteMatches(), ToMap(), toString(), ToStringList(), ProgramRecPriority::updateInfo(), and ProgramRecPriority::UpdateList().
|
protected |
Definition at line 656 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), RecordingInfo::ApplyRecordRecTitleChange(), clear(), clone(), RecordingInfo::ForgetHistory(), FromStringList(), RecordingInfo::InsertProgram(), IsGeneric(), IsSameProgram(), LoadProgramFromRecorded(), ProgramInfo(), RecordingInfo::SetDupHistory(), SubstituteMatches(), ToMap(), and ToStringList().
|
protected |
Definition at line 657 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), clear(), clone(), FromStringList(), RecordingInfo::InsertProgram(), LoadProgramFromRecorded(), ProgramInfo(), SubstituteMatches(), ToMap(), and ToStringList().
|
protected |
Definition at line 658 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), clear(), clone(), FromStringList(), RecordingInfo::InsertProgram(), LoadProgramFromRecorded(), ProgramInfo(), SubstituteMatches(), ToMap(), and ToStringList().
|
protected |
Definition at line 659 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), LoadProgramFromRecorded(), RecordingInfo::RecordingInfo(), SubstituteMatches(), ToMap(), and ToStringList().
|
protected |
Definition at line 660 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), clear(), clone(), FromStringList(), RecordingInfo::InsertProgram(), LoadProgramFromRecorded(), ProgramInfo(), SubstituteMatches(), ProgramRecPriorityInfo::ToMap(), ToMap(), and ToStringList().
|
protected |
Definition at line 662 of file programinfo.h.
Referenced by ProgramRecPriority::changeRecPriority(), clear(), clone(), FromStringList(), LoadProgramFromRecorded(), ProgramInfo(), RecordingInfo::RecordingInfo(), ToMap(), and ToStringList().
|
protected |
Definition at line 664 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), RecordingInfo::ApplyRecordPlayGroupChange(), RecordingInfo::ApplyRecordRecGroupChange(), RecordingInfo::ApplyRecordRecID(), RecordingInfo::ApplyRecordRecTitleChange(), RecordingInfo::ApplyStorageGroupChange(), RecordingInfo::ApplyTranscoderProfileChange(), RecordingInfo::ApplyTranscoderProfileChangeById(), clear(), ClearMarkupMap(), ClearPositionMap(), RecordingInfo::clone(), clone(), CreateRecordBasename(), DiscoverProgramInfoType(), RecordingInfo::FinishedRecording(), RecordingInfo::ForgetHistory(), FromStringList(), RecordingInfo::InsertProgram(), IsSameProgramTimeslot(), IsSameProgramWeakCheck(), IsSameRecording(), IsSameTimeslot(), LoadFromOldRecorded(), LoadFromRecorded(), LoadProgramFromRecorded(), MarkAsInUse(), ProgramInfo(), QueryAutoExpire(), QueryAverageAspectRatio(), QueryAverageFrameRate(), QueryAverageHeight(), QueryAverageWidth(), QueryBasename(), QueryBookmarkTimeStamp(), QueryCategoryType(), QueryFilesize(), QueryIsEditing(), QueryIsInUse(), QueryJobsRunning(), QueryMarkupMap(), QueryMplexID(), QueryPositionMap(), QueryRecordingGroup(), QueryTotalDuration(), QueryTotalFrames(), QueryTranscoderID(), QueryTranscodeStatus(), QueryTuningInfo(), RecordingInfo::RecordingInfo(), Reload(), SaveAspect(), SaveAutoExpire(), SaveBasename(), SaveBookmark(), SaveCommFlagged(), SaveCutList(), SaveDeletePendingFlag(), SaveEditing(), SaveFilesize(), SaveFrameRate(), SaveInetRef(), SaveMarkupMap(), SavePositionMap(), SavePositionMapDelta(), SavePreserve(), SaveResolution(), SaveSeasonEpisode(), SaveTotalDuration(), SaveTotalFrames(), SaveTranscodeStatus(), SaveVideoProperties(), SaveWatched(), SendAddedEvent(), SendDeletedEvent(), SendUpdateEvent(), SetPathname(), RecordingInfo::StartedRecording(), SubstituteMatches(), ToMap(), ToStringList(), and RecordingInfo::UpdateRecordingEnd().
|
protected |
Definition at line 665 of file programinfo.h.
Referenced by ChannelText(), clear(), clone(), FromStringList(), LoadProgramFromRecorded(), ProgramInfo(), RecordingInfo::RecordingInfo(), ToMap(), ToStringList(), ProgramRecPriority::updateInfo(), and ProgramRecPriority::UpdateList().
|
protected |
Definition at line 666 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), ChannelText(), clear(), clone(), RecordingInfo::DeleteHistory(), FromStringList(), IsSameProgramTimeslot(), IsSameTimeslot(), LoadFromOldRecorded(), LoadFromRecorded(), LoadProgramFromRecorded(), ProgramInfo(), RecordingInfo::ReactivateRecording(), RecordingInfo::RecordingInfo(), ToMap(), ToStringList(), ProgramRecPriority::updateInfo(), and ProgramRecPriority::UpdateList().
|
protected |
Definition at line 667 of file programinfo.h.
Referenced by ChannelText(), clear(), clone(), FromStringList(), LoadFromOldRecorded(), LoadFromRecorded(), LoadProgramFromRecorded(), ProgramInfo(), RecordingInfo::RecordingInfo(), ToMap(), toString(), ToStringList(), ProgramRecPriority::updateInfo(), and ProgramRecPriority::UpdateList().
|
protected |
Definition at line 668 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), LoadProgramFromRecorded(), ProgramInfo(), RecordingInfo::RecordingInfo(), ToMap(), and ToStringList().
|
protected |
Definition at line 670 of file programinfo.h.
Referenced by RecordingInfo::ApplyRecordRecGroupChange(), clear(), clone(), FromStringList(), RecordingInfo::InsertProgram(), LoadProgramFromRecorded(), QueryRecordingGroup(), SubstituteMatches(), ToMap(), and ToStringList().
|
protected |
Definition at line 671 of file programinfo.h.
Referenced by RecordingInfo::ApplyRecordPlayGroupChange(), clear(), clone(), FromStringList(), RecordingInfo::InsertProgram(), LoadProgramFromRecorded(), SubstituteMatches(), ToMap(), and ToStringList().
|
mutableprotected |
Definition at line 673 of file programinfo.h.
Referenced by clear(), ClearMarkupMap(), ClearPositionMap(), clone(), DiscoverProgramInfoType(), DiscoverRecordingDirectory(), FromStringList(), RecordingInfo::InsertProgram(), IsFileReadable(), LoadProgramFromRecorded(), MarkAsInUse(), QueryMarkupMap(), QueryPositionMap(), SaveMarkupMap(), SavePositionMap(), SavePositionMapDelta(), SaveWatched(), SetPathname(), RecordingInfo::StartedRecording(), and ToStringList().
|
protected |
Definition at line 675 of file programinfo.h.
Referenced by clear(), clone(), DiscoverRecordingDirectory(), FromStringList(), GetPlaybackURL(), RecordingInfo::InsertProgram(), LoadFromRecorded(), LoadProgramFromRecorded(), MarkAsInUse(), RecordingInfo::RecordingInfo(), RecordingInfo::StartedRecording(), SubstituteMatches(), and ToStringList().
|
protected |
Definition at line 676 of file programinfo.h.
Referenced by RecordingInfo::ApplyStorageGroupChange(), clear(), clone(), FromStringList(), GetPlaybackURL(), RecordingInfo::InsertProgram(), LoadProgramFromRecorded(), RecordingInfo::RecordingInfo(), ToMap(), and ToStringList().
|
protected |
Definition at line 678 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), clear(), clone(), FromStringList(), RecordingInfo::InsertProgram(), LoadProgramFromRecorded(), ToMap(), and ToStringList().
|
protected |
Definition at line 679 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), clear(), clone(), RecordingInfo::ForgetHistory(), FromStringList(), RecordingInfo::InsertProgram(), IsGeneric(), IsSameProgram(), LoadProgramFromRecorded(), ProgramInfo(), RecordingInfo::SetDupHistory(), ToMap(), and ToStringList().
|
protected |
Definition at line 680 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), clear(), clone(), FromStringList(), RecordingInfo::InsertProgram(), LoadProgramFromRecorded(), ProgramInfo(), SubstituteMatches(), ToMap(), and ToStringList().
|
protected |
Definition at line 681 of file programinfo.h.
Referenced by clear(), clone(), GetCategoryTypeString(), IsGeneric(), IsSameProgram(), LoadProgramFromRecorded(), RecordingInfo::RecordingInfo(), and ToMap().
|
protected |
Definition at line 683 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), LoadProgramFromRecorded(), QueryFilesize(), ToMap(), and ToStringList().
|
protected |
Definition at line 685 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), clear(), RecordingInfo::clone(), clone(), FromStringList(), GetSecondsInRecording(), RecordingInfo::InsertProgram(), IsSameProgramTimeslot(), IsSameProgramWeakCheck(), IsSameTimeslot(), LoadProgramFromRecorded(), ProgramInfo(), QueryCategoryType(), RecordingInfo::ReactivateRecording(), RecordingInfo::RecordingInfo(), SaveVideoProperties(), RecordingInfo::StartedRecording(), SubstituteMatches(), ToMap(), toString(), and ToStringList().
|
protected |
Definition at line 686 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), clear(), clone(), FromStringList(), GetSecondsInRecording(), RecordingInfo::InsertProgram(), IsSameProgramTimeslot(), LoadProgramFromRecorded(), ProgramInfo(), RecordingInfo::RecordingInfo(), SubstituteMatches(), ToMap(), toString(), and ToStringList().
|
protected |
Definition at line 687 of file programinfo.h.
Referenced by RecordingInfo::ApplyRecordPlayGroupChange(), RecordingInfo::ApplyRecordRecGroupChange(), RecordingInfo::ApplyRecordRecID(), RecordingInfo::ApplyRecordRecTitleChange(), RecordingInfo::ApplyStorageGroupChange(), RecordingInfo::ApplyTranscoderProfileChange(), RecordingInfo::ApplyTranscoderProfileChangeById(), clear(), ClearMarkupMap(), ClearPositionMap(), RecordingInfo::clone(), clone(), CreateRecordBasename(), RecordingInfo::DeleteHistory(), RecordingInfo::FinishedRecording(), RecordingInfo::ForgetHistory(), FromStringList(), GetSecondsInRecording(), RecordingInfo::InsertProgram(), IsSameRecording(), LoadFromRecorded(), LoadProgramFromRecorded(), MarkAsInUse(), ProgramInfo(), QueryAutoExpire(), QueryAverageAspectRatio(), QueryAverageFrameRate(), QueryAverageHeight(), QueryAverageWidth(), QueryBasename(), QueryBookmarkTimeStamp(), QueryFilesize(), QueryIsEditing(), QueryIsInUse(), QueryJobsRunning(), QueryMarkupMap(), QueryPositionMap(), QueryRecordingGroup(), QueryTotalDuration(), QueryTotalFrames(), QueryTranscoderID(), QueryTranscodeStatus(), RecordingInfo::RecordingInfo(), Reload(), SaveAspect(), SaveAutoExpire(), SaveBasename(), SaveBookmark(), SaveCommFlagged(), SaveCutList(), SaveDeletePendingFlag(), SaveEditing(), SaveFilesize(), SaveFrameRate(), SaveInetRef(), SaveMarkupMap(), SavePositionMap(), SavePositionMapDelta(), SavePreserve(), SaveResolution(), SaveSeasonEpisode(), SaveTotalDuration(), SaveTotalFrames(), SaveTranscodeStatus(), SaveWatched(), SendAddedEvent(), SendDeletedEvent(), SendUpdateEvent(), RecordingInfo::StartedRecording(), SubstituteMatches(), ToMap(), toString(), ToStringList(), UpdateLastDelete(), and RecordingInfo::UpdateRecordingEnd().
|
protected |
Definition at line 688 of file programinfo.h.
Referenced by clear(), clone(), RecordingInfo::FinishedRecording(), FromStringList(), RecordingInfo::InsertProgram(), LoadProgramFromRecorded(), ProgramInfo(), RecordingInfo::RecordingInfo(), SubstituteMatches(), ToMap(), toString(), ToStringList(), and RecordingInfo::UpdateRecordingEnd().
|
protected |
Rating, range [0..1].
Definition at line 690 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), RecordingInfo::InsertProgram(), LoadProgramFromRecorded(), RecordingInfo::RecordingInfo(), ToMap(), and ToStringList().
|
protected |
Definition at line 691 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), RecordingInfo::InsertProgram(), LoadProgramFromRecorded(), ProgramInfo(), RecordingInfo::RecordingInfo(), SubstituteMatches(), ToMap(), and ToStringList().
|
protected |
Definition at line 692 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), LoadProgramFromRecorded(), RecordingInfo::RecordingInfo(), ToMap(), and ToStringList().
|
protected |
Definition at line 693 of file programinfo.h.
Referenced by clear(), clone(), LoadProgramFromRecorded(), MarkAsInUse(), and UpdateInUseMark().
|
protected |
Definition at line 695 of file programinfo.h.
Referenced by clear(), clone(), and LoadProgramFromRecorded().
|
protected |
Definition at line 696 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), LoadProgramFromRecorded(), ToMap(), and ToStringList().
|
protected |
Definition at line 698 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), clear(), clone(), RecordingInfo::DeleteHistory(), RecordingInfo::ForgetHistory(), FromStringList(), RecordingInfo::getRecordID(), RecordingInfo::InsertProgram(), IsSameProgram(), LoadProgramFromRecorded(), ProgramInfo(), RecordingInfo::RecordingInfo(), SaveInetRef(), SaveSeasonEpisode(), ToStringList(), and UpdateLastDelete().
|
protected |
Definition at line 699 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), RecordingInfo::ApplyRecordRecID(), clear(), clone(), RecordingInfo::DeleteHistory(), RecordingInfo::ForgetHistory(), FromStringList(), RecordingInfo::InsertProgram(), IsSameProgram(), LoadProgramFromRecorded(), RecordingInfo::RecordingInfo(), RecordingInfo::SubstituteMatches(), and ToStringList().
|
protected |
Definition at line 701 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), LoadProgramFromRecorded(), QueryTuningInfo(), RecordingInfo::RecordingInfo(), and ToStringList().
|
protected |
Definition at line 702 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), LoadProgramFromRecorded(), ProgramInfo(), QueryInputDisplayName(), RecordingInfo::RecordingInfo(), ToMap(), and ToStringList().
|
protected |
Definition at line 703 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), LoadProgramFromRecorded(), ProgramInfo(), QueryTuningInfo(), RecordingInfo::RecordingInfo(), ToMap(), and ToStringList().
|
protected |
Definition at line 704 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), clear(), clone(), RecordingInfo::DeleteHistory(), RecordingInfo::ForgetHistory(), FromStringList(), RecordingInfo::InsertProgram(), IsSameProgram(), LoadProgramFromRecorded(), ProgramInfo(), RecordingInfo::RecordingInfo(), RecordingInfo::SetDupHistory(), RecordingInfo::SubstituteMatches(), and ToStringList().
|
protected |
ProgramFlag.
Definition at line 706 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), LoadProgramFromRecorded(), MarkAsInUse(), ProgramInfo(), QueryBookmark(), QueryDVDBookmark(), QueryIsEditing(), RecordingInfo::RecordingInfo(), SaveAutoExpire(), SaveBookmark(), SaveCommFlagged(), SaveDeletePendingFlag(), SaveEditing(), SavePreserve(), SaveTranscodeStatus(), SaveWatched(), ToMap(), and ToStringList().
|
protected |
SubtitleType,VideoProperty,AudioProperty.
Definition at line 707 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), LoadProgramFromRecorded(), RecordingInfo::RecordingInfo(), and SaveVideoProperties().
|
protected |
Definition at line 708 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), LoadProgramFromRecorded(), ProgramInfo(), RecordingInfo::RecordingInfo(), ToMap(), and ToStringList().
|
protected |
Definition at line 709 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), LoadProgramFromRecorded(), RecordingInfo::RecordingInfo(), SubstituteMatches(), ToMap(), and ToStringList().
|
protected |
Definition at line 710 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), LoadProgramFromRecorded(), RecordingInfo::RecordingInfo(), SubstituteMatches(), ToMap(), and ToStringList().
|
protected |
Definition at line 712 of file programinfo.h.
Referenced by clear(), clone(), ProgramRecPriority::deactivate(), ProgramRecPriority::FillList(), RecordingInfo::FinishedRecording(), FromStringList(), LoadFromRecorded(), LoadProgramFromRecorded(), ProgramInfo(), RecordingInfo::RecordingInfo(), ProgramRecPriority::scheduleChanged(), RecordingInfo::SubstituteMatches(), ToMap(), ToStringList(), and ProgramRecPriority::UpdateList().
|
protected |
Definition at line 713 of file programinfo.h.
Referenced by LoadProgramFromRecorded().
|
protected |
Definition at line 714 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), RecordingInfo::ApplyRecordRecID(), clear(), clone(), FromStringList(), RecordingInfo::InsertProgram(), LoadProgramFromRecorded(), ProgramInfo(), RecordingInfo::RecordingInfo(), RecordingInfo::SubstituteMatches(), ToStringList(), ProgramRecPriority::updateInfo(), and ProgramRecPriority::UpdateList().
|
protected |
Definition at line 715 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), LoadProgramFromRecorded(), ProgramInfo(), RecordingInfo::RecordingInfo(), and ToStringList().
|
protected |
Definition at line 716 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), IsSameProgram(), LoadProgramFromRecorded(), ProgramInfo(), RecordingInfo::RecordingInfo(), and ToStringList().
|
protected |
Definition at line 719 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), LoadProgramFromRecorded(), and SetAvailableStatus().
| int8_t ProgramInfo::spread |
Definition at line 724 of file programinfo.h.
Referenced by clear(), clone(), GuideGrid::cursorRight(), GuideGrid::fillProgramRowInfos(), FromStringList(), and LoadProgramFromRecorded().
| int8_t ProgramInfo::startCol |
Definition at line 725 of file programinfo.h.
Referenced by clear(), clone(), GuideGrid::cursorLeft(), GuideGrid::cursorRight(), GuideGrid::fillProgramRowInfos(), FromStringList(), and LoadProgramFromRecorded().
| QString ProgramInfo::sortTitle |
Definition at line 726 of file programinfo.h.
Referenced by clear(), clone(), ProgLister::FillItemList(), ProgramRecPriority::FillList(), FromStringList(), LoadProgramFromRecorded(), TitleSort::operator()(), ProgramCountSort::operator()(), ProgramRecCountSort::operator()(), ProgramLastRecordSort::operator()(), ProgramAvgDelaySort::operator()(), plTitleSort::operator()(), plPrevTitleSort::operator()(), and ProgramRecPriority::scheduleChanged().
|
static |
Definition at line 728 of file programinfo.h.
Referenced by LoadFromRecorded(), and LoadProgramFromRecorded().
|
protected |
Definition at line 731 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), LoadProgramFromRecorded(), MarkAsInUse(), QueryInUseMap(), and UpdateInUseMark().
|
protected |
Definition at line 732 of file programinfo.h.
Referenced by clear(), ClearPositionMap(), clone(), FromStringList(), LoadProgramFromRecorded(), QueryPositionMap(), SavePositionMap(), and SavePositionMapDelta().
|
staticprotected |
Definition at line 734 of file programinfo.h.
Referenced by InitStatics(), and RecordingInfo::RecordingInfo().
|
staticprotected |
Definition at line 735 of file programinfo.h.
Referenced by InitStatics(), SaveFilesize(), SendAddedEvent(), SendDeletedEvent(), and SendUpdateEvent().
Definition at line 736 of file programinfo.h.
Referenced by CheckProgramIDAuthorities(), and IsSameProgram().
1.8.3