vfs.py should pull dropbox info from settings

This commit is contained in:
Rob Weber 2012-12-28 19:06:12 -06:00
parent e32383c9ed
commit 361be97e34
2 changed files with 4 additions and 4 deletions

View File

@ -5,8 +5,8 @@ import xbmcgui
import sys import sys
from dropbox import client, rest, session from dropbox import client, rest, session
APP_KEY = 'f5wlmek6aoriqax' APP_KEY = utils.getSetting('dropbox_key')
APP_SECRET = 'b1461sje1kxgzet' APP_SECRET = utils.getSetting('dropbox_secret')
class Vfs: class Vfs:
root_path = None root_path = None

View File

@ -4,8 +4,8 @@
<setting id="remote_selection" type="enum" lvalues="30018|30019|30027" default="0" label="30025"/> <setting id="remote_selection" type="enum" lvalues="30018|30019|30027" default="0" label="30025"/>
<setting id="remote_path_2" type="text" label="30024" default="" visible="eq(-1,1)" /> <setting id="remote_path_2" type="text" label="30024" default="" visible="eq(-1,1)" />
<setting id="remote_path" type="folder" label="30020" visible="eq(-2,0)" /> <setting id="remote_path" type="folder" label="30020" visible="eq(-2,0)" />
<setting id="dropbox_key" type="text" label="30028" visible="eq(-3,2)" /> <setting id="dropbox_key" type="text" label="30028" visible="eq(-3,2)" default="" />
<setting id="dropbox_secret" type="text" label="30029" visible="eq(-4,2)" /> <setting id="dropbox_secret" type="text" label="30029" visible="eq(-4,2)" default="" />
<setting id="backup_rotation" type="number" label="30026" default="0" /> <setting id="backup_rotation" type="number" label="30026" default="0" />
<setting id="run_silent" type="bool" label="30022" default="false" /> <setting id="run_silent" type="bool" label="30022" default="false" />
</category> </category>