remove kodi-six, use python3 kodi libs

This commit is contained in:
Rob Weber 2019-11-22 14:53:20 -06:00
parent 5c3e1712f6
commit 3aa912ca4c
10 changed files with 12 additions and 13 deletions

View File

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

View File

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

View File

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

View File

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

View File

@ -1,9 +1,8 @@
from __future__ import unicode_literals
import time
import json
from kodi_six import xbmc, xbmcgui, xbmcvfs
import xbmc, xbmcgui, xbmcvfs
from . import utils as utils
import os
from datetime import datetime
from . vfs import XBMCFileSystem,DropboxFileSystem,ZipFileSystem
from . progressbar import BackupProgressBar

View File

@ -1,5 +1,5 @@
import json
from kodi_six import xbmc, xbmcvfs
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 @@
from kodi_six import xbmcgui
import xbmcgui
from . import utils as utils
class BackupProgressBar:

View File

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

View File

@ -2,10 +2,10 @@ from __future__ import unicode_literals
import zipfile
import os.path
import sys
from kodi_six import xbmc, xbmcvfs, xbmcgui
import dropbox
import xbmc, xbmcvfs, xbmcgui
from . import dropbox
from . import utils as utils
from dropbox.files import WriteMode,CommitInfo,UploadSessionCursor
from .dropbox.files import WriteMode,CommitInfo,UploadSessionCursor
from . authorizers import DropboxAuthorizer
class Vfs:

View File

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