mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-08-09 07:06:34 +00:00
New hybrid method
This commit is contained in:
parent
7f5084c62e
commit
ace50b34dc
279 changed files with 39526 additions and 19994 deletions
26
resources/lib/entrypoint/__init__.py
Normal file
26
resources/lib/entrypoint/__init__.py
Normal file
|
@ -0,0 +1,26 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
#################################################################################################
|
||||
|
||||
import logging
|
||||
import sys
|
||||
|
||||
from helper import loghandler
|
||||
from emby import Emby
|
||||
|
||||
#################################################################################################
|
||||
|
||||
Emby.set_loghandler(loghandler.LogHandler, logging.DEBUG)
|
||||
loghandler.config()
|
||||
LOG = logging.getLogger('EMBY.entrypoint')
|
||||
|
||||
#################################################################################################
|
||||
|
||||
try:
|
||||
sys.path.insert(0, xbmc.translatePath('special://temp/emby/').decode('utf-8'))
|
||||
except Exception as error:
|
||||
LOG.debug('No objects not found, using default.')
|
||||
|
||||
from default import Events
|
||||
from service import Service
|
||||
from context import Context
|
Loading…
Add table
Add a link
Reference in a new issue