mirror of
https://github.com/robweber/xbmcbackup.git
synced 2024-11-15 04:45:49 +01:00
modified backup.py to test dropbox api
added start of vfs.py to abstract file repos
This commit is contained in:
parent
9bc0c27ccf
commit
9eb857396a
@ -1,7 +1,7 @@
|
|||||||
import xbmc
|
import xbmc
|
||||||
import xbmcgui
|
import xbmcgui
|
||||||
import xbmcvfs
|
import xbmcvfs
|
||||||
from resources.dropbox import client, rest, session
|
from dropbox import client, rest, session
|
||||||
import utils as utils
|
import utils as utils
|
||||||
import os
|
import os
|
||||||
import time
|
import time
|
||||||
|
17
resources/lib/vfs.py
Normal file
17
resources/lib/vfs.py
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
import utils as utils
|
||||||
|
|
||||||
|
class Vfs:
|
||||||
|
type = 'none'
|
||||||
|
|
||||||
|
def __init__(type):
|
||||||
|
self.type = type
|
||||||
|
|
||||||
|
def listdir(directory):
|
||||||
|
return {}
|
||||||
|
|
||||||
|
def mkdir(directory):
|
||||||
|
return True
|
||||||
|
|
||||||
|
def copy(source,dest):
|
||||||
|
return True
|
||||||
|
|
Loading…
Reference in New Issue
Block a user