mirror of
https://github.com/robweber/xbmcbackup.git
synced 2025-06-23 02:54:34 +02:00
fixes #39
This commit is contained in:
@ -44,6 +44,14 @@ class XbmcBackup:
|
||||
self.remote_base_path = "/"
|
||||
self.remote_vfs = DropboxFileSystem("/")
|
||||
|
||||
def remoteConfigured(self):
|
||||
result = True
|
||||
|
||||
if(self.remote_base_path == ""):
|
||||
result = False
|
||||
|
||||
return result
|
||||
|
||||
def listBackups(self):
|
||||
result = []
|
||||
|
||||
|
@ -10,6 +10,9 @@ def data_dir():
|
||||
def addon_dir():
|
||||
return __Addon.getAddonInfo('path')
|
||||
|
||||
def openSettings():
|
||||
__Addon.openSettings()
|
||||
|
||||
def log(message,loglevel=xbmc.LOGNOTICE):
|
||||
xbmc.log(encode(__addon_id__ + ": " + message),level=loglevel)
|
||||
|
||||
|
Reference in New Issue
Block a user