mirror of
https://github.com/robweber/xbmcbackup.git
synced 2024-12-22 14:05:23 +01:00
remove kodi-six, use python3 kodi libs
This commit is contained in:
parent
5c3e1712f6
commit
3aa912ca4c
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -1,5 +1,5 @@
|
||||
import json
|
||||
from kodi_six import xbmc, xbmcgui, xbmcvfs
|
||||
import xbmc, xbmcgui, xbmcvfs
|
||||
from . import utils as utils
|
||||
|
||||
class BackupSetManager:
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -1,4 +1,4 @@
|
||||
from kodi_six import xbmcgui
|
||||
import xbmcgui
|
||||
from . import utils as utils
|
||||
|
||||
class BackupProgressBar:
|
||||
|
@ -1,4 +1,4 @@
|
||||
from kodi_six import xbmc, xbmcgui, xbmcaddon
|
||||
import xbmc, xbmcgui, xbmcaddon
|
||||
|
||||
__addon_id__= 'script.xbmcbackup'
|
||||
__Addon = xbmcaddon.Addon(__addon_id__)
|
||||
|
@ -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:
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user