Beispiel #1
0
        def SvcDoRun(self):
            servicemanager.LogMsg(
                servicemanager.EVENTLOG_INFORMATION_TYPE,
                servicemanager.PYS_SERVICE_STARTED,
                (self._svc_name_, ''),
            )

            flexget.main(['daemon', 'start'])
Beispiel #2
0
        def SvcDoRun(self):
            servicemanager.LogMsg(
                servicemanager.EVENTLOG_INFORMATION_TYPE, servicemanager.PYS_SERVICE_STARTED, (self._svc_name_, "")
            )

            flexget.main(["daemon", "start"])
Beispiel #3
0
#!/usr/bin/env python 
"""
    Run FlexGet without bootstrap and virtualenv.

    You need to have all dependencies installed in site-packages when using this.
"""

import flexget

if __name__ == '__main__':
    flexget.main()
#!/usr/bin/env python

import flexget
import site

if __name__ == '__main__':
    site.addsitedir(
        '/storage/.kodi/addons/service.deluge/lib/python2.7/site-packages')
    flexget.main()