Quick fix for deprecated method

RunPlugin goes with pluginsource default.py. This gets rid of the
deprecated message when using the action to reset local db.
This commit is contained in:
angelblue05 2015-05-04 16:40:44 -05:00
parent b996037e4e
commit b882596e29
2 changed files with 5 additions and 6 deletions

View file

@ -36,7 +36,9 @@ if mode == "play":
result = DownloadUtils().downloadUrl(url)
item = PlaybackUtils().PLAY(result, setup="default")
elif mode == "reset":
utils.reset()
#get extrafanart for listitem - this will only be used for skins that actually call the listitem's path + fanart dir...
elif "extrafanart" in sys.argv[0]:
itemPath = ""
@ -84,9 +86,6 @@ elif "extrafanart" in sys.argv[0]:
#always do endofdirectory to prevent errors in the logs
xbmcplugin.endOfDirectory(int(sys.argv[1]))
elif sys.argv[1] == "reset":
utils.reset()
else:
xbmc.executebuiltin('Addon.OpenSettings(plugin.video.emby)')