C# Class TVServerKodi.TVServerConnection

Mostra file Open project: margro/TVServerXBMC Class Usage Examples

Public Methods

Method 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
CloseAll ( ) : void
DeleteRecordedTV ( int recId ) : bool
DeleteSchedule ( int schedId ) : bool
GetLogoPath ( System.Boolean bIsRadio ) : string
GetRadioChannels ( List groups ) : List
GetRadioGroups ( ) : List
GetRecordingDriveSpace ( ) : string
GetRecordingStopTime ( int recordingId ) : int
GetRecordings ( bool resolveHostnames, string &OriginalURL ) : List
GetScheduleInfo ( int index ) : String
GetSchedules ( bool seriesSupport = false ) : List
GetServerInterface ( ) : TVServerController
GetTVChannels ( List groups ) : List
GetTVGroups ( ) : List
GetVersion ( ) : string
Init ( IController controller ) : bool
IsRecording ( ) : bool
RequestUser ( string username ) : TvControl.User
SetRecordingStopTime ( int recordingId, int stopTime ) : bool
SetRecordingTimesWatched ( int recordingId, int timesWatched ) : bool
StopRecording ( int schedId ) : bool
StopTimeshift ( TvControl &me ) : bool
UpdateRecording ( int recId, String recName ) : 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 program_id ) : bool
disconnect ( ) : void
getBackendName ( ) : string
getChannelCount ( String group ) : int
getChannels ( String group ) : List
getEpg ( int chanId, System.DateTime startTime, System.DateTime endTime ) : List
getRadioChannels ( String group ) : List
getRecordedTV ( ) : List
getRecordingCount ( ) : int
getRecordingInfo ( int recordingId, bool withRTSPurl ) : string
getRecordingURL ( int recId ) : String
getRecordings ( ) : List
getScheduleCount ( ) : int
getSchedules ( ) : List
getTimeshiftInfo ( TvControl &me ) : ChannelInfo
getTimeshiftURLs ( TvControl &me ) : TimeShiftURLs
getTimeshiftingUserNames ( ) : List
playChannel ( int chanId, bool resolveHostnames, string &OriginalURL, TvControl &me, string &timeShiftFileName, System.Int64 &timeShiftBufPos, long &timeShiftBufNr ) : String

Method Details

AddSchedule() public static method

public static 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
return bool

CloseAll() public static method

public static CloseAll ( ) : void
return void

DeleteRecordedTV() public static method

public static DeleteRecordedTV ( int recId ) : bool
recId int
return bool

DeleteSchedule() public static method

public static DeleteSchedule ( int schedId ) : bool
schedId int
return bool

GetLogoPath() public static method

public static GetLogoPath ( System.Boolean bIsRadio ) : string
bIsRadio System.Boolean
return string

GetRadioChannels() public static method

public static GetRadioChannels ( List groups ) : List
groups List
return List

GetRadioGroups() public static method

public static GetRadioGroups ( ) : List
return List

GetRecordingDriveSpace() public static method

public static GetRecordingDriveSpace ( ) : string
return string

GetRecordingStopTime() public static method

public static GetRecordingStopTime ( int recordingId ) : int
recordingId int
return int

GetRecordings() public static method

public static GetRecordings ( bool resolveHostnames, string &OriginalURL ) : List
resolveHostnames bool
OriginalURL string
return List

GetScheduleInfo() public static method

public static GetScheduleInfo ( int index ) : String
index int
return String

GetSchedules() public static method

public static GetSchedules ( bool seriesSupport = false ) : List
seriesSupport bool
return List

GetServerInterface() public static method

public static GetServerInterface ( ) : TVServerController
return TVServerController

GetTVChannels() public static method

public static GetTVChannels ( List groups ) : List
groups List
return List

GetTVGroups() public static method

public static GetTVGroups ( ) : List
return List

GetVersion() public static method

public static GetVersion ( ) : string
return string

Init() public static method

public static Init ( IController controller ) : bool
controller IController
return bool

IsRecording() public static method

public static IsRecording ( ) : bool
return bool

RequestUser() public static method

public static RequestUser ( string username ) : TvControl.User
username string
return TvControl.User

SetRecordingStopTime() public static method

public static SetRecordingStopTime ( int recordingId, int stopTime ) : bool
recordingId int
stopTime int
return bool

SetRecordingTimesWatched() public static method

public static SetRecordingTimesWatched ( int recordingId, int timesWatched ) : bool
recordingId int
timesWatched int
return bool

StopRecording() public static method

public static StopRecording ( int schedId ) : bool
schedId int
return bool

StopTimeshift() public static method

public static StopTimeshift ( TvControl &me ) : bool
me TvControl
return bool

UpdateRecording() public static method

public static UpdateRecording ( int recId, String recName ) : bool
recId int
recName String
return bool

UpdateSchedule() public static method

public static 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 program_id ) : 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
program_id System.Int32
return bool

disconnect() public static method

public static disconnect ( ) : void
return void

getBackendName() public static method

public static getBackendName ( ) : string
return string

getChannelCount() public static method

public static getChannelCount ( String group ) : int
group String
return int

getChannels() public static method

public static getChannels ( String group ) : List
group String
return List

getEpg() public static method

public static getEpg ( int chanId, System.DateTime startTime, System.DateTime endTime ) : List
chanId int
startTime System.DateTime
endTime System.DateTime
return List

getRadioChannels() public static method

public static getRadioChannels ( String group ) : List
group String
return List

getRecordedTV() public static method

public static getRecordedTV ( ) : List
return List

getRecordingCount() public static method

public static getRecordingCount ( ) : int
return int

getRecordingInfo() public static method

public static getRecordingInfo ( int recordingId, bool withRTSPurl ) : string
recordingId int
withRTSPurl bool
return string

getRecordingURL() public static method

public static getRecordingURL ( int recId ) : String
recId int
return String

getRecordings() public static method

public static getRecordings ( ) : List
return List

getScheduleCount() public static method

public static getScheduleCount ( ) : int
return int

getSchedules() public static method

public static getSchedules ( ) : List
return List

getTimeshiftInfo() public static method

public static getTimeshiftInfo ( TvControl &me ) : ChannelInfo
me TvControl
return ChannelInfo

getTimeshiftURLs() public static method

public static getTimeshiftURLs ( TvControl &me ) : TimeShiftURLs
me TvControl
return TimeShiftURLs

getTimeshiftingUserNames() public static method

public static getTimeshiftingUserNames ( ) : List
return List

playChannel() public static method

public static playChannel ( int chanId, bool resolveHostnames, string &OriginalURL, TvControl &me, string &timeShiftFileName, System.Int64 &timeShiftBufPos, long &timeShiftBufNr ) : String
chanId int
resolveHostnames bool
OriginalURL string
me TvControl
timeShiftFileName string
timeShiftBufPos System.Int64
timeShiftBufNr long
return String