mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-02 22:36:12 +00:00
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:
parent
b996037e4e
commit
b882596e29
2 changed files with 5 additions and 6 deletions
|
@ -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)')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue