Holds information on recordings and videos. More...
#include <programinfo.h>
Public Types | |
| 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, 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, int recpriority, uint64_t filesize, const QDateTime &startts, const QDateTime &endts, const QDateTime &recstartts, const QDateTime &recendts, float stars, uint year, 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, const QString &category, uint chanid, const QString &channum, const QString &chansign, const QString &channame, const QString &seriesid, const QString &programid, 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 &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 QString &catType, float stars, uint year, const QDate &originalAirDate, RecStatusType recstatus, uint recordid, RecordingType rectype, uint findid, bool commfree, bool repeat, const ProgramList &schedList, bool oneChanid) | |
| Constructs a ProgramInfo from listings data in 'program' table. | |
| ProgramInfo (const QString &title, const QString &subtitle, const QString &description, 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) | |
| 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, uint length_in_minutes, uint year) | |
| Constructs a ProgramInfo for a pathname. | |
| 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 |
| 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 (MythDateFormat fmt) const |
| The scheduled start time of program (with formatting). | |
| QDateTime | GetScheduledEndTime (void) const |
| The scheduled end time of the program. | |
| QString | GetScheduledEndTime (MythDateFormat fmt) const |
| The scheduled end time of the program (with formatting). | |
| QDateTime | GetRecordingStartTime (void) const |
| Approximate time the recording started. | |
| QString | GetRecordingStartTime (MythDateFormat 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 (MythDateFormat 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 (MythDateFormat fmt) const |
| uint64_t | GetFilesize (void) const |
| QString | GetSeriesID (void) const |
| QString | GetProgramID (void) const |
| QString | GetCategoryType (void) const |
| 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 | 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 | SetCategoryType (const QString &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. | |
| QStringList | QueryDVDBookmark (const QString &serialid, bool delbookmark) 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. | |
| 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. | |
| 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 |
| 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 | SaveResolutionProperty (VideoProperty vid_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) |
| 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. | |
| void | QueryCutList (frm_dir_map_t &) const |
| void | SaveCutList (frm_dir_map_t &) 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 int | GetRecordingTypeRecPriority (RecordingType type) |
| Returns recording priority change needed due to RecordingType. | |
| 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 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) |
Protected Attributes | |
| QString | title |
| QString | subtitle |
| QString | description |
| QString | category |
| int32_t | recpriority |
| uint32_t | chanid |
| QString | chanstr |
| QString | chansign |
| QString | channame |
| QString | chanplaybackfilters |
| QString | recgroup |
| QString | playgroup |
| QString | pathname |
| QString | hostname |
| QString | storagegroup |
| QString | seriesid |
| QString | programid |
| QString | catType |
| uint64_t | filesize |
| QDateTime | startts |
| QDateTime | endts |
| QDateTime | recstartts |
| QDateTime | recendts |
| float | stars |
| Rating, range [0..1]. | |
| QDate | originalAirDate |
| QDateTime | lastmodified |
| QDateTime | lastInUseTime |
| uint32_t | prefinput |
| int32_t | recpriority2 |
| uint32_t | recordid |
| uint32_t | parentid |
| uint32_t | sourceid |
| uint32_t | inputid |
| uint32_t | cardid |
| uint32_t | findid |
| uint32_t | programflags |
| ProgramFlag. | |
| uint16_t | properties |
| SubtitleType,VideoProperty,AudioProperty. | |
| uint16_t | year |
| int8_t | recstatus |
| int8_t | oldrecstatus |
| uint8_t | rectype |
| uint8_t | dupin |
| uint8_t | dupmethod |
| uint8_t | availableStatus |
| QString | inUseForWhat |
| PMapDBReplacement * | positionMapDBReplacement |
Static Protected Attributes | |
| static QMutex | staticDataLock |
| static ProgramInfoUpdater * | updater |
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 67 of file programinfo.h.
Definition at line 425 of file programinfo.h.
| ProgramInfo::ProgramInfo | ( | void | ) |
Null constructor.
Definition at line 83 of file programinfo.cpp.
| ProgramInfo::ProgramInfo | ( | const ProgramInfo & | other | ) |
Copy constructor.
Definition at line 159 of file programinfo.cpp.
| ProgramInfo::ProgramInfo | ( | uint | chanid, | |
| const QDateTime & | recstartts | |||
| ) |
Constructs a ProgramInfo from data in 'recorded' table.
Definition at line 230 of file programinfo.cpp.
| ProgramInfo::ProgramInfo | ( | const QString & | title, | |
| const QString & | subtitle, | |||
| const QString & | description, | |||
| 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, | |||
| int | recpriority, | |||
| uint64_t | filesize, | |||
| const QDateTime & | startts, | |||
| const QDateTime & | endts, | |||
| const QDateTime & | recstartts, | |||
| const QDateTime & | recendts, | |||
| float | stars, | |||
| uint | year, | |||
| 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 237 of file programinfo.cpp.
| ProgramInfo::ProgramInfo | ( | const QString & | title, | |
| const QString & | subtitle, | |||
| const QString & | description, | |||
| const QString & | category, | |||
| uint | chanid, | |||
| const QString & | channum, | |||
| const QString & | chansign, | |||
| const QString & | channame, | |||
| const QString & | seriesid, | |||
| const QString & | programid, | |||
| 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 363 of file programinfo.cpp.
| ProgramInfo::ProgramInfo | ( | const QString & | title, | |
| const QString & | subtitle, | |||
| const QString & | description, | |||
| 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 QString & | catType, | |||
| float | stars, | |||
| uint | year, | |||
| const QDate & | originalAirDate, | |||
| RecStatusType | recstatus, | |||
| uint | recordid, | |||
| RecordingType | rectype, | |||
| uint | findid, | |||
| bool | commfree, | |||
| bool | repeat, | |||
| const ProgramList & | schedList, | |||
| bool | oneChanid | |||
| ) |
Constructs a ProgramInfo from listings data in 'program' table.
Definition at line 462 of file programinfo.cpp.
| ProgramInfo::ProgramInfo | ( | const QString & | title, | |
| const QString & | subtitle, | |||
| const QString & | description, | |||
| 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 | |||
| ) |
Constructs a basic ProgramInfo (used by RecordingInfo).
Definition at line 606 of file programinfo.cpp.
| ProgramInfo::ProgramInfo | ( | const QString & | pathname | ) |
Constructs a ProgramInfo for a pathname.
Definition at line 699 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, | |||
| uint | length_in_minutes, | |||
| uint | year | |||
| ) |
Constructs a ProgramInfo for a pathname.
Definition at line 732 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 786 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 829 of file programinfo.cpp.
| ProgramInfo::ProgramInfo | ( | QStringList::const_iterator & | it, | |
| QStringList::const_iterator | end | |||
| ) | [inline] |
Definition at line 231 of file programinfo.h.
| ProgramInfo::ProgramInfo | ( | const QStringList & | list | ) | [inline] |
Definition at line 239 of file programinfo.h.
| ProgramInfo::~ProgramInfo | ( | ) | [virtual] |
Destructor deletes "record" if it exists.
Definition at line 1035 of file programinfo.cpp.
| ProgramInfo & ProgramInfo::operator= | ( | const ProgramInfo & | other | ) |
Copies important fields from other ProgramInfo.
Reimplemented in RecordingInfo, and ProgramRecPriorityInfo.
Definition at line 845 of file programinfo.cpp.
| void ProgramInfo::clone | ( | const ProgramInfo & | other, | |
| bool | ignore_non_serialized_data = false | |||
| ) | [virtual] |
Copies important fields from other ProgramInfo.
Reimplemented in RecordingInfo.
Definition at line 852 of file programinfo.cpp.
Referenced by PlaybackSock::FillProgramInfo(), RecordingInfo::operator=(), operator=(), and Reload().
| void ProgramInfo::clear | ( | void | ) | [virtual] |
Reimplemented in RecordingInfo, and ProgramRecPriorityInfo.
Definition at line 958 of file programinfo.cpp.
Referenced by 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 1113 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(), PreviewGeneratorQueue::GetPreviewImage(), PlaybackBoxHelper::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(), TVRec::StartRecording(), PlaybackSock::StartRecording(), TV::StartTV(), PlaybackSock::StopRecording(), and PlaybackBoxHelper::StopRecording().
| void ProgramInfo::ToMap | ( | QHash< QString, QString > & | progMap, | |
| bool | showrerecord = false, |
|||
| uint | star_range = 10 | |||
| ) | const [virtual] |
Converts ProgramInfo into QString QHash containing each field in ProgramInfo converted into localized strings.
Definition at line 1272 of file programinfo.cpp.
Referenced by ProgLister::ClearCurrentProgramInfo(), ViewScheduled::FillList(), PlayerContext::GetPlayingInfoMap(), ProgLister::HandleSelected(), PostProcEditor::Load(), StoreOptEditor::Load(), SchedOptEditor::Load(), ScheduleEditor::Load(), TVBrowseHelper::run(), TV::ToggleRecord(), ViewScheduleDiff::updateInfo(), ViewScheduled::updateInfo(), ProgramRecPriority::updateInfo(), GuideGrid::updateInfo(), ProgramRecPriority::UpdateList(), DeleteMap::UpdateOSD(), ViewScheduleDiff::updateUIList(), and PlaybackBox::UpdateUIListItem().
| void ProgramInfo::SubstituteMatches | ( | QString & | str | ) | [virtual] |
Subsitute MATCH% type variable names in the given string.
| str | QString to substitute matches in |
Reimplemented in RecordingInfo.
Definition at line 3878 of file programinfo.cpp.
Referenced by JobQueue::GetJobCommand(), and MythSystemEventHandler::SubstituteMatches().
| bool ProgramInfo::IsSameProgram | ( | const ProgramInfo & | other | ) | const |
Checks for duplicates according to dupmethod.
| other | ProgramInfo to compare this one with. |
Definition at line 1772 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 1824 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 1842 of file programinfo.cpp.
Referenced by Scheduler::AddRecording(), and Scheduler::UpdateRecStatus().
| int ProgramInfo::GetRecordingTypeRecPriority | ( | RecordingType | type | ) | [static] |
Returns recording priority change needed due to RecordingType.
Definition at line 1731 of file programinfo.cpp.
Referenced by Scheduler::AddNewRecords().
| 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 1761 of file programinfo.cpp.
Referenced by TVRec::StartRecording().
| bool ProgramInfo::IsSameRecording | ( | const ProgramInfo & | other | ) | const [inline] |
Definition at line 272 of file programinfo.h.
Referenced by Scheduler::GetRecStatus(), and EncoderLink::MatchesRecording().
| QString ProgramInfo::MakeUniqueKey | ( | void | ) | const [inline] |
Creates a unique string that can be used to identify an existing recording.
Definition at line 278 of file programinfo.h.
Referenced by TV::AskAllowRecording(), PlaybackBoxHelper::CheckAvailability(), commDetectorGotNewCommercialBreakList(), TV::customEvent(), DoFlagCommercials(), MythPlayer::EventLoop(), PlaybackBoxHelper::GetPreviewImage(), MainServer::HandleGenPreviewPixmap(), TV::HandleStateChange(), LoadFromRecorded(), PlaybackBoxHelper::LocateArtwork(), MakeUniqueKey(), RecordingInfo::MakeUniqueSchedulerKey(), QueryInUseMap(), QueryJobsRunning(), PreviewGenerator::RemotePreviewRun(), PlaybackBox::RemoveProgram(), restore_position(), PreviewGenerator::Run(), PreviewGenerator::RunReal(), save_position(), PreviewGeneratorQueue::SendEvent(), PlaybackBox::SetItemIcons(), PlaybackBox::ShowActionPopup(), PlaybackBox::togglePlayListItem(), and PlaybackBox::UpdateUILists().
| uint ProgramInfo::GetSecondsInRecording | ( | void | ) | const |
Returns length of program/recording in seconds.
Definition at line 1499 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 3407 of file programinfo.cpp.
Referenced by ProgramInfo(), and ToMap().
| QString ProgramInfo::GetPathname | ( | void | ) | const [inline] |
Definition at line 282 of file programinfo.h.
Referenced by BuildVideoMarkup(), AutoExpire::ExpireRecordings(), Scheduler::FillRecordingDir(), PreviewGeneratorQueue::GeneratePreviewImage(), get_filename(), PlayerContext::GetPlayingInfoMap(), PreviewGeneratorQueue::GetPreviewImage(), TVRec::GetProgramRingBufferForLiveTV(), MainServer::HandleQueryRecordings(), TV::HandleStateChange(), internal_play_media(), main(), ImportRecorder::Open(), print_comm_flag_output(), PreviewGenerator::Run(), PreviewGenerator::RunReal(), Scheduler::RunScheduler(), TVRec::StartedRecording(), ImportRecorder::StartRecording(), RecordingSelector::titleChanged(), TV::ToggleRecord(), and TVRec::TuningNewRecorder().
| QString ProgramInfo::GetBasename | ( | void | ) | const [inline] |
Definition at line 283 of file programinfo.h.
Referenced by clone(), LiveTVChain::EntryToProgram(), PreviewGeneratorQueue::GeneratePreviewImage(), PlayerContext::GetPlayingInfoMap(), PreviewGeneratorQueue::GetPreviewImage(), MainServer::HandleQueryRecordings(), ProgDetails::loadPage(), LoadProgramFromRecorded(), MarkAsInUse(), QueryBasename(), PreviewGenerator::SaveOutFile(), MythPlayer::SeekForScreenGrab(), SubstituteMatches(), and TV::ToggleRecord().
| bool ProgramInfo::IsVideoFile | ( | void | ) | const [inline] |
Definition at line 284 of file programinfo.h.
Referenced by PlayerContext::GetPlayingInfoMap(), SaveWatched(), and TV::ToggleRecord().
| bool ProgramInfo::IsVideoDVD | ( | void | ) | const [inline] |
Definition at line 286 of file programinfo.h.
Referenced by PlayerContext::GetPlayingInfoMap(), internal_play_media(), PlayerContext::SetInitialTVState(), and TV::ToggleRecord().
| bool ProgramInfo::IsVideoBD | ( | void | ) | const [inline] |
Definition at line 288 of file programinfo.h.
Referenced by PlayerContext::GetPlayingInfoMap(), PlayerContext::SetInitialTVState(), and TV::ToggleRecord().
| bool ProgramInfo::IsLocal | ( | void | ) | const [inline] |
Definition at line 290 of file programinfo.h.
Referenced by EncoderLink::CheckFile(), DiscoverRecordingDirectory(), JobQueue::DoFlagCommercialsThread(), AutoExpire::ExpireRecordings(), MainServer::HandleGenPreviewPixmap(), IsFileReadable(), TVRec::SwitchLiveTVRingBuffer(), and TVRec::TeardownRecorder().
| bool ProgramInfo::IsMythStream | ( | void | ) | const [inline] |
Definition at line 291 of file programinfo.h.
Referenced by BuildVideoMarkup(), IsFileReadable(), and TV::PlayFromRecorder().
| bool ProgramInfo::IsPathSet | ( | void | ) | const [inline] |
Definition at line 292 of file programinfo.h.
Referenced by PlaybackBox::Play().
| bool ProgramInfo::HasPathname | ( | void | ) | const [inline] |
Definition at line 293 of file programinfo.h.
Referenced by PlaybackSock::FillProgramInfo(), PlaybackSock::GetRecording(), MainServer::HandleGenPreviewPixmap(), RemoteFillProgramInfo(), and TV::StartTV().
| bool ProgramInfo::IsFileReadable | ( | void | ) | const |
Attempts to ascertain if the main file for this ProgramInfo is readable.
Definition at line 3439 of file programinfo.cpp.
Referenced by TV::timerEvent().
| QString ProgramInfo::GetTitle | ( | void | ) | const [inline] |
Definition at line 296 of file programinfo.h.
Referenced by Scheduler::AddRecording(), TV::AskAllowRecording(), RecordingRule::AssignProgramInfo(), Scheduler::BuildListMaps(), comp_overlap(), comp_redundant(), RecMetadataEdit::Create(), PlaybackBox::CreateProgramInfoString(), ProgFinder::customEvent(), ProgLister::DeleteOldSeries(), GuideGrid::details(), StatusBox::doAutoExpireList(), MainServer::DoHandleDeleteRecording(), StatusBox::doJobQueueStatus(), StatusBox::doTunerStatus(), ProgFinder::edit(), GuideGrid::editRecSchedule(), GuideGrid::editSchedule(), MythDVDPlayer::EventStart(), AutoExpire::ExpireRecordings(), extract_subtitle(), ProgLister::FillItemList(), TV::FillOSDMenuJumpRec(), TV::FillOSDMenuSource(), MythXML::FillProgramInfo(), GuideGrid::fillProgramRowInfos(), Scheduler::FindConflict(), Scheduler::FindNextConflict(), TVRec::FinishedRecording(), FlagCommercials(), ProgFinder::getInfo(), PlayGroup::GetInitialName(), RecordingSelector::getRecordingList(), GuideGrid::keyPressEvent(), CustomEdit::loadClauses(), CustomPriority::loadData(), CustomEdit::loadData(), ProgDetails::loadPage(), Scheduler::MarkOtherShowings(), RecordingSelector::OKPressed(), TV::Playback(), print_comm_flag_output(), Scheduler::PutInactiveSlavesToSleep(), GuideGrid::quickRecord(), RemoteGetRecordingStatus(), Scheduler::RunScheduler(), PlaybackBox::saveRecMetadata(), PlayerContext::SetPseudoLiveTV(), ProgLister::ShowDeleteOldEpisodeMenu(), ProgLister::ShowDeleteOldSeriesMenu(), TV::ShowLCDChannelInfo(), TV::ShowOSDPromptDeleteRecording(), ScheduleEditor::showPrevious(), ScheduleCommon::ShowUpcoming(), Scheduler::SlaveConnected(), Scheduler::SlaveDisconnected(), TVRec::StartRecording(), TV::StartTV(), TV::timerEvent(), RecordingSelector::titleChanged(), TV::ToggleOSD(), TV::ToggleRecord(), Scheduler::TryAnotherShowing(), TVRec::TuningRestartRecorder(), GuideGrid::upcoming(), RecordingSelector::updateRecordingList(), PlaybackBox::UpdateUIListItem(), and PlaybackBox::UpdateUILists().
| QString ProgramInfo::GetSubtitle | ( | void | ) | const [inline] |
Definition at line 297 of file programinfo.h.
Referenced by RecordingRule::AssignProgramInfo(), RecMetadataEdit::Create(), PlaybackBox::CreateProgramInfoString(), StatusBox::doTunerStatus(), extract_subtitle(), ProgLister::FillItemList(), TV::FillOSDMenuJumpRec(), TV::FillOSDMenuSource(), MythXML::FillProgramInfo(), CustomEdit::loadClauses(), ProgDetails::loadPage(), RecordingSelector::OKPressed(), TV::Playback(), RemoteGetRecordingStatus(), TV::ShowLCDChannelInfo(), ScheduleCommon::ShowNotRecordingDialog(), TV::ShowOSDPromptDeleteRecording(), ScheduleCommon::ShowRecordingDialog(), RecordingSelector::titleChanged(), and ProgramRecPriority::UpdateList().
| QString ProgramInfo::GetDescription | ( | void | ) | const [inline] |
Definition at line 298 of file programinfo.h.
Referenced by RecordingRule::AssignProgramInfo(), MythXML::FillProgramInfo(), CustomEdit::loadClauses(), ProgDetails::loadPage(), RecordingSelector::OKPressed(), ScheduleCommon::ShowNotRecordingDialog(), ProgLister::ShowOldRecordedMenu(), ScheduleCommon::ShowRecordingDialog(), RecordingSelector::titleChanged(), and TV::ToggleOSD().
| QString ProgramInfo::GetCategory | ( | void | ) | const [inline] |
Definition at line 299 of file programinfo.h.
Referenced by RecordingRule::AssignProgramInfo(), MythXML::FillProgramInfo(), GuideGrid::fillProgramRowInfos(), PlayGroup::GetInitialName(), TVRec::GetRecordEndTime(), CustomEdit::loadClauses(), ProgDetails::loadPage(), and PlaybackBox::UpdateUILists().
| uint ProgramInfo::GetChanID | ( | void | ) | const [inline] |
This is the unique key used in the database to locate tuning information.
[1..2^32] are valid keys, 0 is not.
Definition at line 302 of file programinfo.h.
Referenced by ProgramInfoCache::Add(), LiveTVChain::AppendNewProgram(), TV::AskAllowRecording(), RecordingRule::AssignProgramInfo(), TVBrowseHelper::BrowseStart(), TV::ChangeChannel(), RecordingInfo::clone(), comp_overlap(), comp_recstart(), CompleteJob(), TV::customEvent(), StatusBox::customEvent(), ScheduleCommon::customEvent(), PlaybackBox::customEvent(), MainServer::customEvent(), ProgLister::DeleteOldEpisode(), LiveTVChain::DeleteProgram(), PlaybackBox::deleteSelected(), MainServer::DoDeleteThread(), TV::DoEditSchedule(), DoFlagCommercials(), MainServer::DoHandleDeleteRecording(), PlaybackBox::doJobQueueJob(), StatusBox::doJobQueueStatus(), PlaybackBox::doPlaylistJobQueueJob(), TV::DoQueueTranscode(), StatusBox::doTunerStatus(), LiveTVChain::EntryToProgram(), MythPlayer::EventLoop(), extract_job_state(), MythXML::FillChannelInfo(), AutoExpire::FillDBOrdered(), TV::FillOSDMenuJobs(), PlaybackSock::FillProgramInfo(), Scheduler::FillRecordingDir(), HttpStatus::FillStatusXML(), Scheduler::FindNextConflict(), PlaybackBox::FindProgramInUILists(), TVRec::FinishedRecording(), LiveTVChain::FinishedRecording(), FlagCommercials(), GetPlaybackURL(), PlayerContext::GetPlayingInfoMap(), MythXML::GetProgramGuide(), getProgramInfoForFile(), RemoteEncoder::GetRecording(), PlaybackSock::GetRecording(), JobQueue::GetRunningJobID(), MainServer::HandleAnnounce(), TV::HandlePseudoLiveTVTimerEvent(), MainServer::HandleQueryRecording(), MainServer::HandleUndeleteRecording(), PlaybackBox::HandleUpdateProgramInfoEvent(), incomingCustomEvent(), init_jobs(), RecordingInfo::InsertProgram(), TVRec::IsBusy(), JobQueue::IsJobRunning(), EncoderLink::IsRecording(), TV::ITVRestart(), ProgDetails::loadPage(), MainServer::LocalFilePath(), 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(), JobQueue::QueueRecordingJobs(), Reload(), ReloadBookmark(), RemoteFillProgramInfo(), PlaybackBox::RemoveProgram(), TVBrowseHelper::run(), PreviewGenerator::Run(), Scheduler::RunScheduler(), NetworkControl::saveScreenshot(), TV::ScreenShot(), MythPlayer::SeekForScreenGrab(), SendMythSystemPlayEvent(), SendMythSystemRecEvent(), TVRec::SetLiveRecording(), LiveTVChain::SetProgram(), PlaybackBox::showJobPopup(), PlaybackBox::showPlaylistJobPopup(), TVRec::StartRecording(), EncoderLink::StartRecording(), TV::StartTV(), PlaybackBox::stopPlaylistJobQueueJob(), MythSystemEventHandler::SubstituteMatches(), TV::ToggleRecord(), toString(), Scheduler::TryAnotherShowing(), TVRec::TuningRestartRecorder(), TVRec::TuningSignalCheck(), ProgramInfoCache::Update(), Scheduler::UpdateRecStatus(), and WaitToDelete().
| QString ProgramInfo::GetChanNum | ( | void | ) | const [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 306 of file programinfo.h.
Referenced by TVBrowseHelper::BrowseStart(), comp_recstart(), TV::DoEditSchedule(), StatusBox::doJobQueueStatus(), MythXML::FillChannelInfo(), TV::HandlePseudoLiveTVTimerEvent(), Scheduler::PrintRec(), PlayerContext::SetPseudoLiveTV(), and TV::StartTV().
| QString ProgramInfo::GetChannelSchedulingID | ( | void | ) | const [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 313 of file programinfo.h.
Referenced by RecordingRule::AssignProgramInfo(), comp_recstart(), comp_redundant(), MythXML::FillChannelInfo(), CustomEdit::loadClauses(), ViewScheduled::LoadList(), TV::Playback(), Scheduler::PrintRec(), TV::ShowLCDChannelInfo(), Scheduler::SlaveConnected(), and Scheduler::SlaveDisconnected().
| QString ProgramInfo::GetChannelName | ( | void | ) | const [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 316 of file programinfo.h.
Referenced by StatusBox::doJobQueueStatus(), MythXML::FillChannelInfo(), and RemoteGetRecordingStatus().
| QString ProgramInfo::GetChannelPlaybackFilters | ( | void | ) | const [inline] |
Definition at line 317 of file programinfo.h.
Referenced by MythXML::FillChannelInfo(), and PlayerContext::GetFilters().
| QDateTime ProgramInfo::GetScheduledStartTime | ( | void | ) | const [inline] |
The scheduled start time of program.
Definition at line 320 of file programinfo.h.
Referenced by RecordingRule::AssignProgramInfo(), TVBrowseHelper::BrowseStart(), RecordingInfo::clone(), comp_originalAirDate(), comp_originalAirDate_rev(), comp_overlap(), comp_recordDate(), comp_recordDate_rev(), comp_redundant(), ProgLister::DeleteOldEpisode(), DoFlagCommercials(), TV::FillOSDMenuJobs(), MythXML::FillProgramInfo(), GuideGrid::fillProgramRowInfos(), TVRec::FinishedRecording(), TVBrowseHelper::GetNextProgramDB(), GuideGrid::keyPressEvent(), CustomEdit::loadClauses(), ViewScheduled::LoadList(), ProgDetails::loadPage(), PreviewGenerator::LocalPreviewRun(), RecordingSelector::OKPressed(), plTimeSort::operator()(), plPrevTitleSort::operator()(), plTitleSort::operator()(), TV::ProcessNetworkControlCommand(), RecordingInfo::RecordingInfo(), RemoteGetRecordingStatus(), TVRec::SetLiveRecording(), Scheduler::SlaveConnected(), RecordingSelector::titleChanged(), toString(), TVRec::TuningSignalCheck(), RecordingSelector::updateRecordingList(), and Scheduler::UpdateRecStatus().
| QString ProgramInfo::GetScheduledStartTime | ( | MythDateFormat | fmt | ) | const [inline] |
The scheduled start time of program (with formatting).
Definition at line 322 of file programinfo.h.
| QDateTime ProgramInfo::GetScheduledEndTime | ( | void | ) | const [inline] |
The scheduled end time of the program.
Definition at line 328 of file programinfo.h.
Referenced by RecordingRule::AssignProgramInfo(), comp_overlap(), comp_redundant(), DoFlagCommercials(), MythXML::FillProgramInfo(), GuideGrid::fillProgramRowInfos(), TVRec::GetProgramRingBufferForLiveTV(), ViewScheduled::LoadList(), ProgDetails::loadPage(), PreviewGenerator::LocalPreviewRun(), Scheduler::PrintList(), Scheduler::PruneRedundants(), RecordingInfo::RecordingInfo(), RemoteGetRecordingStatus(), TVRec::RunTV(), and MythPlayer::SetWatched().
| QString ProgramInfo::GetScheduledEndTime | ( | MythDateFormat | fmt | ) | const [inline] |
The scheduled end time of the program (with formatting).
Definition at line 330 of file programinfo.h.
| QDateTime ProgramInfo::GetRecordingStartTime | ( | void | ) | const [inline] |
Approximate time the recording started.
Definition at line 336 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(), CompleteJob(), PlaybackBox::CreateProgramInfoString(), TV::customEvent(), StatusBox::customEvent(), ScheduleCommon::customEvent(), PlaybackBox::customEvent(), LiveTVChain::DeleteProgram(), PlaybackBox::deleteSelected(), StatusBox::doAutoExpireList(), DoFlagCommercials(), MainServer::DoHandleDeleteRecording(), PlaybackBox::doJobQueueJob(), StatusBox::doJobQueueStatus(), PlaybackBox::doPlaylistJobQueueJob(), TV::DoQueueTranscode(), extract_job_state(), ViewScheduled::FillList(), MythXML::FillProgramInfo(), Scheduler::FillRecordingDir(), Scheduler::FindNextConflict(), PlaybackBox::FindProgramInUILists(), TVRec::FinishedRecording(), LiveTVChain::FinishedRecording(), FlagCommercials(), PreviewGeneratorQueue::GeneratePreviewImage(), GetPlaybackURL(), TVRec::GetProgramRingBufferForLiveTV(), JobQueue::GetRunningJobID(), PlaybackBox::HandleUpdateProgramInfoEvent(), incomingCustomEvent(), init_jobs(), JobQueue::IsJobRunning(), EncoderLink::IsRecording(), ViewScheduled::LoadList(), ProgDetails::loadPage(), PreviewGenerator::LocalPreviewRun(), Scheduler::MarkShowingsList(), PlaybackBox::Play(), PlaybackBox::PlaylistDelete(), print_comm_flag_output(), AutoExpire::PrintExpireList(), Scheduler::PrintList(), Scheduler::PrintRec(), TV::ProcessNetworkControlCommand(), LiveTVChain::ProgramIsAt(), push_onto_del(), Scheduler::PutInactiveSlavesToSleep(), QueueCommFlagJob(), JobQueue::QueueRecordingJobs(), ReloadBookmark(), PlaybackBox::RemoveProgram(), PreviewGenerator::Run(), Scheduler::RunScheduler(), TVRec::RunTV(), Scheduler::SchedNewRecords(), TV::ScreenShot(), MythPlayer::SeekForScreenGrab(), SendMythSystemPlayEvent(), SendMythSystemRecEvent(), LiveTVChain::SetProgram(), PlayerContext::SetPseudoLiveTV(), MythPlayer::SetWatched(), PlaybackBox::showJobPopup(), ScheduleCommon::ShowNotRecordingDialog(), PlaybackBox::showPlaylistJobPopup(), ScheduleCommon::ShowRecordingDialog(), ViewScheduleDiff::showStatus(), Scheduler::ShutdownServer(), TVRec::StartRecording(), EncoderLink::StartRecording(), TV::StartTV(), PlaybackBox::stopPlaylistJobQueueJob(), TVRec::TeardownRecorder(), toString(), Scheduler::TryAnotherShowing(), TVRec::TuningRestartRecorder(), ProgramInfoCache::Update(), Scheduler::UpdateNextRecord(), PlaybackBox::UpdateUIListItem(), WaitToDelete(), and EncoderLink::WouldConflict().
| QString ProgramInfo::GetRecordingStartTime | ( | MythDateFormat | fmt | ) | const [inline] |
Approximate time the recording started (with formatting).
Definition at line 338 of file programinfo.h.
| QDateTime ProgramInfo::GetRecordingEndTime | ( | void | ) | const [inline] |
Approximate time the recording should have ended, did end, or is intended to end.
Definition at line 345 of file programinfo.h.
Referenced by Scheduler::AddNewRecords(), LiveTVChain::AppendNewProgram(), Scheduler::ChangeRecordingEnd(), comp_recstart(), PlaybackBox::CreateProgramInfoString(), MainServer::customEvent(), StatusBox::doAutoExpireList(), DoFlagCommercials(), MainServer::DoHandleDeleteRecording(), MythXML::FillProgramInfo(), Scheduler::FillRecordingDir(), Scheduler::FindNextConflict(), TVRec::FinishedRecording(), LiveTVChain::FinishedRecording(), FlagCommercials(), PreviewGeneratorQueue::GeneratePreviewImage(), TVRec::GetProgramRingBufferForLiveTV(), TVRec::GetRecordEndTime(), TVRec::HandlePendingRecordings(), MainServer::HandleQueryRecordings(), ViewScheduled::LoadList(), Scheduler::PrintList(), Scheduler::PrintRec(), Scheduler::PruneRedundants(), Scheduler::RunScheduler(), PlayerContext::SetInitialTVState(), TVRec::SetLiveRecording(), PlayerContext::SetPseudoLiveTV(), MythPlayer::SetWatched(), ScheduleCommon::ShowNotRecordingDialog(), ScheduleCommon::ShowRecordingDialog(), ViewScheduleDiff::showStatus(), TVRec::StartRecording(), EncoderLink::StartRecording(), TVRec::TuningRestartRecorder(), and TVRec::TuningSignalCheck().
| QString ProgramInfo::GetRecordingEndTime | ( | MythDateFormat | fmt | ) | const [inline] |
Approximate time the recording should have ended, did end, or is intended to end (with formatting).
Definition at line 348 of file programinfo.h.
| QString ProgramInfo::GetRecordingGroup | ( | void | ) | const [inline] |
Definition at line 353 of file programinfo.h.
Referenced by MainServer::customEvent(), PlaybackBox::deleteSelected(), StatusBox::doAutoExpireList(), MainServer::DoDeleteThread(), MainServer::DoHandleDeleteRecording(), TV::FillOSDMenuJumpRec(), MythXML::FillProgramInfo(), PlaybackBox::FindProgramInUILists(), TV::GetRecordingGroup(), RecordingSelector::getRecordingList(), MainServer::HandleIsRecording(), PlaybackBox::HandleUpdateProgramInfoEvent(), ProgDetails::loadPage(), JobQueue::ProcessJob(), TV::PromptRecGroupPassword(), RemoteGetCurrentlyRecordingList(), PlaybackBox::setRecGroup(), PlaybackBox::ShowActionPopup(), PlaybackBox::ShowDeletePopup(), PlaybackBox::ShowRecGroupChanger(), TV::StartTV(), and PlaybackBox::UpdateUILists().
| QString ProgramInfo::GetPlaybackGroup | ( | void | ) | const [inline] |
Definition at line 354 of file programinfo.h.
Referenced by MythXML::FillProgramInfo(), TV::HandleStateChange(), ProgDetails::loadPage(), PlayerContext::SetInitialTVState(), and PlaybackBox::ShowPlayGroupChanger().
| QString ProgramInfo::GetHostname | ( | void | ) | const [inline] |
Definition at line 355 of file programinfo.h.
Referenced by MainServer::DoHandleDeleteRecording(), MainServer::DoHandleStopRecording(), PlaybackBox::doJobQueueJob(), PlaybackBox::doPlaylistJobQueueJob(), TV::DoQueueTranscode(), AutoExpire::ExpireRecordings(), MythXML::FillProgramInfo(), Scheduler::FillRecordingDir(), MainServer::HandleGenPreviewPixmap(), MainServer::HandleQueryRecordings(), ProgDetails::loadPage(), AutoExpire::PrintExpireList(), JobQueue::QueueRecordingJobs(), Scheduler::RunScheduler(), transUnlink(), PlaybackBox::updateGroupInfo(), and PlaybackBox::UpdateUIListItem().
| QString ProgramInfo::GetStorageGroup | ( | void | ) | const [inline] |
Definition at line 356 of file programinfo.h.
Referenced by ProgDetails::loadPage(), Scheduler::RunScheduler(), and transUnlink().
| uint ProgramInfo::GetYearOfInitialRelease | ( | void | ) | const [inline] |
Definition at line 357 of file programinfo.h.
| QDate ProgramInfo::GetOriginalAirDate | ( | void | ) | const [inline] |
Definition at line 362 of file programinfo.h.
Referenced by comp_originalAirDate(), comp_originalAirDate_rev(), MythXML::FillProgramInfo(), and ProgDetails::loadPage().
| QDateTime ProgramInfo::GetLastModifiedTime | ( | void | ) | const [inline] |
Definition at line 363 of file programinfo.h.
Referenced by MythXML::FillProgramInfo(), and PreviewGeneratorQueue::GeneratePreviewImage().
| QString ProgramInfo::GetLastModifiedTime | ( | MythDateFormat | fmt | ) | const [inline] |
Definition at line 364 of file programinfo.h.
| uint64_t ProgramInfo::GetFilesize | ( | void | ) | const [inline] |
Definition at line 369 of file programinfo.h.
Referenced by PlaybackBox::customEvent(), StatusBox::doAutoExpireList(), MainServer::DoDeleteThread(), MainServer::DoHandleDeleteRecording(), AutoExpire::ExpireRecordings(), MythXML::FillProgramInfo(), MainServer::HandleQueryRecordings(), ProgDetails::loadPage(), RecordingSelector::OKPressed(), PlaybackBox::Play(), AutoExpire::PrintExpireList(), RecordingSelector::titleChanged(), and PlaybackBox::updateGroupInfo().
| QString ProgramInfo::GetSeriesID | ( | void | ) | const [inline] |
Definition at line 370 of file programinfo.h.
Referenced by RecordingRule::AssignProgramInfo(), MythXML::FillProgramInfo(), CustomEdit::loadClauses(), ProgDetails::loadPage(), and PlaybackBox::UpdateUIListItem().
| QString ProgramInfo::GetProgramID | ( | void | ) | const [inline] |
Definition at line 371 of file programinfo.h.
Referenced by RecordingRule::AssignProgramInfo(), comp_programid(), comp_programid_rev(), MythXML::FillProgramInfo(), CustomEdit::loadClauses(), ProgDetails::loadPage(), plPrevTitleSort::operator()(), ScheduleCommon::ShowNotRecordingDialog(), and ScheduleCommon::ShowRecordingDialog().
| QString ProgramInfo::GetCategoryType | ( | void | ) | const [inline] |
Definition at line 372 of file programinfo.h.
Referenced by MythXML::FillProgramInfo(), ScheduleCommon::ShowNotRecordingDialog(), and ScheduleCommon::ShowRecordingDialog().
| int ProgramInfo::GetRecordingPriority | ( | void | ) | const [inline] |
Definition at line 373 of file programinfo.h.
Referenced by Scheduler::AddNewRecords(), ProgramRecPriority::changeRecPriority(), comp_priority(), comp_recstart(), MythXML::FillProgramInfo(), Scheduler::MoveHigherRecords(), programRecTypeSort::operator()(), programRecPrioritySort::operator()(), titleSort::operator()(), AutoExpire::PrintExpireList(), Scheduler::PrintRec(), Scheduler::PruneRedundants(), ProgramRecPriority::saveRecPriority(), Scheduler::SchedNewRecords(), ProgramRecPriority::scheduleChanged(), Scheduler::TryAnotherShowing(), ProgramRecPriority::updateInfo(), ProgramRecPriority::UpdateList(), and PlaybackBox::UpdateUILists().
| int ProgramInfo::GetRecordingPriority2 | ( | void | ) | const [inline] |
Definition at line 374 of file programinfo.h.
Referenced by comp_recpriority2(), StatusBox::doScheduleStatus(), ViewScheduled::FillList(), ProgDetails::loadPage(), Scheduler::PrintRec(), and Scheduler::PruneRedundants().
| float ProgramInfo::GetStars | ( | void | ) | const [inline] |
Definition at line 375 of file programinfo.h.
Referenced by ViewScheduled::FillList(), MythXML::FillProgramInfo(), ProgLister::HandleSelected(), ToMap(), ViewScheduled::updateInfo(), GuideGrid::updateInfo(), ProgramRecPriority::UpdateList(), and PlaybackBox::UpdateUIListItem().
Definition at line 376 of file programinfo.h.
| RecStatusType ProgramInfo::GetRecordingStatus | ( | void | ) | const [inline] |
Definition at line 379 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), Scheduler::AddNewRecords(), Scheduler::AddRecording(), Scheduler::BackupRecStatus(), Scheduler::BuildListMaps(), Scheduler::BuildWorkList(), comp_overlap(), comp_priority(), comp_recstart(), comp_redundant(), MainServer::DoHandleDeleteRecording(), MainServer::DoHandleStopRecording(), StatusBox::doScheduleStatus(), ScheduleCommon::EditRecording(), extract_job_state(), extract_main_state(), ViewScheduleDiff::fillList(), ViewScheduled::FillList(), MythXML::FillProgramInfo(), GuideGrid::fillProgramRowInfos(), Scheduler::FillRecordingDir(), TVRec::FinishedRecording(), Scheduler::GetRecStatus(), ViewScheduled::LoadList(), ProgDetails::loadPage(), Scheduler::MarkShowingsList(), Scheduler::MoveHigherRecords(), plTitleSort::operator()(), Scheduler::PrintRec(), Scheduler::PruneRedundants(), Scheduler::PutInactiveSlavesToSleep(), Recording(), RemoteGetCurrentlyRecordingList(), Scheduler::RunScheduler(), Scheduler::SchedNewRecords(), TVRec::SetLiveRecording(), PlaybackBox::ShowActionPopup(), ScheduleCommon::ShowNotRecordingDialog(), ScheduleCommon::ShowRecordingDialog(), ViewScheduleDiff::showStatus(), Scheduler::SlaveConnected(), Scheduler::SlaveDisconnected(), TVRec::StartRecording(), TV::StartTV(), ToMap(), Scheduler::TryAnotherShowing(), TVRec::TuningShutdowns(), TVRec::TuningSignalCheck(), PlaybackBox::updateGroupInfo(), ProgramRecPriority::updateInfo(), Scheduler::UpdateNextRecord(), Scheduler::UpdateRecStatus(), and ViewScheduleDiff::updateUIList().
| RecStatusType ProgramInfo::GetOldRecordingStatus | ( | void | ) | const [inline] |
Definition at line 381 of file programinfo.h.
| uint ProgramInfo::GetPreferedInputID | ( | void | ) | const [inline] |
Definition at line 383 of file programinfo.h.
| uint ProgramInfo::GetRecordingRuleID | ( | void | ) | const [inline] |
Definition at line 384 of file programinfo.h.
Referenced by Scheduler::AddNewRecords(), Scheduler::AddRecording(), Scheduler::BuildListMaps(), Scheduler::ChangeRecordingEnd(), comp_overlap(), comp_priority(), comp_redundant(), ProgramRecPriority::deactivate(), GuideGrid::deleteRule(), ProgramRecPriority::edit(), ScheduleCommon::EditRecording(), ProgramRecPriority::FillList(), MythXML::FillProgramInfo(), RecordingRule::LoadByProgram(), CustomEdit::loadData(), ViewScheduled::LoadList(), ProgDetails::loadPage(), ScheduleCommon::MakeOverride(), Scheduler::MarkOtherShowings(), programRecTypeSort::operator()(), programRecPrioritySort::operator()(), titleSort::operator()(), Scheduler::PruneOverlaps(), Scheduler::PruneRedundants(), ProgramRecPriority::remove(), Scheduler::RunScheduler(), ProgramRecPriority::saveRecPriority(), ProgramRecPriority::scheduleChanged(), ScheduleEditor::ScheduleEditor(), ProgLister::ShowDeleteRuleMenu(), ProgLister::ShowMenu(), GuideGrid::showMenu(), TVRec::StartRecording(), Scheduler::TryAnotherShowing(), ProgramRecPriority::upcoming(), ProgramRecPriority::updateInfo(), ProgramRecPriority::UpdateList(), Scheduler::UpdateNextRecord(), and PlaybackBox::UpdateUILists().
| uint ProgramInfo::GetParentRecordingRuleID | ( | void | ) | const [inline] |
Definition at line 385 of file programinfo.h.
Referenced by Scheduler::MarkOtherShowings(), Scheduler::RunScheduler(), and Scheduler::UpdateNextRecord().
| RecordingType ProgramInfo::GetRecordingRuleType | ( | void | ) | const [inline] |
Definition at line 386 of file programinfo.h.
Referenced by Scheduler::AddNewRecords(), Scheduler::ChangeRecordingEnd(), comp_overlap(), comp_priority(), ScheduleCommon::customEvent(), ViewScheduled::deleteRule(), GuideGrid::deleteRule(), StatusBox::doScheduleStatus(), MythXML::FillProgramInfo(), GuideGrid::fillProgramRowInfos(), ScheduleCommon::IsFindApplicable(), IsSameProgram(), ProgDetails::loadPage(), Scheduler::MarkOtherShowings(), Scheduler::MarkShowingsList(), TVRec::NotifySchedulerOfRecording(), Scheduler::PrintRec(), ProgramRecPriority::remove(), Scheduler::RunScheduler(), ProgLister::ShowDeleteRuleMenu(), ScheduleCommon::ShowNotRecordingDialog(), ScheduleCommon::ShowRecordingDialog(), TVRec::StartRecording(), ToMap(), Scheduler::TryAnotherShowing(), ProgramRecPriority::updateInfo(), Scheduler::UpdateNextRecord(), and Scheduler::UpdateRecStatus().
| RecordingDupInType ProgramInfo::GetDuplicateCheckSource | ( | void | ) | const [inline] |
Where should we check for duplicates?
Definition at line 390 of file programinfo.h.
Referenced by Scheduler::AddNewRecords(), and MythXML::FillProgramInfo().
| RecordingDupMethodType ProgramInfo::GetDuplicateCheckMethod | ( | void | ) | const [inline] |
What should be compared to determine if two programs are the same?
Definition at line 394 of file programinfo.h.
Referenced by Scheduler::AddNewRecords(), MythXML::FillProgramInfo(), ScheduleCommon::ShowNotRecordingDialog(), and ScheduleCommon::ShowRecordingDialog().
| uint ProgramInfo::GetSourceID | ( | void | ) | const [inline] |
Definition at line 397 of file programinfo.h.
Referenced by StatusBox::doScheduleStatus(), MythXML::FillChannelInfo(), Scheduler::PrintRec(), Scheduler::RunScheduler(), TVRec::StartRecording(), and Scheduler::TryAnotherShowing().
| uint ProgramInfo::GetInputID | ( | void | ) | const [inline] |
Definition at line 398 of file programinfo.h.
Referenced by Scheduler::AddNewRecords(), comp_overlap(), comp_priority(), StatusBox::doScheduleStatus(), MythXML::FillChannelInfo(), ViewScheduled::FillList(), Scheduler::FindNextConflict(), Scheduler::IsBusyRecording(), ViewScheduled::LoadList(), Scheduler::PrintRec(), TVRec::RecordPending(), Scheduler::SlaveConnected(), TVRec::StartRecording(), and Scheduler::TryAnotherShowing().
| uint ProgramInfo::GetCardID | ( | void | ) | const [inline] |
Definition at line 399 of file programinfo.h.
Referenced by Scheduler::AddNewRecords(), Scheduler::BuildListMaps(), Scheduler::ChangeRecordingEnd(), ViewScheduleDiff::fillList(), ViewScheduled::FillList(), MythXML::FillProgramInfo(), Scheduler::FillRecordingDir(), Scheduler::FindNextConflict(), TVRec::FinishedRecording(), Scheduler::IsBusyRecording(), ViewScheduled::LoadList(), Scheduler::PrintRec(), Scheduler::PutInactiveSlavesToSleep(), TVRec::RecordPending(), Scheduler::RunScheduler(), SendMythSystemRecEvent(), TVRec::SetLiveRecording(), Scheduler::SlaveConnected(), Scheduler::SlaveDisconnected(), Scheduler::TryAnotherShowing(), TVRec::TuningSignalCheck(), Scheduler::UpdateRecStatus(), and ViewScheduleDiff::updateUIList().
| uint ProgramInfo::GetFindID | ( | void | ) | const [inline] |
Definition at line 401 of file programinfo.h.
Referenced by RecordingRule::AssignProgramInfo(), comp_overlap(), ProgDetails::loadPage(), Scheduler::MarkOtherShowings(), ScheduleCommon::ShowNotRecordingDialog(), and ScheduleCommon::ShowRecordingDialog().
| uint32_t ProgramInfo::GetProgramFlags | ( | void | ) | const [inline] |
Definition at line 403 of file programinfo.h.
Referenced by MythXML::FillProgramInfo(), PlaybackBox::SetItemIcons(), and PlaybackBox::updateIcons().
| ProgramInfoType ProgramInfo::GetProgramInfoType | ( | void | ) | const [inline] |
Definition at line 404 of file programinfo.h.
| bool ProgramInfo::IsInUsePlaying | ( | void | ) | const [inline] |
Definition at line 406 of file programinfo.h.
Referenced by PlaybackBox::SetItemIcons().
| bool ProgramInfo::IsCommercialFree | ( | void | ) | const [inline] |
Definition at line 407 of file programinfo.h.
Referenced by MythXML::FillChannelInfo(), init_jobs(), JobQueue::QueueRecordingJobs(), and TVRec::StartedRecording().
| bool ProgramInfo::HasCutlist | ( | void | ) | const [inline] |
Definition at line 408 of file programinfo.h.
Referenced by JobQueue::DoTranscodeThread(), RecordingSelector::OKPressed(), PlaybackBox::SetItemIcons(), and RecordingSelector::titleChanged().
| bool ProgramInfo::IsBookmarkSet | ( | void | ) | const [inline] |
Definition at line 409 of file programinfo.h.
Referenced by PlaybackBox::SetItemIcons(), and PlaybackBox::ShowActionPopup().
| bool ProgramInfo::IsWatched | ( | void | ) | const [inline] |
Definition at line 410 of file programinfo.h.
Referenced by MainServer::customEvent(), PlaybackBox::SetItemIcons(), PlaybackBox::ShowActionPopup(), PlaybackBox::toggleWatched(), and PlaybackBox::UpdateUILists().
| bool ProgramInfo::IsAutoExpirable | ( | void | ) | const [inline] |
Definition at line 411 of file programinfo.h.
Referenced by PlaybackBox::doPlaylistExpireSetting(), PlaybackBox::SetItemIcons(), PlaybackBox::showStoragePopup(), PlaybackBox::toggleAutoExpire(), and PlaybackBox::UpdateUILists().
| bool ProgramInfo::IsPreserved | ( | void | ) | const [inline] |
Definition at line 412 of file programinfo.h.
Referenced by PlaybackBox::SetItemIcons(), PlaybackBox::showStoragePopup(), and PlaybackBox::togglePreserveEpisode().
| bool ProgramInfo::IsVideo | ( | void | ) | const [inline] |
Definition at line 413 of file programinfo.h.
Referenced by ClearMarkupMap(), ClearPositionMap(), getCutFrames(), internal_play_media(), MythPlayer::IsNearEnd(), QueryMarkupMap(), QueryPositionMap(), SaveMarkupMap(), SavePositionMap(), SavePositionMapDelta(), TV::ShowOSDStopWatchingRecording(), and ToMap().
| bool ProgramInfo::IsRecording | ( | void | ) | const [inline] |
Definition at line 414 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(), SaveWatched(), PlayerContext::SetInitialTVState(), MythPlayer::SetWatched(), TV::ShowOSDPromptDeleteRecording(), TV::StartTV(), and UpdateInUseMark().
| bool ProgramInfo::IsRepeat | ( | void | ) | const [inline] |
Definition at line 415 of file programinfo.h.
Referenced by Scheduler::AddNewRecords(), MythXML::FillProgramInfo(), RecordingInfo::InsertProgram(), ProgDetails::loadPage(), and ToMap().
| bool ProgramInfo::IsDuplicate | ( | void | ) | const [inline] |
Definition at line 416 of file programinfo.h.
Referenced by ProgLister::customEvent(), ProgLister::ShowOldRecordedMenu(), and ToMap().
| bool ProgramInfo::IsReactivated | ( | void | ) | const [inline] |
Definition at line 417 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), Scheduler::AddNewRecords(), comp_priority(), Scheduler::PruneRedundants(), and RecordingInfo::SubstituteMatches().
| bool ProgramInfo::IsDeletePending | ( | void | ) | const [inline] |
Definition at line 418 of file programinfo.h.
| uint ProgramInfo::GetSubtitleType | ( | void | ) | const [inline] |
Definition at line 421 of file programinfo.h.
Referenced by ToMap(), ToStringList(), and PlaybackBox::updateIcons().
| uint ProgramInfo::GetVideoProperties | ( | void | ) | const [inline] |
Definition at line 422 of file programinfo.h.
Referenced by StatusBox::doScheduleStatus(), SaveResolutionProperty(), ToMap(), ToStringList(), and PlaybackBox::updateIcons().
| uint ProgramInfo::GetAudioProperties | ( | void | ) | const [inline] |
Definition at line 423 of file programinfo.h.
Referenced by ToMap(), ToStringList(), and PlaybackBox::updateIcons().
| QString ProgramInfo::toString | ( | Verbosity | v = kLongDescription, |
|
| QString | sep = ":", |
|||
| QString | grp = "\"" | |||
| ) | const |
Definition at line 1506 of file programinfo.cpp.
Referenced by PlaybackBox::deleteSelected(), StatusBox::doAutoExpireList(), JobQueue::DoFlagCommercialsThread(), MainServer::DoHandleDeleteRecording(), JobQueue::DoTranscodeThread(), JobQueue::DoUserJobThread(), AutoExpire::ExpireRecordings(), extract_subtitle(), PreviewGeneratorQueue::GeneratePreviewImage(), TVRec::GetProgramRingBufferForLiveTV(), MainServer::HandleGenPreviewPixmap(), TV::HandleJumpToProgramAction(), MainServer::HandleQueryRecordings(), ProgDetails::loadPage(), TV::PrepToSwitchToRecordedProgram(), AutoExpire::PrintExpireList(), Scheduler::PrintRec(), Scheduler::RunScheduler(), TVRec::RunTV(), SetAvailableStatus(), PlaybackBox::ShowAvailabilityPopup(), ScheduleCommon::ShowNotRecordingDialog(), ProgLister::ShowOldRecordedMenu(), ScheduleCommon::ShowRecordingDialog(), ViewScheduleDiff::showStatus(), TVRec::StartRecording(), SubstituteMatches(), ToMap(), Scheduler::UpdateRecStatus(), and PlaybackBox::UpdateUIListItem().
| void ProgramInfo::SetTitle | ( | const QString & | t | ) | [inline] |
Definition at line 436 of file programinfo.h.
Referenced by MythDVDPlayer::EventStart(), and PlaybackBox::UpdateUILists().
| void ProgramInfo::SetProgramInfoType | ( | ProgramInfoType | t | ) | [inline] |
Definition at line 437 of file programinfo.h.
Referenced by SetPathname().
| void ProgramInfo::SetPathname | ( | const QString & | pn | ) | const |
Definition at line 1869 of file programinfo.cpp.
Referenced by PlaybackSock::CheckFile(), EncoderLink::CheckFile(), PlaybackBox::customEvent(), JobQueue::DoFlagCommercialsThread(), LiveTVChain::EntryToProgram(), AutoExpire::ExpireRecordings(), Scheduler::FillRecordingDir(), getProgramInfoForFile(), TVRec::GetProgramRingBufferForLiveTV(), MainServer::HandleGenPreviewPixmap(), MainServer::HandleQueryRecordings(), LoadProgramFromRecorded(), main(), preview_helper(), JobQueue::ProcessJob(), PlaybackBox::processNetworkControlCommand(), ProgramInfo(), RemoteCheckFile(), Scheduler::RunScheduler(), SaveBasename(), TVRec::SwitchLiveTVRingBuffer(), and MainServer::TruncateAndClose().
| void ProgramInfo::SetChanID | ( | uint | _chanid | ) | [inline] |
Definition at line 440 of file programinfo.h.
Referenced by TVRec::GetProgramRingBufferForLiveTV().
| void ProgramInfo::SetScheduledStartTime | ( | const QDateTime & | dt | ) | [inline] |
Definition at line 441 of file programinfo.h.
Referenced by ScheduleCommon::customEvent().
| void ProgramInfo::SetScheduledEndTime | ( | const QDateTime & | dt | ) | [inline] |
Definition at line 442 of file programinfo.h.
Referenced by ScheduleCommon::customEvent(), GuideGrid::fillProgramRowInfos(), TVRec::GetProgramRingBufferForLiveTV(), and RecordingInfo::RecordingInfo().
| void ProgramInfo::SetRecordingStartTime | ( | const QDateTime & | dt | ) | [inline] |
Definition at line 443 of file programinfo.h.
Referenced by TVRec::GetProgramRingBufferForLiveTV(), and Scheduler::RunScheduler().
| void ProgramInfo::SetRecordingEndTime | ( | const QDateTime & | dt | ) | [inline] |
Definition at line 444 of file programinfo.h.
Referenced by Scheduler::ChangeRecordingEnd(), TVRec::FinishedRecording(), TVRec::GetProgramRingBufferForLiveTV(), RecordingInfo::RecordingInfo(), TVRec::StartRecording(), and Scheduler::UpdateRecStatus().
| void ProgramInfo::SetRecordingGroup | ( | const QString & | group | ) | [inline] |
Definition at line 445 of file programinfo.h.
Referenced by TVRec::CheckForRecGroupChange(), TVRec::FinishedRecording(), TV::PromptRecGroupPassword(), and TVRec::SetLiveRecording().
| void ProgramInfo::SetPlaybackGroup | ( | const QString & | group | ) | [inline] |
Definition at line 446 of file programinfo.h.
| void ProgramInfo::SetHostname | ( | const QString & | host | ) | [inline] |
Definition at line 447 of file programinfo.h.
Referenced by AutoExpire::ExpireRecordings().
| void ProgramInfo::SetStorageGroup | ( | const QString & | group | ) | [inline] |
Definition at line 448 of file programinfo.h.
Referenced by TVRec::GetProgramRingBufferForLiveTV().
| void ProgramInfo::SetFilesize | ( | uint64_t | sz | ) | [inline] |
Definition at line 449 of file programinfo.h.
Referenced by PlaybackBox::customEvent(), MainServer::HandleQueryRecordings(), SaveFilesize(), and PlaybackBox::updateGroupInfo().
| void ProgramInfo::SetSeriesID | ( | const QString & | id | ) | [inline] |
Definition at line 450 of file programinfo.h.
| void ProgramInfo::SetProgramID | ( | const QString & | id | ) | [inline] |
Definition at line 451 of file programinfo.h.
| void ProgramInfo::SetCategoryType | ( | const QString & | type | ) | [inline] |
Definition at line 452 of file programinfo.h.
| void ProgramInfo::SetRecordingPriority | ( | int | priority | ) | [inline] |
Definition at line 453 of file programinfo.h.
Referenced by Scheduler::AddNewRecords(), and ProgramRecPriority::scheduleChanged().
| void ProgramInfo::SetRecordingPriority2 | ( | int | priority | ) | [inline] |
Definition at line 454 of file programinfo.h.
Referenced by Scheduler::PruneRedundants(), and PlaybackBox::UpdateUILists().
| void ProgramInfo::SetRecordingRuleID | ( | uint | id | ) | [inline] |
Definition at line 455 of file programinfo.h.
Referenced by Scheduler::ChangeRecordingEnd(), and TVRec::StartRecording().
| void ProgramInfo::SetSourceID | ( | uint | id | ) | [inline] |
Definition at line 456 of file programinfo.h.
| void ProgramInfo::SetInputID | ( | uint | id | ) | [inline] |
Definition at line 457 of file programinfo.h.
Referenced by TVRec::NotifySchedulerOfRecording(), Scheduler::PruneRedundants(), and Scheduler::SchedPreserveLiveTV().
| void ProgramInfo::SetCardID | ( | uint | id | ) | [inline] |
Definition at line 458 of file programinfo.h.
Referenced by TVRec::GetProgramRingBufferForLiveTV(), TVRec::GetRecording(), TVRec::NotifySchedulerOfRecording(), Scheduler::PruneRedundants(), and Scheduler::SchedPreserveLiveTV().
| void ProgramInfo::SetReactivated | ( | bool | reactivate | ) | [inline] |
Definition at line 459 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), and Scheduler::RunScheduler().
| void ProgramInfo::SetEditing | ( | bool | editing | ) | [inline] |
Definition at line 464 of file programinfo.h.
Referenced by PlaybackBox::doJobQueueJob(), DeleteMap::SetFileEditing(), and PlaybackBox::stopPlaylistJobQueueJob().
| void ProgramInfo::SetFlagging | ( | bool | flagging | ) | [inline] |
Definition at line 469 of file programinfo.h.
Referenced by PlaybackBox::doJobQueueJob(), and PlaybackBox::stopPlaylistJobQueueJob().
| void ProgramInfo::SetIgnoreBookmark | ( | bool | ignore | ) | [inline] |
If "ignore" is true GetBookmark() will return 0, otherwise GetBookmark() will return the bookmark position if it exists.
Definition at line 476 of file programinfo.h.
Referenced by MythPlayer::EventStart(), and TV::StartTV().
| void ProgramInfo::SetRecordingStatus | ( | RecStatusType | status | ) | [inline] |
Definition at line 481 of file programinfo.h.
Referenced by Scheduler::AddNewRecords(), Scheduler::ChangeRecordingEnd(), ScheduleCommon::customEvent(), PlaybackBox::customEvent(), MainServer::customEvent(), MainServer::DoHandleDeleteRecording(), MainServer::DoHandleStopRecording(), TVRec::FinishedRecording(), TVRec::GetRecording(), Scheduler::MarkShowingsList(), Scheduler::MoveHigherRecords(), TVRec::NotifySchedulerOfRecording(), Scheduler::PruneRedundants(), Scheduler::RestoreRecStatus(), Scheduler::RunScheduler(), TVRec::RunTV(), Scheduler::SchedNewRecords(), Scheduler::SchedPreserveLiveTV(), Scheduler::SlaveConnected(), Scheduler::SlaveDisconnected(), Scheduler::TryAnotherShowing(), TVRec::TuningSignalCheck(), and Scheduler::UpdateRecStatus().
| void ProgramInfo::SetRecordingRuleType | ( | RecordingType | type | ) | [inline] |
Definition at line 482 of file programinfo.h.
Referenced by Scheduler::ChangeRecordingEnd(), TVRec::NotifySchedulerOfRecording(), and TVRec::StartRecording().
| void ProgramInfo::SetPositionMapDBReplacement | ( | PMapDBReplacement * | pmap | ) | [inline] |
Definition at line 483 of file programinfo.h.
Referenced by main().
| 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 1934 of file programinfo.cpp.
Referenced by CompleteJob(), and GetPlaybackURL().
| uint64_t ProgramInfo::QueryFilesize | ( | void | ) | const |
Gets recording file size from database.
Definition at line 2059 of file programinfo.cpp.
Referenced by PlaybackBox::updateGroupInfo().
| uint ProgramInfo::QueryMplexID | ( | void | ) | const |
Queries multiplex any recording would be made on, zero if unknown.
Definition at line 2078 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 2156 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 2183 of file programinfo.cpp.
Referenced by MythPlayer::GetBookmark(), MainServer::HandleBookmarkQuery(), internal_play_media(), and PreviewGenerator::LocalPreviewRun().
| QStringList ProgramInfo::QueryDVDBookmark | ( | const QString & | serialid, | |
| bool | delbookmark | |||
| ) | const |
Queries "dvdbookmark" table for bookmarking DVD serial number.
Deletes old dvd bookmarks if "delbookmark" is set.
Definition at line 2209 of file programinfo.cpp.
Referenced by MythDVDPlayer::GetBookmark(), and internal_play_media().
| bool ProgramInfo::QueryIsEditing | ( | void | ) | const |
Queries "recorded" table for its "editing" field and returns true if it is set to true.
Definition at line 2334 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 2412 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 2474 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 2491 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 2674 of file programinfo.cpp.
Referenced by TV::FillOSDMenuJobs(), TV::IsBookmarkAllowed(), MythPlayer::OpenFile(), PlaybackBox::ShowDeletePopup(), TV::ToggleAutoExpire(), and TV::ToggleRecord().
| TranscodingStatus ProgramInfo::QueryTranscodeStatus | ( | void | ) | const |
Returns the "transcoded" field in "recorded" table.
Definition at line 2520 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 3757 of file programinfo.cpp.
Referenced by TVRec::IsBusy(), TVRec::TuningCheckForHWChange(), and TVRec::TuningGetChanNum().
| uint ProgramInfo::QueryAverageWidth | ( | void | ) | const |
If present in recording this loads average width of the main video stream from database's stream markup table.
Definition at line 3359 of file programinfo.cpp.
| uint ProgramInfo::QueryAverageHeight | ( | void | ) | const |
If present in recording this loads average height of the main video stream from database's stream markup table.
Definition at line 3350 of file programinfo.cpp.
Referenced by TVRec::TeardownRecorder().
| uint ProgramInfo::QueryAverageFrameRate | ( | void | ) | const |
If present in recording this loads average frame rate of the main video stream from database's stream markup table.
Definition at line 3368 of file programinfo.cpp.
| QString ProgramInfo::QueryRecordingGroup | ( | void | ) | const |
Query recgroup from recorded.
Definition at line 3473 of file programinfo.cpp.
Referenced by TVRec::CheckForRecGroupChange(), TVRec::FinishedRecording(), and TV::PromptRecGroupPassword().
Returns true iff the speficied mark type is set on frame 0.
Definition at line 2926 of file programinfo.cpp.
Referenced by Transcode::TranscodeFile().
| uint ProgramInfo::QueryTranscoderID | ( | void | ) | const |
Definition at line 3489 of file programinfo.cpp.
Referenced by JobQueue::DoTranscodeThread(), and JobQueue::GetJobCommand().
| bool ProgramInfo::Reload | ( | void | ) |
Definition at line 1543 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 2038 of file programinfo.cpp.
Referenced by CompleteJob(), JobQueue::DoTranscodeThread(), NuppelVideoRecorder::FinishRecording(), DTVRecorder::FinishRecording(), MainServer::HandleQueryRecordings(), RecorderBase::SavePositionMap(), NuppelVideoRecorder::SetNextRecording(), DTVRecorder::SetNextRecording(), and ImportRecorder::StartRecording().
| 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 2103 of file programinfo.cpp.
Referenced by MythPlayer::ClearBookmark(), CompleteJob(), and MythPlayer::SetBookmark().
| void ProgramInfo::SaveDVDBookmark | ( | const QStringList & | fields | ) | const |
Definition at line 2244 of file programinfo.cpp.
Referenced by MythDVDPlayer::SetDVDBookmark().
| void ProgramInfo::SaveEditing | ( | bool | edit | ) |
Sets "editing" field in "recorded" table to "edit".
| edit | Editing state to set. |
Definition at line 2360 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 2540 of file programinfo.cpp.
Referenced by JobQueue::DoTranscodeThread().
| void ProgramInfo::SaveWatched | ( | bool | watchedFlag | ) |
Set "watched" field in recorded/videometadata to "watchedFlag".
Definition at line 2283 of file programinfo.cpp.
Referenced by PlaybackBox::doPlaylistWatchedSetting(), MythPlayer::SetWatched(), and PlaybackBox::toggleWatched().
| void ProgramInfo::SaveDeletePendingFlag | ( | bool | deleteFlag | ) |
Set "deletepending" field in "recorded" table to "deleteFlag".
| deleteFlag | value to set delete pending field to. |
Definition at line 2385 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 2563 of file programinfo.cpp.
Referenced by CompleteJob(), DoFlagCommercials(), LoadFromRecorded(), 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 2616 of file programinfo.cpp.
Referenced by TVRec::CreateLiveTVRingBuffer(), StatusBox::customEvent(), MainServer::DoHandleDeleteRecording(), MainServer::DoHandleUndeleteRecording(), PlaybackBox::doPlaylistExpireSetting(), PlaybackBox::setRecGroup(), TVRec::SwitchLiveTVRingBuffer(), TV::ToggleAutoExpire(), PlaybackBox::toggleAutoExpire(), TV::ToggleRecord(), and TVRec::TuningRestartRecorder().
| void ProgramInfo::SavePreserve | ( | bool | preserveEpisode | ) |
Set "preserve" field in "recorded" table to "preserveEpisode".
| preserveEpisode | value to set preserve field to. |
Definition at line 2589 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 1904 of file programinfo.cpp.
Referenced by CompleteJob().
Store aspect ratio of a frame in the recordedmark table.
Definition at line 3222 of file programinfo.cpp.
Referenced by RecorderBase::AspectChange().
Store the Resolution at frame in the recordedmarkup table.
Definition at line 3277 of file programinfo.cpp.
Referenced by RecorderBase::ResolutionChange().
Store the Frame Rate at frame in the recordedmarkup table.
Definition at line 3252 of file programinfo.cpp.
Referenced by RecorderBase::FrameRateChange().
| void ProgramInfo::SaveResolutionProperty | ( | VideoProperty | vid_flags | ) |
Definition at line 3373 of file programinfo.cpp.
Referenced by TVRec::TeardownRecorder().
| void ProgramInfo::SaveMarkupFlag | ( | MarkTypes | type | ) | const |
Clears the specified flag, then if sets it.
Definition at line 2936 of file programinfo.cpp.
Referenced by DoFlagCommercials(), and DeleteMap::SaveMap().
| void ProgramInfo::ClearMarkupFlag | ( | MarkTypes | type | ) | const [inline] |
Definition at line 526 of file programinfo.h.
Referenced by Transcode::TranscodeFile().
| void ProgramInfo::UpdateLastDelete | ( | bool | setTime | ) | const |
Set or unset the record.last_delete field.
| setTime | to set or clear the time stamp. |
Definition at line 2642 of file programinfo.cpp.
Referenced by MainServer::DoHandleUndeleteRecording(), PlaybackBox::RemoveProgram(), SaveAutoExpire(), SavePreserve(), and SaveWatched().
| void ProgramInfo::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.
Definition at line 3565 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::TeardownRecorder(), MainServer::TruncateAndClose(), TVRec::TuningNewRecorder(), TVRec::TuningRestartRecorder(), TVRec::TuningShutdowns(), UpdateInUseMark(), and FileTransfer::~FileTransfer().
| void ProgramInfo::UpdateInUseMark | ( | bool | force = false |
) |
Definition at line 3416 of file programinfo.cpp.
Referenced by MythPlayer::EventLoop(), FileTransfer::GetFileSize(), MythPlayer::GetRawVideoFrame(), FileTransfer::Pause(), MythCommFlagPlayer::RebuildSeekTable(), FileTransfer::RequestBlock(), TVRec::RunTV(), FileTransfer::Seek(), FileTransfer::SetTimeout(), FileTransfer::Stop(), MythPlayer::TranscodeGetNextFrame(), MainServer::TruncateAndClose(), FileTransfer::Unpause(), and FileTransfer::WriteBlock().
| QString ProgramInfo::DiscoverRecordingDirectory | ( | void | ) | const |
Definition at line 3509 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 1974 of file programinfo.cpp.
Referenced by CompleteJob(), DiscoverRecordingDirectory(), JobQueue::DoFlagCommercialsThread(), JobQueue::DoTranscodeThread(), get_filename(), GetPlaybackURL(), getProgramInfoForFile(), RecordingSelector::getRecordingList(), TV::HandleStateChange(), IsFileReadable(), MythPlayer::JumpToProgram(), main(), MarkAsInUse(), RecordingSelector::OKPressed(), TV::PlayFromRecorder(), preview_helper(), JobQueue::ProcessJob(), PlaybackBox::processNetworkControlCommand(), SubstituteMatches(), TV::SwitchCards(), TVRec::SwitchLiveTVRingBuffer(), MythPlayer::SwitchToProgram(), and RecordingSelector::updateSelectedList().
| void ProgramInfo::QueryCutList | ( | frm_dir_map_t & | delMap | ) | const |
Definition at line 2690 of file programinfo.cpp.
Referenced by getCutFrames(), ThumbFinder::loadCutList(), DeleteMap::LoadMap(), main(), and Transcode::TranscodeFile().
| void ProgramInfo::SaveCutList | ( | frm_dir_map_t & | delMap | ) | const |
Definition at line 2697 of file programinfo.cpp.
Referenced by DeleteMap::SaveMap().
| void ProgramInfo::QueryCommBreakList | ( | frm_dir_map_t & | frames | ) | const |
Definition at line 2730 of file programinfo.cpp.
Referenced by FlagCommercials(), and CommBreakMap::LoadMap().
| void ProgramInfo::SaveCommBreakList | ( | frm_dir_map_t & | frames | ) | const |
Definition at line 2723 of file programinfo.cpp.
Referenced by DoFlagCommercials().
| void ProgramInfo::QueryPositionMap | ( | frm_pos_map_t & | posMap, | |
| MarkTypes | type | |||
| ) | const |
Definition at line 2944 of file programinfo.cpp.
Referenced by getFrameCount(), and DecoderBase::PosMapFromDb().
| void ProgramInfo::ClearPositionMap | ( | MarkTypes | type | ) | const |
Definition at line 2990 of file programinfo.cpp.
Referenced by MythCommFlagPlayer::RebuildSeekTable(), NuppelVideoRecorder::Reset(), MpegRecorder::Reset(), DTVRecorder::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 3028 of file programinfo.cpp.
Referenced by UpdatePositionMap().
| void ProgramInfo::SavePositionMapDelta | ( | frm_pos_map_t & | posMap, | |
| MarkTypes | type | |||
| ) | const |
Definition at line 3162 of file programinfo.cpp.
Referenced by RecorderBase::SavePositionMap(), and DecoderBase::SavePositionMapDelta().
| void ProgramInfo::SendUpdateEvent | ( | void | ) |
Sends event out that the ProgramInfo should be reloaded.
Definition at line 2138 of file programinfo.cpp.
Referenced by RecordingInfo::ApplyRecordPlayGroupChange(), RecordingInfo::ApplyRecordRecGroupChange(), RecordingInfo::ApplyRecordRecTitleChange(), RecordingInfo::ApplyStorageGroupChange(), JobQueue::DoFlagCommercialsThread(), JobQueue::DoUserJobThread(), RecordingInfo::FinishedRecording(), MarkAsInUse(), SaveAutoExpire(), SaveBasename(), SaveBookmark(), SaveCommFlagged(), SaveDeletePendingFlag(), SaveEditing(), SavePreserve(), SaveResolutionProperty(), SaveTranscodeStatus(), SaveWatched(), and RecordingInfo::UpdateRecordingEnd().
| void ProgramInfo::SendAddedEvent | ( | void | ) | const |
Sends event out that the ProgramInfo should be added to lists.
Definition at line 2143 of file programinfo.cpp.
Referenced by SaveDeletePendingFlag(), and RecordingInfo::StartedRecording().
| void ProgramInfo::SendDeletedEvent | ( | void | ) | const |
Sends event out that the ProgramInfo should be delete from lists.
Definition at line 2148 of file programinfo.cpp.
Referenced by MainServer::DoHandleDeleteRecording().
| QString ProgramInfo::i18n | ( | const QString & | msg | ) | [static] |
Translations for play,recording, & storage groups +.
Translations for play,recording, & storage groups.
Definition at line 3863 of file programinfo.cpp.
Referenced by StatusBox::doAutoExpireList(), PlaybackBox::fillRecGroupPasswordCache(), ProgDetails::loadPage(), PlaybackBox::PlaybackBox(), PlaybackProfileConfigs::PlaybackProfileConfigs(), PlaybackBox::setGroupFilter(), PlaybackBox::showGroupFilter(), PlaybackBox::updateGroupInfo(), and PlaybackBox::UpdateUIRecGroupList().
| QString ProgramInfo::MakeUniqueKey | ( | uint | chanid, | |
| const QDateTime & | recstartts | |||
| ) | [static] |
Creates a unique string that can be used to identify a recording.
Definition at line 1040 of file programinfo.cpp.
| bool ProgramInfo::ExtractKey | ( | const QString & | uniquekey, | |
| uint & | chanid, | |||
| QDateTime & | recstartts | |||
| ) | [static] |
Extracts chanid and recstartts from a unique key generated by MakeUniqueKey().
Definition at line 1049 of file programinfo.cpp.
Referenced by TV::customEvent(), PlaybackBox::FindProgramInUILists(), ProgramInfoCache::GetProgramInfo(), and incomingCustomEvent().
| bool ProgramInfo::ExtractKeyFromPathname | ( | const QString & | pathname, | |
| uint & | chanid, | |||
| QDateTime & | recstartts | |||
| ) | [static] |
Definition at line 1060 of file programinfo.cpp.
Referenced by preview_helper(), and ProgramInfo().
| QString ProgramInfo::QueryRecordingGroupPassword | ( | const QString & | group | ) | [static] |
Definition at line 3456 of file programinfo.cpp.
Referenced by TV::PromptRecGroupPassword().
Definition at line 2194 of file programinfo.cpp.
| QMap< QString, uint32_t > ProgramInfo::QueryInUseMap | ( | void | ) | [static] |
Definition at line 3917 of file programinfo.cpp.
Referenced by MythXML::GetRecorded(), and MainServer::HandleQueryRecordings().
| QMap< QString, bool > ProgramInfo::QueryJobsRunning | ( | int | type | ) | [static] |
Definition at line 3952 of file programinfo.cpp.
Referenced by MythXML::GetRecorded(), and MainServer::HandleQueryRecordings().
| QStringList ProgramInfo::LoadFromScheduler | ( | const QString & | altTable, | |
| int | recordid | |||
| ) | [static] |
Definition at line 3980 of file programinfo.cpp.
Referenced by LoadFromScheduler(), and RecordingInfo::RecordingInfo().
| void ProgramInfo::QueryMarkupMap | ( | frm_dir_map_t & | marks, | |
| MarkTypes | type, | |||
| bool | merge = false | |||
| ) | const [protected] |
Definition at line 2845 of file programinfo.cpp.
Referenced by QueryBookmark(), QueryCommBreakList(), QueryCutList(), and QueryMarkupFlag().
| void ProgramInfo::SaveMarkupMap | ( | const frm_dir_map_t & | marks, | |
| MarkTypes | type = MARK_ALL, |
|||
| int64_t | min_frm = -1, |
|||
| int64_t | max_frm = -1 | |||
| ) | const [protected] |
Definition at line 2777 of file programinfo.cpp.
Referenced by SaveBookmark(), SaveCommBreakList(), SaveCutList(), and SaveMarkupFlag().
| void ProgramInfo::ClearMarkupMap | ( | MarkTypes | type = MARK_ALL, |
|
| int64_t | min_frm = -1, |
|||
| int64_t | max_frm = -1 | |||
| ) | const [protected] |
Definition at line 2736 of file programinfo.cpp.
Referenced by SaveBookmark(), SaveCommBreakList(), SaveCutList(), and SaveMarkupFlag().
| QString ProgramInfo::CreateRecordBasename | ( | const QString & | ext | ) | const [protected] |
Returns a filename for a recording based on the recording channel and date.
Definition at line 1859 of file programinfo.cpp.
Referenced by RecordingInfo::StartedRecording().
| bool ProgramInfo::LoadProgramFromRecorded | ( | const uint | _chanid, | |
| const QDateTime & | _recstartts | |||
| ) | [protected] |
Loads ProgramInfo for an existing recording.
Definition at line 1557 of file programinfo.cpp.
Referenced by ProgramInfo().
| bool ProgramInfo::FromStringList | ( | QStringList::const_iterator & | it, | |
| QStringList::const_iterator | end | |||
| ) | [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 1198 of file programinfo.cpp.
| void ProgramInfo::QueryMarkupMap | ( | const QString & | video_pathname, | |
| frm_dir_map_t & | marks, | |||
| MarkTypes | type, | |||
| bool | merge = false | |||
| ) | [static, protected] |
Definition at line 2862 of file programinfo.cpp.
| void ProgramInfo::QueryMarkupMap | ( | uint | chanid, | |
| const QDateTime & | recstartts, | |||
| frm_dir_map_t & | marks, | |||
| MarkTypes | type, | |||
| bool | merge = false | |||
| ) | [static, protected] |
Definition at line 2893 of file programinfo.cpp.
| int ProgramInfo::InitStatics | ( | void | ) | [static, protected] |
Definition at line 3854 of file programinfo.cpp.
Referenced by pginfo_init_statics().
| void ProgramInfo::SetAvailableStatus | ( | AvailableStatusType | status, | |
| const QString & | where | |||
| ) |
Definition at line 1888 of file programinfo.cpp.
Referenced by PlaybackBox::customEvent(), PlaybackBox::PlaylistDelete(), PlaybackBox::RemoveProgram(), and PlaybackBox::UpdateUILists().
| AvailableStatusType ProgramInfo::GetAvailableStatus | ( | void | ) | const [inline] |
Definition at line 664 of file programinfo.h.
Referenced by PlaybackBox::customEvent(), PlaybackBox::deleteSelected(), extract_main_state(), PreviewGeneratorQueue::GeneratePreviewImage(), PlaybackBoxHelper::GetPreviewImage(), PlaybackBox::ItemVisible(), PlaybackBox::keyPressEvent(), PlaybackBox::Play(), PlaybackBox::popupClosed(), PlaybackBox::RemoveProgram(), PlaybackBox::ShowActionPopup(), and PlaybackBox::ShowAvailabilityPopup().
| int pginfo_init_statics | ( | void | ) | [friend] |
Definition at line 42 of file programinfo.cpp.
QString ProgramInfo::title [protected] |
Definition at line 602 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), RecordingInfo::ApplyRecordRecTitleChange(), 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(), ToMap(), toString(), ToStringList(), and ProgramRecPriority::upcoming().
QString ProgramInfo::subtitle [protected] |
Definition at line 603 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), RecordingInfo::ApplyRecordRecTitleChange(), clear(), clone(), RecordingInfo::FinishedRecording(), RecordingInfo::ForgetHistory(), FromStringList(), RecordingInfo::InsertProgram(), IsSameProgram(), LoadProgramFromRecorded(), ProgramInfo(), SaveWatched(), RecordingInfo::SetDupHistory(), SubstituteMatches(), ToMap(), toString(), ToStringList(), ProgramRecPriority::updateInfo(), and ProgramRecPriority::UpdateList().
QString ProgramInfo::description [protected] |
Definition at line 604 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), clear(), clone(), RecordingInfo::ForgetHistory(), FromStringList(), RecordingInfo::InsertProgram(), IsSameProgram(), LoadProgramFromRecorded(), ProgramInfo(), RecordingInfo::SetDupHistory(), SubstituteMatches(), ToMap(), ToStringList(), ProgramRecPriority::updateInfo(), and ProgramRecPriority::UpdateList().
QString ProgramInfo::category [protected] |
Definition at line 605 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), clear(), clone(), FromStringList(), RecordingInfo::InsertProgram(), LoadProgramFromRecorded(), ProgramInfo(), SubstituteMatches(), ToMap(), ToStringList(), ProgramRecPriority::updateInfo(), and ProgramRecPriority::UpdateList().
int32_t ProgramInfo::recpriority [protected] |
Definition at line 607 of file programinfo.h.
Referenced by ProgramRecPriority::changeRecPriority(), clear(), clone(), FromStringList(), LoadProgramFromRecorded(), ProgramInfo(), RecordingInfo::RecordingInfo(), ToMap(), and ToStringList().
uint32_t ProgramInfo::chanid [protected] |
Definition at line 609 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(), RecordingInfo::FinishedRecording(), RecordingInfo::ForgetHistory(), FromStringList(), RecordingInfo::InsertProgram(), IsSameProgramTimeslot(), IsSameProgramWeakCheck(), IsSameRecording(), IsSameTimeslot(), LoadProgramFromRecorded(), MarkAsInUse(), ProgramInfo(), QueryAutoExpire(), QueryAverageFrameRate(), QueryAverageHeight(), QueryAverageWidth(), QueryBasename(), QueryBookmarkTimeStamp(), QueryFilesize(), QueryIsEditing(), QueryIsInUse(), QueryJobsRunning(), QueryMarkupMap(), QueryMplexID(), QueryPositionMap(), QueryRecordingGroup(), QueryTranscoderID(), QueryTranscodeStatus(), QueryTuningInfo(), RecordingInfo::RecordingInfo(), Reload(), SaveAspect(), SaveAutoExpire(), SaveBasename(), SaveBookmark(), SaveCommFlagged(), SaveCutList(), SaveDeletePendingFlag(), SaveEditing(), SaveFilesize(), SaveFrameRate(), SaveMarkupMap(), SavePositionMap(), SavePositionMapDelta(), SavePreserve(), SaveResolution(), SaveResolutionProperty(), SaveTranscodeStatus(), SaveWatched(), SendAddedEvent(), SendDeletedEvent(), SendUpdateEvent(), SetPathname(), RecordingInfo::StartedRecording(), SubstituteMatches(), ToMap(), ToStringList(), and RecordingInfo::UpdateRecordingEnd().
QString ProgramInfo::chanstr [protected] |
Definition at line 610 of file programinfo.h.
Referenced by ChannelText(), clear(), clone(), FromStringList(), LoadProgramFromRecorded(), ProgramInfo(), RecordingInfo::RecordingInfo(), ToMap(), ToStringList(), ProgramRecPriority::updateInfo(), and ProgramRecPriority::UpdateList().
QString ProgramInfo::chansign [protected] |
Definition at line 611 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), ChannelText(), clear(), clone(), RecordingInfo::DeleteHistory(), FromStringList(), IsSameProgramTimeslot(), IsSameTimeslot(), LoadProgramFromRecorded(), ProgramInfo(), RecordingInfo::ReactivateRecording(), RecordingInfo::RecordingInfo(), ToMap(), ToStringList(), ProgramRecPriority::updateInfo(), and ProgramRecPriority::UpdateList().
QString ProgramInfo::channame [protected] |
Definition at line 612 of file programinfo.h.
Referenced by ChannelText(), clear(), clone(), FromStringList(), LoadProgramFromRecorded(), ProgramInfo(), RecordingInfo::RecordingInfo(), ToMap(), toString(), ToStringList(), ProgramRecPriority::updateInfo(), and ProgramRecPriority::UpdateList().
QString ProgramInfo::chanplaybackfilters [protected] |
Definition at line 613 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), LoadProgramFromRecorded(), ProgramInfo(), RecordingInfo::RecordingInfo(), ToMap(), and ToStringList().
QString ProgramInfo::recgroup [protected] |
Definition at line 615 of file programinfo.h.
Referenced by RecordingInfo::ApplyRecordRecGroupChange(), clear(), clone(), FromStringList(), RecordingInfo::InsertProgram(), LoadProgramFromRecorded(), QueryRecordingGroup(), SubstituteMatches(), ToMap(), ToStringList(), ProgramRecPriority::updateInfo(), and ProgramRecPriority::UpdateList().
QString ProgramInfo::playgroup [protected] |
Definition at line 616 of file programinfo.h.
Referenced by RecordingInfo::ApplyRecordPlayGroupChange(), clear(), clone(), FromStringList(), RecordingInfo::InsertProgram(), LoadProgramFromRecorded(), SubstituteMatches(), ToMap(), and ToStringList().
QString ProgramInfo::pathname [mutable, protected] |
Definition at line 618 of file programinfo.h.
Referenced by clear(), ClearMarkupMap(), ClearPositionMap(), clone(), DiscoverRecordingDirectory(), FromStringList(), RecordingInfo::InsertProgram(), IsFileReadable(), LoadProgramFromRecorded(), MarkAsInUse(), QueryMarkupMap(), QueryPositionMap(), SaveMarkupMap(), SavePositionMap(), SavePositionMapDelta(), SaveWatched(), SetPathname(), RecordingInfo::StartedRecording(), and ToStringList().
QString ProgramInfo::hostname [protected] |
Definition at line 620 of file programinfo.h.
Referenced by clear(), clone(), DiscoverRecordingDirectory(), FromStringList(), GetPlaybackURL(), RecordingInfo::InsertProgram(), LoadProgramFromRecorded(), MarkAsInUse(), RecordingInfo::RecordingInfo(), RecordingInfo::StartedRecording(), SubstituteMatches(), and ToStringList().
QString ProgramInfo::storagegroup [protected] |
Definition at line 621 of file programinfo.h.
Referenced by RecordingInfo::ApplyStorageGroupChange(), clear(), clone(), FromStringList(), GetPlaybackURL(), RecordingInfo::InsertProgram(), LoadProgramFromRecorded(), RecordingInfo::RecordingInfo(), ToMap(), ToStringList(), ProgramRecPriority::updateInfo(), and ProgramRecPriority::UpdateList().
QString ProgramInfo::seriesid [protected] |
Definition at line 623 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), clear(), clone(), FromStringList(), RecordingInfo::InsertProgram(), LoadProgramFromRecorded(), ToMap(), and ToStringList().
QString ProgramInfo::programid [protected] |
Definition at line 624 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), clear(), clone(), RecordingInfo::ForgetHistory(), FromStringList(), RecordingInfo::InsertProgram(), IsSameProgram(), LoadProgramFromRecorded(), RecordingInfo::SetDupHistory(), ToMap(), and ToStringList().
QString ProgramInfo::catType [protected] |
Definition at line 625 of file programinfo.h.
Referenced by clear(), clone(), IsSameProgram(), LoadProgramFromRecorded(), RecordingInfo::RecordingInfo(), and ToMap().
uint64_t ProgramInfo::filesize [protected] |
Definition at line 627 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), LoadProgramFromRecorded(), QueryFilesize(), ToMap(), and ToStringList().
QDateTime ProgramInfo::startts [protected] |
Definition at line 629 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), clear(), RecordingInfo::clone(), clone(), FromStringList(), GetSecondsInRecording(), RecordingInfo::InsertProgram(), IsSameProgramTimeslot(), IsSameProgramWeakCheck(), IsSameTimeslot(), LoadProgramFromRecorded(), ProgramInfo(), RecordingInfo::ReactivateRecording(), RecordingInfo::RecordingInfo(), SaveResolutionProperty(), RecordingInfo::StartedRecording(), SubstituteMatches(), ToMap(), toString(), and ToStringList().
QDateTime ProgramInfo::endts [protected] |
Definition at line 630 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), clear(), clone(), FromStringList(), GetSecondsInRecording(), RecordingInfo::InsertProgram(), IsSameProgramTimeslot(), LoadProgramFromRecorded(), ProgramInfo(), RecordingInfo::RecordingInfo(), SubstituteMatches(), ToMap(), toString(), and ToStringList().
QDateTime ProgramInfo::recstartts [protected] |
Definition at line 631 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(), LoadProgramFromRecorded(), MarkAsInUse(), ProgramInfo(), QueryAutoExpire(), QueryAverageFrameRate(), QueryAverageHeight(), QueryAverageWidth(), QueryBasename(), QueryBookmarkTimeStamp(), QueryFilesize(), QueryIsEditing(), QueryIsInUse(), QueryJobsRunning(), QueryMarkupMap(), QueryPositionMap(), QueryRecordingGroup(), QueryTranscoderID(), QueryTranscodeStatus(), RecordingInfo::RecordingInfo(), Reload(), SaveAspect(), SaveAutoExpire(), SaveBasename(), SaveBookmark(), SaveCommFlagged(), SaveCutList(), SaveDeletePendingFlag(), SaveEditing(), SaveFilesize(), SaveFrameRate(), SaveMarkupMap(), SavePositionMap(), SavePositionMapDelta(), SavePreserve(), SaveResolution(), SaveTranscodeStatus(), SaveWatched(), SendAddedEvent(), SendDeletedEvent(), SendUpdateEvent(), RecordingInfo::StartedRecording(), SubstituteMatches(), ToMap(), toString(), ToStringList(), UpdateLastDelete(), and RecordingInfo::UpdateRecordingEnd().
QDateTime ProgramInfo::recendts [protected] |
Definition at line 632 of file programinfo.h.
Referenced by clear(), clone(), RecordingInfo::FinishedRecording(), FromStringList(), RecordingInfo::InsertProgram(), LoadProgramFromRecorded(), ProgramInfo(), RecordingInfo::RecordingInfo(), SubstituteMatches(), ToMap(), toString(), ToStringList(), and RecordingInfo::UpdateRecordingEnd().
float ProgramInfo::stars [protected] |
Rating, range [0..1].
Definition at line 634 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), RecordingInfo::InsertProgram(), LoadProgramFromRecorded(), RecordingInfo::RecordingInfo(), ToMap(), and ToStringList().
QDate ProgramInfo::originalAirDate [protected] |
Definition at line 635 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), RecordingInfo::InsertProgram(), LoadProgramFromRecorded(), ProgramInfo(), RecordingInfo::RecordingInfo(), ToMap(), and ToStringList().
QDateTime ProgramInfo::lastmodified [protected] |
Definition at line 636 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), LoadProgramFromRecorded(), RecordingInfo::RecordingInfo(), ToMap(), and ToStringList().
QDateTime ProgramInfo::lastInUseTime [protected] |
Definition at line 637 of file programinfo.h.
Referenced by clear(), clone(), LoadProgramFromRecorded(), MarkAsInUse(), and UpdateInUseMark().
uint32_t ProgramInfo::prefinput [protected] |
Definition at line 639 of file programinfo.h.
Referenced by clear(), clone(), and LoadProgramFromRecorded().
int32_t ProgramInfo::recpriority2 [protected] |
Definition at line 640 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), LoadProgramFromRecorded(), ToMap(), and ToStringList().
uint32_t ProgramInfo::recordid [protected] |
Definition at line 642 of file programinfo.h.
Referenced by RecordingInfo::AddHistory(), clear(), clone(), RecordingInfo::DeleteHistory(), RecordingInfo::ForgetHistory(), FromStringList(), RecordingInfo::getRecordID(), RecordingInfo::InsertProgram(), IsSameProgram(), LoadProgramFromRecorded(), ProgramInfo(), RecordingInfo::RecordingInfo(), ToStringList(), and UpdateLastDelete().
uint32_t ProgramInfo::parentid [protected] |
Definition at line 643 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().
uint32_t ProgramInfo::sourceid [protected] |
Definition at line 645 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), LoadProgramFromRecorded(), QueryTuningInfo(), RecordingInfo::RecordingInfo(), and ToStringList().
uint32_t ProgramInfo::inputid [protected] |
Definition at line 646 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), LoadProgramFromRecorded(), ProgramInfo(), RecordingInfo::RecordingInfo(), and ToStringList().
uint32_t ProgramInfo::cardid [protected] |
Definition at line 647 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), LoadProgramFromRecorded(), ProgramInfo(), QueryTuningInfo(), RecordingInfo::RecordingInfo(), ToMap(), and ToStringList().
uint32_t ProgramInfo::findid [protected] |
Definition at line 648 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().
uint32_t ProgramInfo::programflags [protected] |
ProgramFlag.
Definition at line 650 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().
uint16_t ProgramInfo::properties [protected] |
SubtitleType,VideoProperty,AudioProperty.
Definition at line 651 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), LoadProgramFromRecorded(), RecordingInfo::RecordingInfo(), and SaveResolutionProperty().
uint16_t ProgramInfo::year [protected] |
Definition at line 652 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), LoadProgramFromRecorded(), ProgramInfo(), RecordingInfo::RecordingInfo(), ToMap(), and ToStringList().
int8_t ProgramInfo::recstatus [protected] |
Definition at line 654 of file programinfo.h.
Referenced by clear(), clone(), ProgramRecPriority::deactivate(), ProgramRecPriority::FillList(), RecordingInfo::FinishedRecording(), FromStringList(), LoadProgramFromRecorded(), ProgramInfo(), RecordingInfo::RecordingInfo(), ProgramRecPriority::scheduleChanged(), RecordingInfo::SubstituteMatches(), ToMap(), ToStringList(), and ProgramRecPriority::UpdateList().
int8_t ProgramInfo::oldrecstatus [protected] |
Reimplemented in RecordingInfo.
Definition at line 655 of file programinfo.h.
Referenced by LoadProgramFromRecorded().
uint8_t ProgramInfo::rectype [protected] |
Definition at line 656 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().
uint8_t ProgramInfo::dupin [protected] |
Definition at line 657 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), LoadProgramFromRecorded(), ProgramInfo(), RecordingInfo::RecordingInfo(), and ToStringList().
uint8_t ProgramInfo::dupmethod [protected] |
Definition at line 658 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), IsSameProgram(), LoadProgramFromRecorded(), ProgramInfo(), RecordingInfo::RecordingInfo(), and ToStringList().
uint8_t ProgramInfo::availableStatus [protected] |
Definition at line 661 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), LoadProgramFromRecorded(), and SetAvailableStatus().
Definition at line 666 of file programinfo.h.
Referenced by clear(), clone(), GuideGrid::cursorRight(), GuideGrid::fillProgramRowInfos(), FromStringList(), and LoadProgramFromRecorded().
Definition at line 667 of file programinfo.h.
Referenced by clear(), clone(), GuideGrid::cursorLeft(), GuideGrid::cursorRight(), GuideGrid::fillProgramRowInfos(), FromStringList(), and LoadProgramFromRecorded().
| QString ProgramInfo::sortTitle |
Definition at line 668 of file programinfo.h.
Referenced by clear(), clone(), ProgLister::FillItemList(), ProgramRecPriority::FillList(), FromStringList(), LoadProgramFromRecorded(), programAvgDelaySort::operator()(), programLastRecordSort::operator()(), programRecCountSort::operator()(), programCountSort::operator()(), titleSort::operator()(), plPrevTitleSort::operator()(), and plTitleSort::operator()().
const QString ProgramInfo::kFromRecordedQuery [static] |
"SELECT r.title, r.subtitle, r.description, "
" r.category, r.chanid, c.channum, "
" c.callsign, c.name, c.outputfilters, "
" r.recgroup, r.playgroup, r.storagegroup, "
" r.basename, r.hostname, r.recpriority, "
" r.seriesid, r.programid, r.filesize, "
" r.progstart, r.progend, r.stars, "
" r.starttime, r.endtime, p.airdate+0, "
" r.originalairdate, r.lastmodified, r.recordid, "
" c.commmethod, r.commflagged, r.previouslyshown, "
" r.transcoder, r.transcoded, r.deletepending, "
" r.preserve, r.cutlist, r.autoexpire, "
" r.editing, r.bookmark, r.watched, "
" p.audioprop+0, p.videoprop+0, p.subtitletypes+0, "
" r.findid, rec.dupin, rec.dupmethod "
"FROM recorded AS r "
"LEFT JOIN channel AS c "
"ON (r.chanid = c.chanid) "
"LEFT JOIN recordedprogram AS p "
"ON (r.chanid = p.chanid AND "
" r.progstart = p.starttime) "
"LEFT JOIN record AS rec "
"ON (r.recordid = rec.recordid) "
Definition at line 670 of file programinfo.h.
Referenced by LoadFromRecorded(), and LoadProgramFromRecorded().
QString ProgramInfo::inUseForWhat [protected] |
Definition at line 673 of file programinfo.h.
Referenced by clear(), clone(), FromStringList(), LoadProgramFromRecorded(), MarkAsInUse(), QueryInUseMap(), and UpdateInUseMark().
PMapDBReplacement* ProgramInfo::positionMapDBReplacement [protected] |
Definition at line 674 of file programinfo.h.
Referenced by clear(), ClearPositionMap(), clone(), FromStringList(), LoadProgramFromRecorded(), QueryPositionMap(), SavePositionMap(), and SavePositionMapDelta().
QMutex ProgramInfo::staticDataLock [static, protected] |
Definition at line 676 of file programinfo.h.
Referenced by InitStatics(), and RecordingInfo::RecordingInfo().
ProgramInfoUpdater * ProgramInfo::updater [static, protected] |
Definition at line 677 of file programinfo.h.
Referenced by InitStatics(), SaveFilesize(), SendAddedEvent(), SendDeletedEvent(), and SendUpdateEvent().
1.6.3