C# 클래스 TvDatabase.TvBusinessLayer

파일 보기 프로젝트 열기: MediaPortal/MediaPortal-1 1 사용 예제들

공개 메소드들

메소드 설명
AddCard ( string name, string devicePath, TvDatabase.Server server ) : TvDatabase.Card
AddChannelToGroup ( TvDatabase.Channel channel, TvDatabase.ChannelGroup group ) : void
AddChannelToGroup ( TvDatabase.Channel channel, string groupName ) : void
AddChannelToRadioGroup ( TvDatabase.Channel channel, TvDatabase.RadioChannelGroup group ) : void
AddChannelToRadioGroup ( TvDatabase.Channel channel, string groupName ) : void

Add a radio channel to radio group by name

AddNewChannel ( string name, int channelNumber ) : TvDatabase.Channel
AddSchedule ( int idChannel, string programName, System.DateTime startTime, System.DateTime endTime, int scheduleType ) : TvDatabase.Schedule
AddTuningDetails ( TvDatabase.Channel channel, IChannel tvChannel ) : TvDatabase.TuningDetail
AddWebStreamTuningDetails ( TvDatabase.Channel channel, string url, int bitrate ) : TvDatabase.TuningDetail
CreateGroup ( string groupName ) : TvDatabase.ChannelGroup
DeleteCard ( TvDatabase.Card card ) : void
DeleteChannel ( TvDatabase.Channel channel ) : void
EscapeSQLString ( string original ) : string
GetAllRadioChannels ( ) : IList
GetCardByDevicePath ( string path ) : TvDatabase.Card
GetCardByName ( string name ) : TvDatabase.Card
GetChannel ( int idChannel ) : TvDatabase.Channel
GetChannelByTuningDetail ( int networkId, int transportId, int serviceId ) : TvDatabase.Channel
GetChannelType ( TvLibrary.Channels.DVBBaseChannel channel ) : int
GetChannelsByName ( string name ) : IList
GetChannelsInGroup ( TvDatabase.ChannelGroup group ) : IList
GetConflictingSchedules ( TvDatabase.Schedule rec, List &conflictingSchedules, List &notViewableSchedules ) : void
GetDateTimeString ( ) : string
GetGenres ( ) : List
GetGroupByName ( string aGroupName ) : TvDatabase.ChannelGroup
GetGroupByName ( string aGroupName, int aSortOrder ) : TvDatabase.ChannelGroup
GetLinkagesForChannel ( TvDatabase.Channel channel ) : IList
GetMpGenres ( ) : List

Returns a list of MediaPortal genres.

GetNewestProgramForChannel ( int idChannel ) : System.DateTime
GetNowAndNext ( List aEpgChannelList ) : NowAndNext>.Dictionary
GetOnairNow ( ) : IList
GetProgramExists ( TvDatabase.Channel channel, System.DateTime startTime, System.DateTime endTime ) : IList
GetProgramGenres ( ) : List
GetPrograms ( TvDatabase.Channel channel, System.DateTime startTime ) : IList
GetPrograms ( TvDatabase.Channel channel, System.DateTime startTime, System.DateTime endTime ) : IList
GetPrograms ( System.DateTime startTime, System.DateTime endTime ) : IList
GetProgramsByTitle ( TvDatabase.Channel channel, System.DateTime startTime, System.DateTime endTime, string title ) : IList
GetProgramsByTitle ( System.DateTime startTime, System.DateTime endTime, string title ) : IList
GetProgramsForAllChannels ( System.DateTime startTime, System.DateTime endTime, List channelList ) : List>.Dictionary
GetRadioChannelGroupByName ( string name ) : TvDatabase.RadioChannelGroup
GetRadioGuideChannelsForGroup ( int groupID ) : List

Gets a list of radio channels sorted by their group

GetRecordingByFileName ( string fileName ) : TvDatabase.Recording
GetRecordingTimes ( TvDatabase.Schedule rec ) : List
GetRecordingTimes ( TvDatabase.Schedule rec, int days ) : List
GetSchedule ( int idChannel, string programName, System.DateTime startTime, System.DateTime endTime, int scheduleType ) : TvDatabase.Schedule
GetSetting ( string tagName ) : TvDatabase.Setting

gets a value from the database table "Setting"

GetSetting ( string tagName, string defaultValue ) : TvDatabase.Setting

gets a value from the database table "Setting"

GetSofwareEncodersAudio ( ) : IList
GetSofwareEncodersVideo ( ) : IList
GetTVGuideChannelsForGroup ( int groupID ) : List

Gets a list of tv channels sorted by their group

GetTuningChannel ( TvDatabase.TuningDetail detail ) : IChannel
GetTuningChannelByType ( TvDatabase.Channel channel, int channelType ) : IChannel
GetTuningChannelsByDbChannel ( TvDatabase.Channel channel ) : List
GetTuningDetail ( TvLibrary.Channels.DVBBaseChannel channel ) : TvDatabase.TuningDetail
GetTuningDetail ( String url, int channelType ) : TvDatabase.TuningDetail
GetTuningDetail ( int networkId, int serviceId, int channelType ) : TvDatabase.TuningDetail
GetTuningDetail ( int networkId, int transportId, int serviceId, int channelType ) : TvDatabase.TuningDetail
GetTuningDetailsByName ( string name, int channelType ) : IList
InsertPrograms ( List aProgramList, DeleteBeforeImportOption progamsToDelete, ThreadPriority aThreadPriority ) : int

Batch inserts programs - intended for faster EPG import. You must make sure before that there are no duplicates (e.g. delete all program data of the current channel). Also you MUST provide a true copy of "aProgramList". If you update it's reference in your own code the values will get overwritten (possibly before they are written to disk)!

Inserts are queued to be performed in the background. Each batch of inserts is executed in a single transaction. You may also optionally specify to delete either all existing programs in the same channel(s) as the programs to be inserted (DeleteBeforeImportOption.ProgramsOnSameChannel), or existing programs that would otherwise overlap new programs (DeleteBeforeImportOption.OverlappingPrograms), or none (DeleteBeforeImportOption.None). The deletion is also performed in the same transaction as the inserts so that EPG will not be at any time empty.

After all insert have completed and the background thread is idle for 60 seconds, the program states are automatically updated to reflect the changes.

InsertPrograms ( List aProgramList, ThreadPriority aThreadPriority ) : int

Batch inserts programs - intended for faster EPG import. You must make sure before that there are no duplicates (e.g. delete all program data of the current channel). Also you MUST provide a true copy of "aProgramList". If you update it's reference in your own code the values will get overwritten (possibly before they are written to disk)!

IsChannelMappedToCard ( TvDatabase.Channel dbChannel, TvDatabase.Card card, bool forEpg ) : bool
ListAllEnabledCardsOrderedByPriority ( ) : IList
MapChannelToCard ( TvDatabase.Card card, TvDatabase.Channel channel, bool epgOnly ) : TvDatabase.ChannelMap
OptimizeMySql ( string aTable ) : void

Checks a MySQL table for corruption and optimizes / compacts it. Use this after lots of insert / delete operations.

RemoveAllPrograms ( int idChannel ) : void
RemoveOldPrograms ( ) : void
RemoveOldPrograms ( int idChannel ) : void
SaveMpGenres ( List mpGenres ) : void

Save the specified list of MediaPortal genres to the database.

SearchMinimalPrograms ( System.DateTime startTime, System.DateTime endTime, string programName, TvDatabase.Channel channel ) : IList
SearchPrograms ( string searchCriteria ) : IList
SearchPrograms ( string searchCriteria, ChannelType channelType ) : IList
SearchProgramsByDescription ( string searchCriteria ) : IList
SearchProgramsByDescription ( string searchCriteria, ChannelType channelType ) : IList
SearchProgramsPerGenre ( string currentGenre, string searchCriteria ) : IList
SearchProgramsPerGenre ( string currentGenre, string searchCriteria, ChannelType channelType ) : IList
SetLogLevel ( ) : void

Set the log level

UpdateTuningDetails ( TvDatabase.Channel channel, IChannel tvChannel, TvDatabase.TuningDetail detail ) : TvDatabase.TuningDetail
WaitForInsertPrograms ( ) : void
WaitForInsertPrograms ( int millisecondsTimeout ) : void
isSameTransponder ( TvDatabase.Schedule schedule1, TvDatabase.Schedule schedule2 ) : bool

checks if 2 schedules have a common Transponder depending on tuningdetails of their respective channels

비공개 메소드들

메소드 설명
AddNewChannel ( string name ) : TvDatabase.Channel
AssignSchedulesToCard ( TvDatabase.Schedule schedule, List cardSchedules, List &overlappingSchedules, List &notViewabledSchedules ) : bool
BuildCommandTextMiniGuide ( string aProvider, ICollection aEpgChannelList ) : string
BuildEpgSelect ( IEnumerable channelList, string aProvider ) : string
BuildNowNextFromDataSet ( DataSet dataSet ) : NowAndNext>.Dictionary
ExecuteDeleteProgramsMySqlCommand ( IEnumerable deleteProgramRanges, MySqlConnection aConnection, MySql.Data.MySqlClient.MySqlTransaction aTransaction, int aDelay ) : void
ExecuteDeleteProgramsMySqlCommand ( IEnumerable channelIds, MySqlConnection aConnection, MySql.Data.MySqlClient.MySqlTransaction aTransaction, int aDelay ) : void
ExecuteDeleteProgramsSqlServerCommand ( IEnumerable deleteProgramRanges, SqlConnection aConnection, SqlTransaction aTransaction, int aDelay ) : void
ExecuteDeleteProgramsSqlServerCommand ( IEnumerable channelIds, SqlConnection aConnection, SqlTransaction aTransaction, int aDelay ) : void
ExecuteInsertProgramsMySqlCommand ( IEnumerable aProgramList, MySqlConnection aConnection, MySql.Data.MySqlClient.MySqlTransaction aTransaction, int aDelay ) : void
ExecuteInsertProgramsSqlServerCommand ( IEnumerable aProgramList, SqlConnection aConnection, SqlTransaction aTransaction, int aDelay ) : void
FileNotExistsString ( String fileName ) : String

Checks if a file doesnt exist and then returns the filename preceded by a CRLF combination. If the file does exist a empty string is returned.

FillProgramMapFromDataSet ( DataSet dataSet ) : List>.Dictionary
GetDefaultMpGenreNames ( ) : IList
InsertProgramsMySql ( ImportParams aImportParam ) : void
InsertProgramsSqlServer ( ImportParams aImportParam ) : void
InsertProgramsThreadStart ( ) : void
checkGentleFiles ( ) : void

Checks several files that are needed for using the gentle framework for the database. If some files are not present in the working folder an System.IO.FileNotFoundException exception is thrown

메소드 상세

AddCard() 공개 메소드

public AddCard ( string name, string devicePath, TvDatabase.Server server ) : TvDatabase.Card
name string
devicePath string
server TvDatabase.Server
리턴 TvDatabase.Card

AddChannelToGroup() 공개 메소드

public AddChannelToGroup ( TvDatabase.Channel channel, TvDatabase.ChannelGroup group ) : void
channel TvDatabase.Channel
group TvDatabase.ChannelGroup
리턴 void

AddChannelToGroup() 공개 메소드

public AddChannelToGroup ( TvDatabase.Channel channel, string groupName ) : void
channel TvDatabase.Channel
groupName string
리턴 void

AddChannelToRadioGroup() 공개 메소드

public AddChannelToRadioGroup ( TvDatabase.Channel channel, TvDatabase.RadioChannelGroup group ) : void
channel TvDatabase.Channel
group TvDatabase.RadioChannelGroup
리턴 void

AddChannelToRadioGroup() 공개 메소드

Add a radio channel to radio group by name
public AddChannelToRadioGroup ( TvDatabase.Channel channel, string groupName ) : void
channel TvDatabase.Channel channel to add
groupName string target group name
리턴 void

AddNewChannel() 공개 메소드

public AddNewChannel ( string name, int channelNumber ) : TvDatabase.Channel
name string
channelNumber int
리턴 TvDatabase.Channel

AddSchedule() 공개 메소드

public AddSchedule ( int idChannel, string programName, System.DateTime startTime, System.DateTime endTime, int scheduleType ) : TvDatabase.Schedule
idChannel int
programName string
startTime System.DateTime
endTime System.DateTime
scheduleType int
리턴 TvDatabase.Schedule

AddTuningDetails() 공개 메소드

public AddTuningDetails ( TvDatabase.Channel channel, IChannel tvChannel ) : TvDatabase.TuningDetail
channel TvDatabase.Channel
tvChannel IChannel
리턴 TvDatabase.TuningDetail

AddWebStreamTuningDetails() 공개 메소드

public AddWebStreamTuningDetails ( TvDatabase.Channel channel, string url, int bitrate ) : TvDatabase.TuningDetail
channel TvDatabase.Channel
url string
bitrate int
리턴 TvDatabase.TuningDetail

CreateGroup() 공개 메소드

public CreateGroup ( string groupName ) : TvDatabase.ChannelGroup
groupName string
리턴 TvDatabase.ChannelGroup

DeleteCard() 공개 메소드

public DeleteCard ( TvDatabase.Card card ) : void
card TvDatabase.Card
리턴 void

DeleteChannel() 공개 메소드

public DeleteChannel ( TvDatabase.Channel channel ) : void
channel TvDatabase.Channel
리턴 void

EscapeSQLString() 공개 메소드

public EscapeSQLString ( string original ) : string
original string
리턴 string

GetAllRadioChannels() 공개 메소드

public GetAllRadioChannels ( ) : IList
리턴 IList

GetCardByDevicePath() 공개 메소드

public GetCardByDevicePath ( string path ) : TvDatabase.Card
path string
리턴 TvDatabase.Card

GetCardByName() 공개 메소드

public GetCardByName ( string name ) : TvDatabase.Card
name string
리턴 TvDatabase.Card

GetChannel() 공개 메소드

public GetChannel ( int idChannel ) : TvDatabase.Channel
idChannel int
리턴 TvDatabase.Channel

GetChannelByTuningDetail() 공개 메소드

public GetChannelByTuningDetail ( int networkId, int transportId, int serviceId ) : TvDatabase.Channel
networkId int
transportId int
serviceId int
리턴 TvDatabase.Channel

GetChannelType() 공개 정적인 메소드

public static GetChannelType ( TvLibrary.Channels.DVBBaseChannel channel ) : int
channel TvLibrary.Channels.DVBBaseChannel
리턴 int

GetChannelsByName() 공개 메소드

public GetChannelsByName ( string name ) : IList
name string
리턴 IList

GetChannelsInGroup() 공개 메소드

public GetChannelsInGroup ( TvDatabase.ChannelGroup group ) : IList
group TvDatabase.ChannelGroup
리턴 IList

GetConflictingSchedules() 공개 메소드

public GetConflictingSchedules ( TvDatabase.Schedule rec, List &conflictingSchedules, List &notViewableSchedules ) : void
rec TvDatabase.Schedule
conflictingSchedules List
notViewableSchedules List
리턴 void

GetDateTimeString() 공개 메소드

public GetDateTimeString ( ) : string
리턴 string

GetGenres() 공개 메소드

public GetGenres ( ) : List
리턴 List

GetGroupByName() 공개 메소드

public GetGroupByName ( string aGroupName ) : TvDatabase.ChannelGroup
aGroupName string
리턴 TvDatabase.ChannelGroup

GetGroupByName() 공개 메소드

public GetGroupByName ( string aGroupName, int aSortOrder ) : TvDatabase.ChannelGroup
aGroupName string
aSortOrder int
리턴 TvDatabase.ChannelGroup

GetLinkagesForChannel() 공개 메소드

public GetLinkagesForChannel ( TvDatabase.Channel channel ) : IList
channel TvDatabase.Channel
리턴 IList

GetMpGenres() 공개 메소드

Returns a list of MediaPortal genres.
public GetMpGenres ( ) : List
리턴 List

GetNewestProgramForChannel() 공개 메소드

public GetNewestProgramForChannel ( int idChannel ) : System.DateTime
idChannel int
리턴 System.DateTime

GetNowAndNext() 공개 메소드

public GetNowAndNext ( List aEpgChannelList ) : NowAndNext>.Dictionary
aEpgChannelList List
리턴 NowAndNext>.Dictionary

GetOnairNow() 공개 메소드

public GetOnairNow ( ) : IList
리턴 IList

GetProgramExists() 공개 메소드

public GetProgramExists ( TvDatabase.Channel channel, System.DateTime startTime, System.DateTime endTime ) : IList
channel TvDatabase.Channel
startTime System.DateTime
endTime System.DateTime
리턴 IList

GetProgramGenres() 공개 메소드

public GetProgramGenres ( ) : List
리턴 List

GetPrograms() 공개 메소드

public GetPrograms ( TvDatabase.Channel channel, System.DateTime startTime ) : IList
channel TvDatabase.Channel
startTime System.DateTime
리턴 IList

GetPrograms() 공개 메소드

public GetPrograms ( TvDatabase.Channel channel, System.DateTime startTime, System.DateTime endTime ) : IList
channel TvDatabase.Channel
startTime System.DateTime
endTime System.DateTime
리턴 IList

GetPrograms() 공개 메소드

public GetPrograms ( System.DateTime startTime, System.DateTime endTime ) : IList
startTime System.DateTime
endTime System.DateTime
리턴 IList

GetProgramsByTitle() 공개 메소드

public GetProgramsByTitle ( TvDatabase.Channel channel, System.DateTime startTime, System.DateTime endTime, string title ) : IList
channel TvDatabase.Channel
startTime System.DateTime
endTime System.DateTime
title string
리턴 IList

GetProgramsByTitle() 공개 메소드

public GetProgramsByTitle ( System.DateTime startTime, System.DateTime endTime, string title ) : IList
startTime System.DateTime
endTime System.DateTime
title string
리턴 IList

GetProgramsForAllChannels() 공개 메소드

public GetProgramsForAllChannels ( System.DateTime startTime, System.DateTime endTime, List channelList ) : List>.Dictionary
startTime System.DateTime
endTime System.DateTime
channelList List
리턴 List>.Dictionary

GetRadioChannelGroupByName() 공개 메소드

public GetRadioChannelGroupByName ( string name ) : TvDatabase.RadioChannelGroup
name string
리턴 TvDatabase.RadioChannelGroup

GetRadioGuideChannelsForGroup() 공개 메소드

Gets a list of radio channels sorted by their group
public GetRadioGuideChannelsForGroup ( int groupID ) : List
groupID int
리턴 List

GetRecordingByFileName() 공개 메소드

public GetRecordingByFileName ( string fileName ) : TvDatabase.Recording
fileName string
리턴 TvDatabase.Recording

GetRecordingTimes() 공개 메소드

public GetRecordingTimes ( TvDatabase.Schedule rec ) : List
rec TvDatabase.Schedule
리턴 List

GetRecordingTimes() 공개 메소드

public GetRecordingTimes ( TvDatabase.Schedule rec, int days ) : List
rec TvDatabase.Schedule
days int
리턴 List

GetSchedule() 공개 메소드

public GetSchedule ( int idChannel, string programName, System.DateTime startTime, System.DateTime endTime, int scheduleType ) : TvDatabase.Schedule
idChannel int
programName string
startTime System.DateTime
endTime System.DateTime
scheduleType int
리턴 TvDatabase.Schedule

GetSetting() 공개 메소드

gets a value from the database table "Setting"
public GetSetting ( string tagName ) : TvDatabase.Setting
tagName string
리턴 TvDatabase.Setting

GetSetting() 공개 메소드

gets a value from the database table "Setting"
public GetSetting ( string tagName, string defaultValue ) : TvDatabase.Setting
tagName string
defaultValue string
리턴 TvDatabase.Setting

GetSofwareEncodersAudio() 공개 메소드

public GetSofwareEncodersAudio ( ) : IList
리턴 IList

GetSofwareEncodersVideo() 공개 메소드

public GetSofwareEncodersVideo ( ) : IList
리턴 IList

GetTVGuideChannelsForGroup() 공개 메소드

Gets a list of tv channels sorted by their group
public GetTVGuideChannelsForGroup ( int groupID ) : List
groupID int
리턴 List

GetTuningChannel() 공개 메소드

public GetTuningChannel ( TvDatabase.TuningDetail detail ) : IChannel
detail TvDatabase.TuningDetail
리턴 IChannel

GetTuningChannelByType() 공개 메소드

public GetTuningChannelByType ( TvDatabase.Channel channel, int channelType ) : IChannel
channel TvDatabase.Channel
channelType int
리턴 IChannel

GetTuningChannelsByDbChannel() 공개 메소드

public GetTuningChannelsByDbChannel ( TvDatabase.Channel channel ) : List
channel TvDatabase.Channel
리턴 List

GetTuningDetail() 공개 메소드

public GetTuningDetail ( TvLibrary.Channels.DVBBaseChannel channel ) : TvDatabase.TuningDetail
channel TvLibrary.Channels.DVBBaseChannel
리턴 TvDatabase.TuningDetail

GetTuningDetail() 공개 메소드

public GetTuningDetail ( String url, int channelType ) : TvDatabase.TuningDetail
url String
channelType int
리턴 TvDatabase.TuningDetail

GetTuningDetail() 공개 메소드

public GetTuningDetail ( int networkId, int serviceId, int channelType ) : TvDatabase.TuningDetail
networkId int
serviceId int
channelType int
리턴 TvDatabase.TuningDetail

GetTuningDetail() 공개 메소드

public GetTuningDetail ( int networkId, int transportId, int serviceId, int channelType ) : TvDatabase.TuningDetail
networkId int
transportId int
serviceId int
channelType int
리턴 TvDatabase.TuningDetail

GetTuningDetailsByName() 공개 메소드

public GetTuningDetailsByName ( string name, int channelType ) : IList
name string
channelType int
리턴 IList

InsertPrograms() 공개 메소드

Batch inserts programs - intended for faster EPG import. You must make sure before that there are no duplicates (e.g. delete all program data of the current channel). Also you MUST provide a true copy of "aProgramList". If you update it's reference in your own code the values will get overwritten (possibly before they are written to disk)!

Inserts are queued to be performed in the background. Each batch of inserts is executed in a single transaction. You may also optionally specify to delete either all existing programs in the same channel(s) as the programs to be inserted (DeleteBeforeImportOption.ProgramsOnSameChannel), or existing programs that would otherwise overlap new programs (DeleteBeforeImportOption.OverlappingPrograms), or none (DeleteBeforeImportOption.None). The deletion is also performed in the same transaction as the inserts so that EPG will not be at any time empty.

After all insert have completed and the background thread is idle for 60 seconds, the program states are automatically updated to reflect the changes.

public InsertPrograms ( List aProgramList, DeleteBeforeImportOption progamsToDelete, ThreadPriority aThreadPriority ) : int
aProgramList List A list of persistable gentle.NET Program objects mapping to the Programs table
progamsToDelete DeleteBeforeImportOption Flag specifying which existing programs to delete before the insert
aThreadPriority ThreadPriority Use "Lowest" for Background imports allowing LiveTV, AboveNormal for full speed
리턴 int

InsertPrograms() 공개 메소드

Batch inserts programs - intended for faster EPG import. You must make sure before that there are no duplicates (e.g. delete all program data of the current channel). Also you MUST provide a true copy of "aProgramList". If you update it's reference in your own code the values will get overwritten (possibly before they are written to disk)!
public InsertPrograms ( List aProgramList, ThreadPriority aThreadPriority ) : int
aProgramList List A list of persistable gentle.NET Program objects mapping to the Programs table
aThreadPriority ThreadPriority Use "Lowest" for Background imports allowing LiveTV, AboveNormal for full speed
리턴 int

IsChannelMappedToCard() 공개 메소드

public IsChannelMappedToCard ( TvDatabase.Channel dbChannel, TvDatabase.Card card, bool forEpg ) : bool
dbChannel TvDatabase.Channel
card TvDatabase.Card
forEpg bool
리턴 bool

ListAllEnabledCardsOrderedByPriority() 공개 메소드

public ListAllEnabledCardsOrderedByPriority ( ) : IList
리턴 IList

MapChannelToCard() 공개 메소드

public MapChannelToCard ( TvDatabase.Card card, TvDatabase.Channel channel, bool epgOnly ) : TvDatabase.ChannelMap
card TvDatabase.Card
channel TvDatabase.Channel
epgOnly bool
리턴 TvDatabase.ChannelMap

OptimizeMySql() 공개 메소드

Checks a MySQL table for corruption and optimizes / compacts it. Use this after lots of insert / delete operations.
public OptimizeMySql ( string aTable ) : void
aTable string The table which should be optimized. During the check process it will be locked.
리턴 void

RemoveAllPrograms() 공개 메소드

public RemoveAllPrograms ( int idChannel ) : void
idChannel int
리턴 void

RemoveOldPrograms() 공개 메소드

public RemoveOldPrograms ( ) : void
리턴 void

RemoveOldPrograms() 공개 메소드

public RemoveOldPrograms ( int idChannel ) : void
idChannel int
리턴 void

SaveMpGenres() 공개 메소드

Save the specified list of MediaPortal genres to the database.
public SaveMpGenres ( List mpGenres ) : void
mpGenres List A list of MediaPortal genre objects
리턴 void

SearchMinimalPrograms() 공개 메소드

public SearchMinimalPrograms ( System.DateTime startTime, System.DateTime endTime, string programName, TvDatabase.Channel channel ) : IList
startTime System.DateTime
endTime System.DateTime
programName string
channel TvDatabase.Channel
리턴 IList

SearchPrograms() 공개 메소드

public SearchPrograms ( string searchCriteria ) : IList
searchCriteria string
리턴 IList

SearchPrograms() 공개 메소드

public SearchPrograms ( string searchCriteria, ChannelType channelType ) : IList
searchCriteria string
channelType ChannelType
리턴 IList

SearchProgramsByDescription() 공개 메소드

public SearchProgramsByDescription ( string searchCriteria ) : IList
searchCriteria string
리턴 IList

SearchProgramsByDescription() 공개 메소드

public SearchProgramsByDescription ( string searchCriteria, ChannelType channelType ) : IList
searchCriteria string
channelType ChannelType
리턴 IList

SearchProgramsPerGenre() 공개 메소드

public SearchProgramsPerGenre ( string currentGenre, string searchCriteria ) : IList
currentGenre string
searchCriteria string
리턴 IList

SearchProgramsPerGenre() 공개 메소드

public SearchProgramsPerGenre ( string currentGenre, string searchCriteria, ChannelType channelType ) : IList
currentGenre string
searchCriteria string
channelType ChannelType
리턴 IList

SetLogLevel() 공개 메소드

Set the log level
public SetLogLevel ( ) : void
리턴 void

UpdateTuningDetails() 공개 메소드

public UpdateTuningDetails ( TvDatabase.Channel channel, IChannel tvChannel, TvDatabase.TuningDetail detail ) : TvDatabase.TuningDetail
channel TvDatabase.Channel
tvChannel IChannel
detail TvDatabase.TuningDetail
리턴 TvDatabase.TuningDetail

WaitForInsertPrograms() 공개 메소드

public WaitForInsertPrograms ( ) : void
리턴 void

WaitForInsertPrograms() 공개 메소드

public WaitForInsertPrograms ( int millisecondsTimeout ) : void
millisecondsTimeout int
리턴 void

isSameTransponder() 공개 메소드

checks if 2 schedules have a common Transponder depending on tuningdetails of their respective channels
public isSameTransponder ( TvDatabase.Schedule schedule1, TvDatabase.Schedule schedule2 ) : bool
schedule1 TvDatabase.Schedule
schedule2 TvDatabase.Schedule
리턴 bool