C# Класс TVServerKodi.TVServerConnection

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

AddSchedule() публичный статический Метод

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
Результат bool

CloseAll() публичный статический Метод

public static CloseAll ( ) : void
Результат void

DeleteRecordedTV() публичный статический Метод

public static DeleteRecordedTV ( int recId ) : bool
recId int
Результат bool

DeleteSchedule() публичный статический Метод

public static DeleteSchedule ( int schedId ) : bool
schedId int
Результат bool

GetLogoPath() публичный статический Метод

public static GetLogoPath ( System.Boolean bIsRadio ) : string
bIsRadio System.Boolean
Результат string

GetRadioChannels() публичный статический Метод

public static GetRadioChannels ( List groups ) : List
groups List
Результат List

GetRadioGroups() публичный статический Метод

public static GetRadioGroups ( ) : List
Результат List

GetRecordingDriveSpace() публичный статический Метод

public static GetRecordingDriveSpace ( ) : string
Результат string

GetRecordingStopTime() публичный статический Метод

public static GetRecordingStopTime ( int recordingId ) : int
recordingId int
Результат int

GetRecordings() публичный статический Метод

public static GetRecordings ( bool resolveHostnames, string &OriginalURL ) : List
resolveHostnames bool
OriginalURL string
Результат List

GetScheduleInfo() публичный статический Метод

public static GetScheduleInfo ( int index ) : String
index int
Результат String

GetSchedules() публичный статический Метод

public static GetSchedules ( bool seriesSupport = false ) : List
seriesSupport bool
Результат List

GetServerInterface() публичный статический Метод

public static GetServerInterface ( ) : TVServerController
Результат TVServerController

GetTVChannels() публичный статический Метод

public static GetTVChannels ( List groups ) : List
groups List
Результат List

GetTVGroups() публичный статический Метод

public static GetTVGroups ( ) : List
Результат List

GetVersion() публичный статический Метод

public static GetVersion ( ) : string
Результат string

Init() публичный статический Метод

public static Init ( IController controller ) : bool
controller IController
Результат bool

IsRecording() публичный статический Метод

public static IsRecording ( ) : bool
Результат bool

RequestUser() публичный статический Метод

public static RequestUser ( string username ) : TvControl.User
username string
Результат TvControl.User

SetRecordingStopTime() публичный статический Метод

public static SetRecordingStopTime ( int recordingId, int stopTime ) : bool
recordingId int
stopTime int
Результат bool

SetRecordingTimesWatched() публичный статический Метод

public static SetRecordingTimesWatched ( int recordingId, int timesWatched ) : bool
recordingId int
timesWatched int
Результат bool

StopRecording() публичный статический Метод

public static StopRecording ( int schedId ) : bool
schedId int
Результат bool

StopTimeshift() публичный статический Метод

public static StopTimeshift ( TvControl &me ) : bool
me TvControl
Результат bool

UpdateRecording() публичный статический Метод

public static UpdateRecording ( int recId, String recName ) : bool
recId int
recName String
Результат bool

UpdateSchedule() публичный статический Метод

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
Результат bool

disconnect() публичный статический Метод

public static disconnect ( ) : void
Результат void

getBackendName() публичный статический Метод

public static getBackendName ( ) : string
Результат string

getChannelCount() публичный статический Метод

public static getChannelCount ( String group ) : int
group String
Результат int

getChannels() публичный статический Метод

public static getChannels ( String group ) : List
group String
Результат List

getEpg() публичный статический Метод

public static getEpg ( int chanId, System.DateTime startTime, System.DateTime endTime ) : List
chanId int
startTime System.DateTime
endTime System.DateTime
Результат List

getRadioChannels() публичный статический Метод

public static getRadioChannels ( String group ) : List
group String
Результат List

getRecordedTV() публичный статический Метод

public static getRecordedTV ( ) : List
Результат List

getRecordingCount() публичный статический Метод

public static getRecordingCount ( ) : int
Результат int

getRecordingInfo() публичный статический Метод

public static getRecordingInfo ( int recordingId, bool withRTSPurl ) : string
recordingId int
withRTSPurl bool
Результат string

getRecordingURL() публичный статический Метод

public static getRecordingURL ( int recId ) : String
recId int
Результат String

getRecordings() публичный статический Метод

public static getRecordings ( ) : List
Результат List

getScheduleCount() публичный статический Метод

public static getScheduleCount ( ) : int
Результат int

getSchedules() публичный статический Метод

public static getSchedules ( ) : List
Результат List

getTimeshiftInfo() публичный статический Метод

public static getTimeshiftInfo ( TvControl &me ) : ChannelInfo
me TvControl
Результат ChannelInfo

getTimeshiftURLs() публичный статический Метод

public static getTimeshiftURLs ( TvControl &me ) : TimeShiftURLs
me TvControl
Результат TimeShiftURLs

getTimeshiftingUserNames() публичный статический Метод

public static getTimeshiftingUserNames ( ) : List
Результат List

playChannel() публичный статический Метод

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
Результат String