mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-20 23:20:31 +00:00
Moved setting addon mode to utils
It was the only useful function left in setup.py since we've removed the rest of them over time
This commit is contained in:
parent
7ee28a0c71
commit
2cef5b727f
4 changed files with 20 additions and 62 deletions
|
@ -17,10 +17,9 @@ import objects
|
|||
import connect
|
||||
import client
|
||||
import library
|
||||
import setup
|
||||
import monitor
|
||||
from views import Views, verify_kodi_defaults
|
||||
from helper import translate, window, settings, event, dialog
|
||||
from helper import translate, window, settings, event, dialog, set_addon_mode
|
||||
from helper.utils import JsonDebugPrinter
|
||||
from jellyfin import Jellyfin
|
||||
|
||||
|
@ -133,7 +132,7 @@ class Service(xbmc.Monitor):
|
|||
|
||||
try:
|
||||
self.connect.register()
|
||||
setup.Setup()
|
||||
set_addon_mode()
|
||||
except Exception as error:
|
||||
LOG.exception(error)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue