C# Class ArgusTV.Recorder.MediaPortalTvServer.TvServerPlugin

Inheritance: ITvServerPlugin
Show file Open project: ARGUS-TV/ARGUS-TV-Recorders Class Usage Examples

Public Methods

Method Description
Start ( IController controller ) : void
Stop ( ) : void
TvController_CanTune ( int cardId, IChannel channel ) : bool
TvController_CurrentChannel ( IUser user ) : IChannel
TvController_GetStreamingUrl ( IUser user ) : string
TvController_GetTeletextPage ( IUser user, int pageNumber, int subPageNumber ) : byte[]
TvController_GetUsersForCard ( int cardId ) : IUser[]
TvController_HasTeletext ( IUser user ) : bool
TvController_HeartBeat ( IUser user ) : void
TvController_IsGrabbingEpg ( int cardId ) : bool
TvController_IsGrabbingTeletext ( IUser user ) : bool
TvController_IsRecording ( IUser &user ) : bool
TvController_IsTimeShifting ( IUser &user ) : bool
TvController_Restart ( ) : void
TvController_SignalLevel ( int cardId ) : int
TvController_SignalQuality ( int cardId ) : int
TvController_StartGrabbingTeletext ( IUser user ) : void
TvController_StartRecording ( IUser &user, string &fileName ) : TvResult
TvController_StartTimeShifting ( IUser &user, string &fileName ) : TvResult
TvController_StopGrabbingTeletext ( IUser user ) : void
TvController_StopRecording ( IUser &user ) : bool
TvController_StopTimeShifting ( IUser &user ) : bool
TvController_StopTimeShifting ( IUser &user, TvStoppedReason reason ) : bool
TvController_SubPageCount ( IUser user, int pageNumber ) : int
TvController_TimeShiftFileName ( IUser &user ) : string
TvController_Tune ( IUser &user, IChannel channel, int idChannel ) : TvResult
TvController_Type ( int cardId ) : CardType

Private Methods

Method Description
EnsureChannelForDvbEpg ( SchedulerServiceAgent tvSchedulerAgent, TvDatabase mpChannel, bool epgSyncAutoCreateChannels, bool epgSyncAutoCreateChannelsWithGroup ) : ArgusTV.DataContracts.Channel
EnsureGuideChannelForDvbEpg ( SchedulerServiceAgent tvSchedulerAgent, GuideServiceAgent tvGuideAgent, ArgusTV.DataContracts.Channel channel, TvDatabase mpChannel ) : void
GetEpgString ( string text ) : string
GetProgramInfoForLanguage ( IList texts, string epgLanguages, string &title, string &description, string &genre, int &starRating, string &classification, int &parentalRating ) : void
ImportEpgPrograms ( TvLibrary.Epg.EpgChannel epgChannel ) : void
InitializeArgusTVConnection ( IWin32Window settingsPanel ) : bool
LoadSettings ( ) : void
OnPowerEvent ( PowerEventType powerStatus ) : bool
Resume ( ) : void
SaveSettings ( ) : void
events_OnTvServerEvent ( object sender, EventArgs eventArgs ) : void

Method Details

Start() public method

public Start ( IController controller ) : void
controller IController
return void

Stop() public method

public Stop ( ) : void
return void

TvController_CanTune() public static method

public static TvController_CanTune ( int cardId, IChannel channel ) : bool
cardId int
channel IChannel
return bool

TvController_CurrentChannel() public static method

public static TvController_CurrentChannel ( IUser user ) : IChannel
user IUser
return IChannel

TvController_GetStreamingUrl() public static method

public static TvController_GetStreamingUrl ( IUser user ) : string
user IUser
return string

TvController_GetTeletextPage() public static method

public static TvController_GetTeletextPage ( IUser user, int pageNumber, int subPageNumber ) : byte[]
user IUser
pageNumber int
subPageNumber int
return byte[]

TvController_GetUsersForCard() public static method

public static TvController_GetUsersForCard ( int cardId ) : IUser[]
cardId int
return IUser[]

TvController_HasTeletext() public static method

public static TvController_HasTeletext ( IUser user ) : bool
user IUser
return bool

TvController_HeartBeat() public static method

public static TvController_HeartBeat ( IUser user ) : void
user IUser
return void

TvController_IsGrabbingEpg() public static method

public static TvController_IsGrabbingEpg ( int cardId ) : bool
cardId int
return bool

TvController_IsGrabbingTeletext() public static method

public static TvController_IsGrabbingTeletext ( IUser user ) : bool
user IUser
return bool

TvController_IsRecording() public static method

public static TvController_IsRecording ( IUser &user ) : bool
user IUser
return bool

TvController_IsTimeShifting() public static method

public static TvController_IsTimeShifting ( IUser &user ) : bool
user IUser
return bool

TvController_Restart() public static method

public static TvController_Restart ( ) : void
return void

TvController_SignalLevel() public static method

public static TvController_SignalLevel ( int cardId ) : int
cardId int
return int

TvController_SignalQuality() public static method

public static TvController_SignalQuality ( int cardId ) : int
cardId int
return int

TvController_StartGrabbingTeletext() public static method

public static TvController_StartGrabbingTeletext ( IUser user ) : void
user IUser
return void

TvController_StartRecording() public static method

public static TvController_StartRecording ( IUser &user, string &fileName ) : TvResult
user IUser
fileName string
return TvResult

TvController_StartTimeShifting() public static method

public static TvController_StartTimeShifting ( IUser &user, string &fileName ) : TvResult
user IUser
fileName string
return TvResult

TvController_StopGrabbingTeletext() public static method

public static TvController_StopGrabbingTeletext ( IUser user ) : void
user IUser
return void

TvController_StopRecording() public static method

public static TvController_StopRecording ( IUser &user ) : bool
user IUser
return bool

TvController_StopTimeShifting() public static method

public static TvController_StopTimeShifting ( IUser &user ) : bool
user IUser
return bool

TvController_StopTimeShifting() public static method

public static TvController_StopTimeShifting ( IUser &user, TvStoppedReason reason ) : bool
user IUser
reason TvStoppedReason
return bool

TvController_SubPageCount() public static method

public static TvController_SubPageCount ( IUser user, int pageNumber ) : int
user IUser
pageNumber int
return int

TvController_TimeShiftFileName() public static method

public static TvController_TimeShiftFileName ( IUser &user ) : string
user IUser
return string

TvController_Tune() public static method

public static TvController_Tune ( IUser &user, IChannel channel, int idChannel ) : TvResult
user IUser
channel IChannel
idChannel int
return TvResult

TvController_Type() public static method

public static TvController_Type ( int cardId ) : CardType
cardId int
return CardType