mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-02 14:26:14 +00:00
finished video nodes change and main entrypoint listings
removed some redundant logging
This commit is contained in:
parent
d4e44122ba
commit
4ceb66762a
6 changed files with 41 additions and 11 deletions
13
default.py
13
default.py
|
@ -39,7 +39,11 @@ elif mode == "resetauth":
|
|||
|
||||
elif mode == "adduser":
|
||||
entrypoint.addUser()
|
||||
|
||||
elif mode == "settings":
|
||||
xbmc.executebuiltin('Addon.OpenSettings(plugin.video.emby)')
|
||||
|
||||
|
||||
##### BROWSE EMBY CHANNELS ROOT #####
|
||||
elif mode == "channels":
|
||||
entrypoint.BrowseChannels(id)
|
||||
|
@ -60,11 +64,8 @@ elif "extrafanart" in sys.argv[0]:
|
|||
entrypoint.getExtraFanArt()
|
||||
|
||||
|
||||
##### SHOW ADDON SETTINGS #####
|
||||
##### SHOW ADDON NODES LISTING #####
|
||||
else:
|
||||
#open the addon settings if the addon is called directly from video addons
|
||||
try:
|
||||
if "content_type" in sys.argv[2]:
|
||||
xbmc.executebuiltin('Addon.OpenSettings(plugin.video.emby)')
|
||||
except: pass
|
||||
entrypoint.doMainListing()
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue