mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-24 17:56:11 +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__)
|
log = logging.getLogger("EMBY."+__name__)
|
||||||
|
|
||||||
addon = xbmcaddon.Addon(id='plugin.video.emby')
|
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)
|
addDirectoryItem(label, path)
|
||||||
|
|
||||||
# experimental live tv nodes
|
# experimental live tv nodes
|
||||||
|
'''
|
||||||
if not xbmc.getCondVisibility("Window.IsActive(Pictures)"):
|
if not xbmc.getCondVisibility("Window.IsActive(Pictures)"):
|
||||||
addDirectoryItem(lang(33051),
|
addDirectoryItem(lang(33051),
|
||||||
"plugin://plugin.video.emby/?mode=browsecontent&type=tvchannels&folderid=root")
|
"plugin://plugin.video.emby/?mode=browsecontent&type=tvchannels&folderid=root")
|
||||||
addDirectoryItem(lang(33052),
|
addDirectoryItem(lang(33052),
|
||||||
"plugin://plugin.video.emby/?mode=browsecontent&type=recordings&folderid=root")
|
"plugin://plugin.video.emby/?mode=browsecontent&type=recordings&folderid=root")
|
||||||
|
'''
|
||||||
'''
|
'''
|
||||||
TODO: Create plugin listing for servers
|
TODO: Create plugin listing for servers
|
||||||
servers = window('emby_servers.json')
|
servers = window('emby_servers.json')
|
||||||
if servers:
|
if servers:
|
||||||
for server in servers:
|
for server in servers:
|
||||||
log.info(window('emby_server%s.name' % server))
|
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("Manual login dialog", "plugin://plugin.video.emby/?mode=manuallogin")
|
||||||
#addDirectoryItem("Connect login dialog", "plugin://plugin.video.emby/?mode=connectlogin")
|
#addDirectoryItem("Connect login dialog", "plugin://plugin.video.emby/?mode=connectlogin")
|
||||||
|
|
Loading…
Reference in a new issue