mirror of
https://github.com/robweber/xbmcbackup.git
synced 2024-11-15 04:45:49 +01:00
use kodi-six for kodi imports
This commit is contained in:
parent
db93e40f59
commit
8f8402ae8a
@ -4,6 +4,7 @@
|
|||||||
<requires>
|
<requires>
|
||||||
<!-- jarvis -->
|
<!-- jarvis -->
|
||||||
<import addon="xbmc.python" version="2.26.0"/>
|
<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.httplib2" version="0.8.0" />
|
||||||
<import addon="script.module.oauth2client" version="4.1.2" />
|
<import addon="script.module.oauth2client" version="4.1.2" />
|
||||||
<import addon="script.module.uritemplate" version="0.6" />
|
<import addon="script.module.uritemplate" version="0.6" />
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import sys, urlparse
|
import sys, urlparse
|
||||||
import xbmc, xbmcgui
|
from kodi_six 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
|
||||||
|
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
import sys
|
import sys
|
||||||
import urlparse
|
import urlparse
|
||||||
import xbmc
|
from kodi_six import xbmc, xbmcgui, xbmcvfs
|
||||||
import xbmcgui
|
|
||||||
import xbmcvfs
|
|
||||||
import resources.lib.utils as utils
|
import resources.lib.utils as utils
|
||||||
from resources.lib.authorizers import DropboxAuthorizer,GoogleDriveAuthorizer
|
from resources.lib.authorizers import DropboxAuthorizer,GoogleDriveAuthorizer
|
||||||
from resources.lib.advanced_editor import AdvancedBackupEditor
|
from resources.lib.advanced_editor import AdvancedBackupEditor
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
import json
|
import json
|
||||||
import xbmcvfs
|
from kodi_six import xbmc, xbmcgui, xbmcvfs
|
||||||
import xbmc
|
|
||||||
import xbmcgui
|
|
||||||
from . import utils as utils
|
from . import utils as utils
|
||||||
|
|
||||||
class BackupSetManager:
|
class BackupSetManager:
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
import xbmc
|
from kodi_six import xbmc, xbmcgui, xbmcvfs
|
||||||
import xbmcgui
|
|
||||||
import 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
|
||||||
|
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
import xbmc
|
|
||||||
import xbmcgui
|
|
||||||
import xbmcvfs
|
|
||||||
import time
|
import time
|
||||||
import json
|
import json
|
||||||
|
from kodi_six import xbmc, xbmcgui, xbmcvfs
|
||||||
from . import utils as utils
|
from . import utils as utils
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
from . vfs import XBMCFileSystem,DropboxFileSystem,ZipFileSystem,GoogleDriveFilesystem
|
from . vfs import XBMCFileSystem,DropboxFileSystem,ZipFileSystem,GoogleDriveFilesystem
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import json
|
import json
|
||||||
import xbmc,xbmcvfs
|
from kodi_six 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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import xbmcgui
|
from kodi_six import xbmcgui
|
||||||
from . import utils as utils
|
from . import utils as utils
|
||||||
|
|
||||||
class BackupProgressBar:
|
class BackupProgressBar:
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
import xbmc
|
from kodi_six import xbmc, xbmcgui, xbmcaddon
|
||||||
import xbmcgui
|
|
||||||
import xbmcaddon
|
|
||||||
|
|
||||||
__addon_id__= 'script.xbmcbackup'
|
__addon_id__= 'script.xbmcbackup'
|
||||||
__Addon = xbmcaddon.Addon(__addon_id__)
|
__Addon = xbmcaddon.Addon(__addon_id__)
|
||||||
|
@ -1,9 +1,7 @@
|
|||||||
import xbmc
|
|
||||||
import xbmcvfs
|
|
||||||
import xbmcgui
|
|
||||||
import zipfile
|
import zipfile
|
||||||
import os.path
|
import os.path
|
||||||
import sys
|
import sys
|
||||||
|
from kodi_six import xbmc, xbmcvfs, xbmcgui
|
||||||
from . 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
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
import xbmc
|
|
||||||
import xbmcvfs
|
|
||||||
import xbmcgui
|
|
||||||
from datetime import datetime
|
|
||||||
import time
|
import time
|
||||||
|
from datetime import datetime
|
||||||
|
from kodi_six 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
|
||||||
|
Loading…
Reference in New Issue
Block a user