mirror of
https://github.com/robweber/xbmcbackup.git
synced 2024-11-14 20:35:48 +01:00
use kodi-six for kodi imports
This commit is contained in:
parent
db93e40f59
commit
8f8402ae8a
@ -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" />
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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:
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -1,4 +1,4 @@
|
||||
import xbmcgui
|
||||
from kodi_six import xbmcgui
|
||||
from . import utils as utils
|
||||
|
||||
class BackupProgressBar:
|
||||
|
@ -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__)
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user