C# Class CommonEPG.ObjectStoreManager

Inheritance: IDisposable
Show file Open project: carlospuk/remotepotato Class Usage Examples

Public Properties

Property Type Description
ScheduleInitialFailureResult CommonEPG.RecordingResult
ScheduleInitialSucceeded bool
requestInProgress Request

Private Properties

Property Type Description
ChannelListContainsCallsign bool
DoesFavoriteLineUpExist bool
FilterTVProgrammeListByServices List
GetChannelsInFirstLineup List
GetRecordingWithID Recording
GetRequestWithID Request
GetScheduleEntryWithID bool
GetServiceByID Service
StringListMatch bool

Public Methods

Method Description
AddFavoriteLineupsToTVServicesList ( List services ) : void
AddOrRemoveServicesToRemotePotatoLineUp ( List servicesToAdd, List servicesToRemove ) : void
AddRemotePotatoFavoriteLineUp ( ) : void
AddRemotePotatoLineUp ( ) : void
CancelRecording ( long recordingID ) : bool
CancelRequest ( long requestID ) : bool
DebugError ( Exception ex ) : void
DebugError ( string msg ) : void
DebugError ( string msg, Exception ex ) : void
DebugInfoOnly ( string msg ) : void
DebugNormal ( string msg ) : void
DetermineIfRequestSucceeded ( CommonEPG.RPRequest rpRequest ) : CommonEPG.RecordingResult
Dispose ( ) : void
DoesRemotePotatoLineUpExist ( ) : bool
GetAllRecordingsForRequests ( List ExistingRequests, CommonEPG.DateRange dateRange ) : List
GetAllRequests ( CommonEPG.DateRange dateRange ) : List
GetAllServices ( bool mergeLineUps, bool includeInternetTV, bool includeHiddenChannels, bool blockUserHidden, bool blockUserAdded, bool blockUserMapped, bool blockUnknown, bool DebugChannelList ) : TVService>.Dictionary
GetFavoriteLineUpNames ( ) : List
GetInfoBlobForTVProgrammeUID ( string progUID, List considerServiceIDs ) : CommonEPG.TVProgrammeInfoBlob
GetRPRequestWithID ( long ID ) : CommonEPG.RPRequest
GetTVProgrammeCrewFromTVProgrammeUID ( string progUID ) : CommonEPG.TVProgrammeCrew
GetTVProgrammeWithUID ( string progUID ) : CommonEPG.TVProgramme
GetTVProgrammesUsingEPGRequests ( List EPGrequests, bool omitDescriptions, TVProgrammeType matchType ) : List
Init ( ) : bool
ListOfServicesFromIDs ( string serviceIDs ) : List
ObjectStoreManager ( ) : System
RemoveAllServicesFromRemotePotatoLineUp ( ) : void
ScheduleRecording ( CommonEPG.RecordingRequest rr, EventWaitHandle _ewh ) : void
ScheduleRecordingCompleted ( ) : void
ScheduleRecording_Done ( ) : void
SearchTVProgrammesByDateRange ( CommonEPG.DateRange dateRange, string searchText, EPGSearchTextType searchTextType, EPGSearchMatchType searchMatchType, bool &resultsWereTruncated, string serviceIDs ) : List

Private Methods

Method Description
ChannelListContainsCallsign ( List lstServices, string matchCallsign ) : bool
DoesFavoriteLineUpExist ( string lineupName ) : bool
FilterTVProgrammeListByServices ( List inputList, List considerServiceIDs ) : List

Filter a list of TV programmes to return only those on a list of designated services Also strips out any null items

GetChannelsInFirstLineup ( bool mergeLineups ) : List
GetRecordingWithID ( long ID ) : Recording
GetRequestWithID ( long ID ) : Request
GetScheduleEntryWithID ( string progUID, ScheduleEntry &se ) : bool
GetServiceByID ( string uid ) : Service
StringListMatch ( List stringList, EPGSearchMatchType matchType, string searchText ) : bool

Method Details

AddFavoriteLineupsToTVServicesList() public method

public AddFavoriteLineupsToTVServicesList ( List services ) : void
services List
return void

AddOrRemoveServicesToRemotePotatoLineUp() public method

public AddOrRemoveServicesToRemotePotatoLineUp ( List servicesToAdd, List servicesToRemove ) : void
servicesToAdd List
servicesToRemove List
return void

AddRemotePotatoFavoriteLineUp() public method

public AddRemotePotatoFavoriteLineUp ( ) : void
return void

AddRemotePotatoLineUp() public method

public AddRemotePotatoLineUp ( ) : void
return void

CancelRecording() public method

public CancelRecording ( long recordingID ) : bool
recordingID long
return bool

CancelRequest() public method

public CancelRequest ( long requestID ) : bool
requestID long
return bool

DebugError() public method

public DebugError ( Exception ex ) : void
ex System.Exception
return void

DebugError() public method

public DebugError ( string msg ) : void
msg string
return void

DebugError() public method

public DebugError ( string msg, Exception ex ) : void
msg string
ex System.Exception
return void

DebugInfoOnly() public method

public DebugInfoOnly ( string msg ) : void
msg string
return void

DebugNormal() public method

public DebugNormal ( string msg ) : void
msg string
return void

DetermineIfRequestSucceeded() public method

public DetermineIfRequestSucceeded ( CommonEPG.RPRequest rpRequest ) : CommonEPG.RecordingResult
rpRequest CommonEPG.RPRequest
return CommonEPG.RecordingResult

Dispose() public method

public Dispose ( ) : void
return void

DoesRemotePotatoLineUpExist() public method

public DoesRemotePotatoLineUpExist ( ) : bool
return bool

GetAllRecordingsForRequests() public method

public GetAllRecordingsForRequests ( List ExistingRequests, CommonEPG.DateRange dateRange ) : List
ExistingRequests List
dateRange CommonEPG.DateRange
return List

GetAllRequests() public method

public GetAllRequests ( CommonEPG.DateRange dateRange ) : List
dateRange CommonEPG.DateRange
return List

GetAllServices() public method

public GetAllServices ( bool mergeLineUps, bool includeInternetTV, bool includeHiddenChannels, bool blockUserHidden, bool blockUserAdded, bool blockUserMapped, bool blockUnknown, bool DebugChannelList ) : TVService>.Dictionary
mergeLineUps bool
includeInternetTV bool
includeHiddenChannels bool
blockUserHidden bool
blockUserAdded bool
blockUserMapped bool
blockUnknown bool
DebugChannelList bool
return TVService>.Dictionary

GetFavoriteLineUpNames() public method

public GetFavoriteLineUpNames ( ) : List
return List

GetInfoBlobForTVProgrammeUID() public method

public GetInfoBlobForTVProgrammeUID ( string progUID, List considerServiceIDs ) : CommonEPG.TVProgrammeInfoBlob
progUID string
considerServiceIDs List
return CommonEPG.TVProgrammeInfoBlob

GetRPRequestWithID() public method

public GetRPRequestWithID ( long ID ) : CommonEPG.RPRequest
ID long
return CommonEPG.RPRequest

GetTVProgrammeCrewFromTVProgrammeUID() public method

public GetTVProgrammeCrewFromTVProgrammeUID ( string progUID ) : CommonEPG.TVProgrammeCrew
progUID string
return CommonEPG.TVProgrammeCrew

GetTVProgrammeWithUID() public method

public GetTVProgrammeWithUID ( string progUID ) : CommonEPG.TVProgramme
progUID string
return CommonEPG.TVProgramme

GetTVProgrammesUsingEPGRequests() public method

public GetTVProgrammesUsingEPGRequests ( List EPGrequests, bool omitDescriptions, TVProgrammeType matchType ) : List
EPGrequests List
omitDescriptions bool
matchType TVProgrammeType
return List

Init() public method

public Init ( ) : bool
return bool

ListOfServicesFromIDs() public method

public ListOfServicesFromIDs ( string serviceIDs ) : List
serviceIDs string
return List

ObjectStoreManager() public method

public ObjectStoreManager ( ) : System
return System

RemoveAllServicesFromRemotePotatoLineUp() public method

public RemoveAllServicesFromRemotePotatoLineUp ( ) : void
return void

ScheduleRecording() public method

public ScheduleRecording ( CommonEPG.RecordingRequest rr, EventWaitHandle _ewh ) : void
rr CommonEPG.RecordingRequest
_ewh System.Threading.EventWaitHandle
return void

ScheduleRecordingCompleted() public method

public ScheduleRecordingCompleted ( ) : void
return void

ScheduleRecording_Done() public method

public ScheduleRecording_Done ( ) : void
return void

SearchTVProgrammesByDateRange() public method

public SearchTVProgrammesByDateRange ( CommonEPG.DateRange dateRange, string searchText, EPGSearchTextType searchTextType, EPGSearchMatchType searchMatchType, bool &resultsWereTruncated, string serviceIDs ) : List
dateRange CommonEPG.DateRange
searchText string
searchTextType EPGSearchTextType
searchMatchType EPGSearchMatchType
resultsWereTruncated bool
serviceIDs string
return List

Property Details

ScheduleInitialFailureResult public property

public RecordingResult,CommonEPG ScheduleInitialFailureResult
return CommonEPG.RecordingResult

ScheduleInitialSucceeded public property

public bool ScheduleInitialSucceeded
return bool

requestInProgress public property

public Request requestInProgress
return Request