mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 12:16:12 +00:00
Remove live tv shortcuts
This commit is contained in:
parent
055c12bfe5
commit
b0c11ba7e8
1 changed files with 5 additions and 3 deletions
|
@ -37,7 +37,7 @@ from utils import window, settings, dialog, language as lang, urllib_path
|
|||
log = logging.getLogger("EMBY."+__name__)
|
||||
|
||||
addon = xbmcaddon.Addon(id='plugin.video.emby')
|
||||
XML_PATH = (addon.getAddonInfo('path'), "default", "1080i")
|
||||
XML_PATH = (addon.getAddonInfo('path'), "default", "1080i", True)
|
||||
|
||||
#################################################################################################
|
||||
|
||||
|
@ -96,19 +96,21 @@ def doMainListing():
|
|||
addDirectoryItem(label, path)
|
||||
|
||||
# experimental live tv nodes
|
||||
'''
|
||||
if not xbmc.getCondVisibility("Window.IsActive(Pictures)"):
|
||||
addDirectoryItem(lang(33051),
|
||||
"plugin://plugin.video.emby/?mode=browsecontent&type=tvchannels&folderid=root")
|
||||
addDirectoryItem(lang(33052),
|
||||
"plugin://plugin.video.emby/?mode=browsecontent&type=recordings&folderid=root")
|
||||
|
||||
'''
|
||||
'''
|
||||
TODO: Create plugin listing for servers
|
||||
servers = window('emby_servers.json')
|
||||
if servers:
|
||||
for server in servers:
|
||||
log.info(window('emby_server%s.name' % server))
|
||||
addDirectoryItem(window('emby_server%s.name' % server), "plugin://plugin.video.emby/?mode=%s" % server)'''
|
||||
addDirectoryItem(window('emby_server%s.name' % server), "plugin://plugin.video.emby/?mode=%s" % server)
|
||||
'''
|
||||
|
||||
#addDirectoryItem("Manual login dialog", "plugin://plugin.video.emby/?mode=manuallogin")
|
||||
#addDirectoryItem("Connect login dialog", "plugin://plugin.video.emby/?mode=connectlogin")
|
||||
|
|
Loading…
Reference in a new issue