mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-22 21:09:41 +00:00
Remove kodi_six: import directly
This commit is contained in:
parent
8cabd4e2a3
commit
cd53329fb9
@ -5,7 +5,9 @@ from __future__ import division, absolute_import, print_function, unicode_litera
|
||||
|
||||
import os
|
||||
|
||||
from kodi_six import xbmc, xbmcaddon, xbmcvfs
|
||||
import xbmc
|
||||
import xbmcaddon
|
||||
import xbmcvfs
|
||||
|
||||
from .helper import translate, window, settings, addon_id, dialog, LazyLogger
|
||||
from .helper.utils import create_id, translate_path
|
||||
|
@ -3,7 +3,8 @@ from __future__ import division, absolute_import, print_function, unicode_litera
|
||||
|
||||
##################################################################################################
|
||||
|
||||
from kodi_six import xbmc, xbmcaddon
|
||||
import xbmc
|
||||
import xbmcaddon
|
||||
|
||||
from . import client
|
||||
from .database import get_credentials, save_credentials
|
||||
|
@ -10,7 +10,8 @@ import sqlite3
|
||||
import sys
|
||||
import re
|
||||
|
||||
from kodi_six import xbmc, xbmcvfs
|
||||
import xbmc
|
||||
import xbmcvfs
|
||||
|
||||
from . import jellyfin_db
|
||||
from ..helper import translate, settings, window, dialog
|
||||
|
@ -5,7 +5,8 @@ from __future__ import division, absolute_import, print_function, unicode_litera
|
||||
|
||||
import os
|
||||
|
||||
from kodi_six import xbmcgui, xbmcaddon
|
||||
import xbmcgui
|
||||
import xbmcaddon
|
||||
|
||||
from ..helper import window, addon_id
|
||||
from ..helper import LazyLogger
|
||||
|
@ -3,7 +3,7 @@ from __future__ import division, absolute_import, print_function, unicode_litera
|
||||
|
||||
##################################################################################################
|
||||
|
||||
from kodi_six import xbmcgui
|
||||
import xbmcgui
|
||||
|
||||
from ..helper import translate, LazyLogger, kodi_version
|
||||
|
||||
|
@ -3,7 +3,8 @@ from __future__ import division, absolute_import, print_function, unicode_litera
|
||||
|
||||
##################################################################################################
|
||||
|
||||
from kodi_six import xbmc, xbmcgui
|
||||
import xbmc
|
||||
import xbmcgui
|
||||
|
||||
from ..helper import LazyLogger
|
||||
|
||||
|
@ -3,7 +3,8 @@ from __future__ import division, absolute_import, print_function, unicode_litera
|
||||
|
||||
##################################################################################################
|
||||
|
||||
from kodi_six import xbmc, xbmcgui
|
||||
import xbmc
|
||||
import xbmcgui
|
||||
|
||||
from ..helper import translate
|
||||
from ..jellyfin.connection_manager import CONNECTION_STATE
|
||||
|
@ -5,7 +5,7 @@ from __future__ import division, absolute_import, print_function, unicode_litera
|
||||
|
||||
import re
|
||||
|
||||
from kodi_six import xbmcgui
|
||||
import xbmcgui
|
||||
|
||||
from ..helper import translate
|
||||
from ..jellyfin.connection_manager import CONNECTION_STATE
|
||||
|
@ -3,7 +3,7 @@ from __future__ import division, absolute_import, print_function, unicode_litera
|
||||
|
||||
##################################################################################################
|
||||
|
||||
from kodi_six import xbmcgui
|
||||
import xbmcgui
|
||||
|
||||
from ..helper import LazyLogger
|
||||
from ..helper.utils import kodi_version
|
||||
|
@ -6,7 +6,8 @@ from __future__ import division, absolute_import, print_function, unicode_litera
|
||||
import json
|
||||
import sys
|
||||
|
||||
from kodi_six import xbmc, xbmcaddon
|
||||
import xbmc
|
||||
import xbmcaddon
|
||||
|
||||
from .. import database
|
||||
from ..dialogs import context
|
||||
|
@ -8,7 +8,11 @@ import sys
|
||||
import os
|
||||
from urllib.parse import parse_qsl, urlencode
|
||||
|
||||
from kodi_six import xbmc, xbmcvfs, xbmcgui, xbmcplugin, xbmcaddon
|
||||
import xbmc
|
||||
import xbmcvfs
|
||||
import xbmcgui
|
||||
import xbmcplugin
|
||||
import xbmcaddon
|
||||
|
||||
from .. import client
|
||||
from ..database import reset, get_sync, Database, jellyfin_db, get_credentials
|
||||
|
@ -10,7 +10,8 @@ from importlib import reload
|
||||
|
||||
# Workaround for threads using datetime: _striptime is locked
|
||||
import _strptime # noqa:F401
|
||||
from kodi_six import xbmc, xbmcgui
|
||||
import xbmc
|
||||
import xbmcgui
|
||||
|
||||
from .. import objects
|
||||
from .. import connect
|
||||
|
@ -6,7 +6,7 @@ from __future__ import division, absolute_import, print_function, unicode_litera
|
||||
from contextlib import contextmanager
|
||||
import datetime
|
||||
|
||||
from kodi_six import xbmc
|
||||
import xbmc
|
||||
|
||||
from . import downloader as server
|
||||
from .objects import Movies, TVShows, MusicVideos, Music
|
||||
|
@ -7,7 +7,8 @@ import os
|
||||
import logging
|
||||
import traceback
|
||||
|
||||
from kodi_six import xbmc, xbmcaddon
|
||||
import xbmc
|
||||
import xbmcaddon
|
||||
|
||||
from .. import database
|
||||
from . import settings, kodi_version
|
||||
|
@ -7,7 +7,8 @@ import os
|
||||
from uuid import uuid4
|
||||
|
||||
import requests
|
||||
from kodi_six import xbmc, xbmcvfs
|
||||
import xbmc
|
||||
import xbmcvfs
|
||||
|
||||
from .. import client
|
||||
from .utils import translate_path
|
||||
|
@ -3,7 +3,8 @@ from __future__ import division, absolute_import, print_function, unicode_litera
|
||||
|
||||
##################################################################################################
|
||||
|
||||
from kodi_six import xbmc, xbmcaddon
|
||||
import xbmc
|
||||
import xbmcaddon
|
||||
|
||||
from . import LazyLogger
|
||||
|
||||
|
@ -14,7 +14,10 @@ from urllib.parse import quote_plus
|
||||
|
||||
from dateutil import tz, parser
|
||||
|
||||
from kodi_six import xbmc, xbmcaddon, xbmcgui, xbmcvfs
|
||||
import xbmc
|
||||
import xbmcaddon
|
||||
import xbmcgui
|
||||
import xbmcvfs
|
||||
|
||||
from . import LazyLogger
|
||||
from .translate import translate
|
||||
|
@ -3,7 +3,7 @@ from __future__ import division, absolute_import, print_function, unicode_litera
|
||||
|
||||
#################################################################################################
|
||||
|
||||
from kodi_six import xbmcgui
|
||||
import xbmcgui
|
||||
|
||||
from . import LazyLogger
|
||||
|
||||
|
@ -6,7 +6,8 @@ from __future__ import division, absolute_import, print_function, unicode_litera
|
||||
import os
|
||||
import xml.etree.ElementTree as etree
|
||||
|
||||
from kodi_six import xbmc, xbmcvfs
|
||||
import xbmc
|
||||
import xbmcvfs
|
||||
|
||||
from .utils import translate_path
|
||||
from . import translate, dialog, settings, LazyLogger
|
||||
|
@ -7,7 +7,7 @@ import json
|
||||
import threading
|
||||
import time
|
||||
|
||||
from kodi_six import xbmc
|
||||
import xbmc
|
||||
|
||||
from ..helper import LazyLogger, settings
|
||||
|
||||
|
@ -8,7 +8,8 @@ from datetime import datetime, timedelta
|
||||
|
||||
import queue
|
||||
|
||||
from kodi_six import xbmc, xbmcgui
|
||||
import xbmc
|
||||
import xbmcgui
|
||||
|
||||
from .objects import Movies, TVShows, MusicVideos, Music
|
||||
from .objects.kodi import Movies as KodiDb
|
||||
|
@ -7,7 +7,7 @@ import binascii
|
||||
import json
|
||||
import threading
|
||||
|
||||
from kodi_six import xbmc
|
||||
import xbmc
|
||||
|
||||
from . import connect
|
||||
from . import player
|
||||
|
@ -8,7 +8,10 @@ import sys
|
||||
import json
|
||||
from datetime import timedelta
|
||||
|
||||
from kodi_six import xbmc, xbmcgui, xbmcplugin, xbmcaddon
|
||||
import xbmc
|
||||
import xbmcgui
|
||||
import xbmcplugin
|
||||
import xbmcaddon
|
||||
|
||||
from ..helper import translate, playutils, api, window, settings, dialog
|
||||
from ..dialogs import resume
|
||||
|
@ -5,7 +5,8 @@ from __future__ import division, absolute_import, print_function, unicode_litera
|
||||
|
||||
import os
|
||||
|
||||
from kodi_six import xbmc, xbmcvfs
|
||||
import xbmc
|
||||
import xbmcvfs
|
||||
|
||||
from .objects.obj import Objects
|
||||
from .helper import translate, api, window, settings, dialog, event, JSONRPC
|
||||
|
@ -7,7 +7,7 @@ import os
|
||||
import xml.etree.ElementTree as etree
|
||||
from urllib.parse import urlencode
|
||||
|
||||
from kodi_six import xbmcvfs
|
||||
import xbmcvfs
|
||||
|
||||
from .database import Database, jellyfin_db, get_sync, save_sync
|
||||
from .helper import translate, api, window, event
|
||||
|
@ -5,7 +5,7 @@ from __future__ import division, absolute_import, print_function, unicode_litera
|
||||
|
||||
import threading
|
||||
|
||||
from kodi_six import xbmc
|
||||
import xbmc
|
||||
|
||||
from jellyfin_kodi.entrypoint.service import Service
|
||||
from jellyfin_kodi.helper.utils import settings
|
||||
|
Loading…
Reference in New Issue
Block a user