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 import sys
from kodi_six import xbmc, xbmcgui import xbmc, xbmcgui
import resources.lib.utils as utils import resources.lib.utils as utils
from resources.lib.backup import XbmcBackup from resources.lib.backup import XbmcBackup

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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