use kodi-six for kodi imports

This commit is contained in:
Rob Weber 2019-08-27 15:01:24 -05:00
parent db93e40f59
commit 8f8402ae8a
11 changed files with 12 additions and 25 deletions

View File

@ -4,6 +4,7 @@
<requires>
<!-- jarvis -->
<import addon="xbmc.python" version="2.26.0"/>
<import addon="script.module.kodi-six" version="0.1.0"/>
<import addon="script.module.httplib2" version="0.8.0" />
<import addon="script.module.oauth2client" version="4.1.2" />
<import addon="script.module.uritemplate" version="0.6" />

View File

@ -1,5 +1,5 @@
import sys, urlparse
import xbmc, xbmcgui
from kodi_six import xbmc, xbmcgui
import resources.lib.utils as utils
from resources.lib.backup import XbmcBackup

View File

@ -1,8 +1,6 @@
import sys
import urlparse
import xbmc
import xbmcgui
import xbmcvfs
from kodi_six import xbmc, xbmcgui, xbmcvfs
import resources.lib.utils as utils
from resources.lib.authorizers import DropboxAuthorizer,GoogleDriveAuthorizer
from resources.lib.advanced_editor import AdvancedBackupEditor

View File

@ -1,7 +1,5 @@
import json
import xbmcvfs
import xbmc
import xbmcgui
from kodi_six import xbmc, xbmcgui, xbmcvfs
from . import utils as utils
class BackupSetManager:

View File

@ -1,6 +1,4 @@
import xbmc
import xbmcgui
import xbmcvfs
from kodi_six import xbmc, xbmcgui, xbmcvfs
import resources.lib.tinyurl as tinyurl
import resources.lib.utils as utils

View File

@ -1,8 +1,6 @@
import xbmc
import xbmcgui
import xbmcvfs
import time
import json
from kodi_six import xbmc, xbmcgui, xbmcvfs
from . import utils as utils
from datetime import datetime
from . vfs import XBMCFileSystem,DropboxFileSystem,ZipFileSystem,GoogleDriveFilesystem

View File

@ -1,5 +1,5 @@
import json
import xbmc,xbmcvfs
from kodi_six import xbmc, xbmcvfs
from . import utils as utils
from xml.dom import minidom
from xml.parsers.expat import ExpatError

View File

@ -1,4 +1,4 @@
import xbmcgui
from kodi_six import xbmcgui
from . import utils as utils
class BackupProgressBar:

View File

@ -1,6 +1,4 @@
import xbmc
import xbmcgui
import xbmcaddon
from kodi_six import xbmc, xbmcgui, xbmcaddon
__addon_id__= 'script.xbmcbackup'
__Addon = xbmcaddon.Addon(__addon_id__)

View File

@ -1,9 +1,7 @@
import xbmc
import xbmcvfs
import xbmcgui
import zipfile
import os.path
import sys
from kodi_six import xbmc, xbmcvfs, xbmcgui
from . import dropbox
from . import utils as utils
from . dropbox.files import WriteMode,CommitInfo,UploadSessionCursor

View File

@ -1,8 +1,6 @@
import xbmc
import xbmcvfs
import xbmcgui
from datetime import datetime
import time
from datetime import datetime
from kodi_six import xbmc, xbmcvfs, xbmcgui
import resources.lib.utils as utils
from resources.lib.croniter import croniter
from resources.lib.backup import XbmcBackup