Beispiel #1
0
def create_plugin():
    ''' Creates plugin instance, adds tasks, and subscribes to cherrypy.engine

    Does not return
    '''
    core.scheduler_plugin = taskscheduler.SchedulerPlugin(cherrypy.engine)
    AutoSearch.create()
    AutoUpdateCheck.create()
    ImdbRssSync.create()
    MetadataUpdate.create()
    PopularMoviesSync.create()
    TraktSync.create()
    core.scheduler_plugin.subscribe()
Beispiel #2
0
def create_plugin():
    ''' Creates plugin instance, adds tasks, and subscribes to cherrypy.engine

    Does not return
    '''
    logging.info('Initializing scheduler plugin.')
    core.scheduler_plugin = taskscheduler.SchedulerPlugin(cherrypy.engine)
    AutoSearch.create()
    AutoUpdateCheck.create()
    ImdbRssSync.create()
    MetadataUpdate.create()
    PopularMoviesSync.create()
    PostProcessingScan.create()
    TraktSync.create()
    core.scheduler_plugin.subscribe()
Beispiel #3
0
 def __init__(self):
     # create scheduler plugin
     self.plugin = taskscheduler.SchedulerPlugin(cherrypy.engine)