コード例 #1
0
 def __init__(self, session):
     self.session = session
     self.subsSettings = initSubsSettings()
     session.openWithCallback(self.subsChooserCB,
                              SubsChooser,
                              self.subsSettings,
                              searchSupport=True,
                              historySupport=True,
                              titleList=self.getTitleList())
コード例 #2
0
def openSubtitlesSearch(session, **kwargs):
    settings = initSubsSettings().search
    eventList = []
    eventNow = session.screen["Event_Now"].getEvent()
    eventNext = session.screen["Event_Next"].getEvent()
    if eventNow:
        eventList.append(eventNow.getEventName())
    if eventNext:
        eventList.append(eventNext.getEventName())
    session.open(SubsSearch, E2SubsSeeker(session, settings), settings, searchTitles=eventList, standAlone=True)
コード例 #3
0
ファイル: plugin.py プロジェクト: mickeyreg/subssupport
def openSubtitlesSearch(session, **kwargs):
    settings = initSubsSettings().search
    eventList = []
    eventNow = session.screen["Event_Now"].getEvent()
    eventNext = session.screen["Event_Next"].getEvent()
    if eventNow:
        eventList.append(eventNow.getEventName())
    if eventNext:
        eventList.append(eventNext.getEventName())
    session.open(SubsSearch, E2SubsSeeker(session, settings), settings, searchTitles=eventList, standAlone=True)
コード例 #4
0
ファイル: subtitlesdvb.py プロジェクト: sskodje/subssupport
 def __init__(self, session):
     self.session = session
     self.subsSettings = initSubsSettings()
     session.openWithCallback(self.subsChooserCB, SubsChooser, self.subsSettings, searchSupport=True, historySupport=True, titleList=self.getTitleList())
コード例 #5
0
def openSubsSupportSettings(session, **kwargs):
    settings = initSubsSettings()
    session.open(SubsSupportSettings, settings, settings.search, settings.external, settings.embedded, config.plugins.subsSupport.dvb)
コード例 #6
0
ファイル: plugin.py プロジェクト: mickeyreg/subssupport
def openSubsSupportSettings(session, **kwargs):
    settings = initSubsSettings()
    session.open(SubsSupportSettings, settings, settings.search, settings.external, settings.embedded, config.plugins.subsSupport.dvb)