some more small fixes

This commit is contained in:
Marcel van der Veldt 2015-03-18 18:54:30 +01:00
parent 6729df6508
commit e04ee83bd8
3 changed files with 11 additions and 7 deletions

3
.gitignore vendored
View file

@ -1,2 +1,3 @@
*.pyo *.pyo
machine_guid machine_guid
/resources/media/Thumbs.db

View file

@ -19,9 +19,13 @@ from PlaybackUtils import PlaybackUtils
# get the actions... # get the actions...
params=utils.get_params(sys.argv[2]) params=utils.get_params(sys.argv[2])
mode = params.get('mode',"") mode = params.get('mode',"")
id = params.get('id',"") id = params.get('id',"")
if mode == "play": if mode == "play":
PlaybackUtils().PLAY(id) PlaybackUtils().PLAY(id)
else:
xbmc.executebuiltin('Addon.OpenSettings(plugin.video.mb3sync)')

View file

@ -8,9 +8,9 @@
</category> </category>
<category label="Automatic sync"> <!-- Auto sync optionss --> <category label="Automatic sync"> <!-- Auto sync optionss -->
<setting id="enablePlayCountSync" type="bool" label="Enable watched/resume status sync" default="true" visible="false" enable="true" /> <setting id="enablePlayCountSync" type="bool" label="Enable watched/resume status sync" default="true" visible="true" enable="true" />
<setting id="syncSettingStartup" type="labelenum" label="Run at startup:" values="Full Sync|Incremental Sync|None" default="Full Sync" /> <setting id="syncSettingStartup" type="labelenum" label="Run at startup:" values="Full Sync|Incremental Sync|None" default="Full Sync" />
<setting id="syncSettingBackground" type="enum" label="Enable continuous background sync:" values="Full Sync|Incremental Sync|None" default="Incremental Sync" visible="true" enable="true" /> <setting id="syncSettingBackground" type="labelenum" label="Enable continuous background sync:" values="Full Sync|Incremental Sync|None" default="Incremental Sync" visible="true" enable="true" />
<setting type="lsep"/> <setting type="lsep"/>
<setting label="[B]Full Sync:[/B] Performs full compare including deletes" type="lsep"/> <setting label="[B]Full Sync:[/B] Performs full compare including deletes" type="lsep"/>
<setting label="[B]Incremental Sync:[/B] Processes only new items" type="lsep"/> <setting label="[B]Incremental Sync:[/B] Processes only new items" type="lsep"/>
@ -26,13 +26,12 @@
<setting id="username" type="text" label="30024" /> <setting id="username" type="text" label="30024" />
<setting id="password" type="text" option="hidden" label="30025" /> <setting id="password" type="text" option="hidden" label="30025" />
</category> </category>
<category label="30022"> <!-- Advanced --> <category label="30022"> <!-- Advanced -->
<setting id="logLevel" type="enum" label="30004" values="None|Info|Debug" default="0" /> <setting id="logLevel" type="enum" label="30004" values="None|Info|Debug" default="0" />
<setting id="enableProgressPlayCountSync" type="bool" label="Show load progress for Watched/resume status sync" default="true" visible="false" enable="true" /> <setting id="enableProgressPlayCountSync" type="bool" label="Show load progress for Watched/resume status sync" default="false" visible="false" enable="true" />
<setting id="enableProgressFullSync" type="bool" label="Show load progress for full/incremental sync" default="true" visible="true" enable="true" /> <setting id="enableProgressFullSync" type="bool" label="Show load progress for full/incremental sync" default="false" visible="true" enable="true" />
</category> </category>