C# Class TVServerKodi.TVServerController

Afficher le fichier Open project: margro/TVServerXBMC Class Usage Examples

Méthodes publiques

Свойство Type Description
lastException System.Exception
userlist TvControl.User>.Dictionary

Méthodes publiques

Méthode Description
AddSchedule ( int channelId, String programName, System.DateTime startTime, System.DateTime endTime, int scheduleType, Int32 priority, Int32 keepmethod, System.DateTime keepdate, Int32 preRecordInterval, Int32 postRecordInterval ) : bool
DeleteRecording ( int idRecording ) : void
DeleteSchedule ( int idSchedule ) : bool
GetBackendName ( ) : string
GetCardSettings ( int cardID ) : List
GetChannelCount ( String group ) : int
GetChannelInfo ( int chanId ) : ChannelInfo
GetChannelInfosForGroup ( string groupName ) : List
GetEPGForChannel ( string idChannel, System.DateTime startTime, System.DateTime endTime ) : List
GetGroupNames ( ) : List
GetRadioChannels ( List groupNames ) : List
GetRadioGroupNames ( ) : List
GetReceptionDetails ( int cardID ) : ReceptionDetails
GetRecordedTV ( ) : List
GetRecordingCount ( ) : int
GetRecordingDriveSpace ( ) : string
GetRecordingInfo ( int recId, bool withRTSPurl ) : String
GetRecordingStopTime ( int recordingindex ) : int
GetRecordingURL ( int idRecording, TvControl.TvServer server, bool resolveHostnames, string &OriginalURL ) : string
GetRecordings ( bool resolveHostnames, string &OriginalURL ) : List
GetScheduleCount ( ) : int
GetScheduleInfo ( int index ) : String
GetSchedules ( bool kodiHasSeriesSupport = false ) : List
GetStreamingStatus ( ) : List
GetTVChannels ( List groupNames ) : List
GetTimeshiftURLs ( TvControl &me ) : TimeShiftURLs
GetVersion ( ) : string
GetWebStreamURL ( TvDatabase.Channel &chan ) : string
GetWebStreamURL ( int idChannel ) : string
HeartBeat ( IUser user ) : void
IsRecording ( ) : bool
IsTimeShifting ( IUser &user ) : bool
RequestUser ( string username ) : TvControl.User
ResetConnection ( ) : void
SetRecordingStopTime ( int recordingindex, int stopTime ) : bool
SetRecordingTimesWatched ( int recordingindex, int timesWatched ) : bool
Setup ( ) : bool
StartTimeShifting ( int idChannel, string &rtspURL, string &remoteserver, IUser &user, string &timeshiftfilename, System.Int64 &timeShiftBufPos, long &timeShiftBufNr ) : TvResult
StopRecording ( int schedId ) : bool
StopTimeShifting ( ) : bool
StopTimeShifting ( IUser &user ) : bool
TVServerController ( IController controller ) : System
UpdateRecording ( int recordingindex, String recordingName ) : bool
UpdateSchedule ( int scheduleindex, int channelId, int active, String programName, System.DateTime startTime, System.DateTime endTime, int scheduleType, Int32 priority, Int32 keepmethod, System.DateTime keepdate, Int32 preRecordInterval, Int32 postRecordInterval, Int32 programId ) : bool
getRadioChannels ( string groupName ) : List
getRecordings ( ) : List
getSchedules ( ) : List

Private Methods

Méthode Description
FormatSchedule ( string strSchedId, string strStartTime, string strEndTime, string strIdChannel, string strchannelname, string strProgramName, TvDatabase.Schedule sched, string strIsRecording, string stridProgram, System.DateTime Canceled, int iParentSchedule, string strGenre, string strProgramDescription ) : string
GetDateTimeString ( ) : string

Method Details

AddSchedule() public méthode

public AddSchedule ( int channelId, String programName, System.DateTime startTime, System.DateTime endTime, int scheduleType, Int32 priority, Int32 keepmethod, System.DateTime keepdate, Int32 preRecordInterval, Int32 postRecordInterval ) : bool
channelId int
programName String
startTime System.DateTime
endTime System.DateTime
scheduleType int
priority System.Int32
keepmethod System.Int32
keepdate System.DateTime
preRecordInterval System.Int32
postRecordInterval System.Int32
Résultat bool

DeleteRecording() public méthode

public DeleteRecording ( int idRecording ) : void
idRecording int
Résultat void

DeleteSchedule() public méthode

public DeleteSchedule ( int idSchedule ) : bool
idSchedule int
Résultat bool

GetBackendName() public méthode

public GetBackendName ( ) : string
Résultat string

GetCardSettings() public méthode

public GetCardSettings ( int cardID ) : List
cardID int
Résultat List

GetChannelCount() public méthode

public GetChannelCount ( String group ) : int
group String
Résultat int

GetChannelInfo() public méthode

public GetChannelInfo ( int chanId ) : ChannelInfo
chanId int
Résultat ChannelInfo

GetChannelInfosForGroup() public méthode

public GetChannelInfosForGroup ( string groupName ) : List
groupName string
Résultat List

GetEPGForChannel() public méthode

public GetEPGForChannel ( string idChannel, System.DateTime startTime, System.DateTime endTime ) : List
idChannel string
startTime System.DateTime
endTime System.DateTime
Résultat List

GetGroupNames() public méthode

public GetGroupNames ( ) : List
Résultat List

GetRadioChannels() public méthode

public GetRadioChannels ( List groupNames ) : List
groupNames List
Résultat List

GetRadioGroupNames() public méthode

public GetRadioGroupNames ( ) : List
Résultat List

GetReceptionDetails() public méthode

public GetReceptionDetails ( int cardID ) : ReceptionDetails
cardID int
Résultat ReceptionDetails

GetRecordedTV() public méthode

public GetRecordedTV ( ) : List
Résultat List

GetRecordingCount() public méthode

public GetRecordingCount ( ) : int
Résultat int

GetRecordingDriveSpace() public méthode

public GetRecordingDriveSpace ( ) : string
Résultat string

GetRecordingInfo() public méthode

public GetRecordingInfo ( int recId, bool withRTSPurl ) : String
recId int
withRTSPurl bool
Résultat String

GetRecordingStopTime() public méthode

public GetRecordingStopTime ( int recordingindex ) : int
recordingindex int
Résultat int

GetRecordingURL() public méthode

public GetRecordingURL ( int idRecording, TvControl.TvServer server, bool resolveHostnames, string &OriginalURL ) : string
idRecording int
server TvControl.TvServer
resolveHostnames bool
OriginalURL string
Résultat string

GetRecordings() public méthode

public GetRecordings ( bool resolveHostnames, string &OriginalURL ) : List
resolveHostnames bool
OriginalURL string
Résultat List

GetScheduleCount() public méthode

public GetScheduleCount ( ) : int
Résultat int

GetScheduleInfo() public méthode

public GetScheduleInfo ( int index ) : String
index int
Résultat String

GetSchedules() public méthode

public GetSchedules ( bool kodiHasSeriesSupport = false ) : List
kodiHasSeriesSupport bool
Résultat List

GetStreamingStatus() public méthode

public GetStreamingStatus ( ) : List
Résultat List

GetTVChannels() public méthode

public GetTVChannels ( List groupNames ) : List
groupNames List
Résultat List

GetTimeshiftURLs() public méthode

public GetTimeshiftURLs ( TvControl &me ) : TimeShiftURLs
me TvControl
Résultat TimeShiftURLs

GetVersion() public méthode

public GetVersion ( ) : string
Résultat string

GetWebStreamURL() public méthode

public GetWebStreamURL ( TvDatabase.Channel &chan ) : string
chan TvDatabase.Channel
Résultat string

GetWebStreamURL() public méthode

public GetWebStreamURL ( int idChannel ) : string
idChannel int
Résultat string

HeartBeat() public méthode

public HeartBeat ( IUser user ) : void
user IUser
Résultat void

IsRecording() public méthode

public IsRecording ( ) : bool
Résultat bool

IsTimeShifting() public méthode

public IsTimeShifting ( IUser &user ) : bool
user IUser
Résultat bool

RequestUser() public méthode

public RequestUser ( string username ) : TvControl.User
username string
Résultat TvControl.User

ResetConnection() public méthode

public ResetConnection ( ) : void
Résultat void

SetRecordingStopTime() public méthode

public SetRecordingStopTime ( int recordingindex, int stopTime ) : bool
recordingindex int
stopTime int
Résultat bool

SetRecordingTimesWatched() public méthode

public SetRecordingTimesWatched ( int recordingindex, int timesWatched ) : bool
recordingindex int
timesWatched int
Résultat bool

Setup() public méthode

public Setup ( ) : bool
Résultat bool

StartTimeShifting() public méthode

public StartTimeShifting ( int idChannel, string &rtspURL, string &remoteserver, IUser &user, string &timeshiftfilename, System.Int64 &timeShiftBufPos, long &timeShiftBufNr ) : TvResult
idChannel int
rtspURL string
remoteserver string
user IUser
timeshiftfilename string
timeShiftBufPos System.Int64
timeShiftBufNr long
Résultat TvResult

StopRecording() public méthode

public StopRecording ( int schedId ) : bool
schedId int
Résultat bool

StopTimeShifting() public méthode

public StopTimeShifting ( ) : bool
Résultat bool

StopTimeShifting() public méthode

public StopTimeShifting ( IUser &user ) : bool
user IUser
Résultat bool

TVServerController() public méthode

public TVServerController ( IController controller ) : System
controller IController
Résultat System

UpdateRecording() public méthode

public UpdateRecording ( int recordingindex, String recordingName ) : bool
recordingindex int
recordingName String
Résultat bool

UpdateSchedule() public méthode

public UpdateSchedule ( int scheduleindex, int channelId, int active, String programName, System.DateTime startTime, System.DateTime endTime, int scheduleType, Int32 priority, Int32 keepmethod, System.DateTime keepdate, Int32 preRecordInterval, Int32 postRecordInterval, Int32 programId ) : bool
scheduleindex int
channelId int
active int
programName String
startTime System.DateTime
endTime System.DateTime
scheduleType int
priority System.Int32
keepmethod System.Int32
keepdate System.DateTime
preRecordInterval System.Int32
postRecordInterval System.Int32
programId System.Int32
Résultat bool

getRadioChannels() public méthode

public getRadioChannels ( string groupName ) : List
groupName string
Résultat List

getRecordings() public méthode

public getRecordings ( ) : List
Résultat List

getSchedules() public méthode

public getSchedules ( ) : List
Résultat List

Property Details

lastException public_oe property

public Exception,System lastException
Résultat System.Exception

userlist public_oe static_oe property

public static Dictionary userlist
Résultat TvControl.User>.Dictionary