add full sync entry to main listing

This commit is contained in:
Marcel van der Veldt 2015-05-07 11:36:34 +02:00
parent 0cacd3ee87
commit f3e7ac350d
3 changed files with 8 additions and 4 deletions

View file

@ -424,10 +424,11 @@ def doMainListing():
if path:
addDirectoryItem(label, path)
# some extra entries for settinsg and stuff. TODO --> localize the labels
# some extra entries for settings and stuff. TODO --> localize the labels
addDirectoryItem("Settings", "plugin://plugin.video.emby/?mode=settings")
addDirectoryItem("Perform manual sync", "plugin://plugin.video.emby/?mode=manualsync")
addDirectoryItem("Add user to session", "plugin://plugin.video.emby/?mode=adduser")
addDirectoryItem("Perform full resync", "plugin://plugin.video.emby/?mode=reset")
addDirectoryItem("Perform local database reset (full resync)", "plugin://plugin.video.emby/?mode=reset")
xbmcplugin.endOfDirectory(int(sys.argv[1]))