mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-12 21:26:10 +00:00
Version bump 3.0.27a
This commit is contained in:
parent
4b2baa9165
commit
55c467afa0
3 changed files with 5 additions and 16 deletions
|
@ -1,7 +1,7 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
<addon id="plugin.video.emby"
|
<addon id="plugin.video.emby"
|
||||||
name="Emby"
|
name="Emby"
|
||||||
version="3.0.26a"
|
version="3.0.27a"
|
||||||
provider-name="Emby.media">
|
provider-name="Emby.media">
|
||||||
<requires>
|
<requires>
|
||||||
<import addon="xbmc.python" version="2.25.0"/>
|
<import addon="xbmc.python" version="2.25.0"/>
|
||||||
|
|
|
@ -73,20 +73,6 @@ class ContextMenu(xbmcgui.WindowXMLDialog):
|
||||||
|
|
||||||
self.close()
|
self.close()
|
||||||
|
|
||||||
def _add_editcontrol(self, x, y, height, width, password=0):
|
|
||||||
|
|
||||||
media = os.path.join(addon.getAddonInfo('path'), 'resources', 'skins', 'default', 'media')
|
|
||||||
control = xbmcgui.ControlImage(0, 0, 0, 0,
|
|
||||||
filename=os.path.join(media, "white.png"),
|
|
||||||
aspectRatio=0,
|
|
||||||
colorDiffuse="ff111111")
|
|
||||||
control.setPosition(x, y)
|
|
||||||
control.setHeight(height)
|
|
||||||
control.setWidth(width)
|
|
||||||
|
|
||||||
self.addControl(control)
|
|
||||||
return control
|
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def _add_listitem(cls, label):
|
def _add_listitem(cls, label):
|
||||||
return xbmcgui.ListItem(label)
|
return xbmcgui.ListItem(label)
|
||||||
|
|
|
@ -112,7 +112,7 @@ def doMainListing():
|
||||||
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", False)
|
||||||
#addDirectoryItem("Connect login dialog", "plugin://plugin.video.emby/?mode=connectlogin")
|
#addDirectoryItem("Connect login dialog", "plugin://plugin.video.emby/?mode=connectlogin")
|
||||||
#addDirectoryItem("Manual server dialog", "plugin://plugin.video.emby/?mode=manualserver")
|
#addDirectoryItem("Manual server dialog", "plugin://plugin.video.emby/?mode=manualserver")
|
||||||
#addDirectoryItem("Connect servers dialog", "plugin://plugin.video.emby/?mode=connectservers")
|
#addDirectoryItem("Connect servers dialog", "plugin://plugin.video.emby/?mode=connectservers")
|
||||||
|
@ -135,11 +135,14 @@ def doMainListing():
|
||||||
#xbmcplugin.endOfDirectory(int(sys.argv[1]))
|
#xbmcplugin.endOfDirectory(int(sys.argv[1]))
|
||||||
|
|
||||||
def test_manual_login():
|
def test_manual_login():
|
||||||
|
"""
|
||||||
from dialogs import LoginManual
|
from dialogs import LoginManual
|
||||||
dialog = LoginManual("script-emby-connect-login-manual.xml", *XML_PATH)
|
dialog = LoginManual("script-emby-connect-login-manual.xml", *XML_PATH)
|
||||||
dialog.set_server("Test server")
|
dialog.set_server("Test server")
|
||||||
dialog.set_user("Test user")
|
dialog.set_user("Test user")
|
||||||
dialog.doModal()
|
dialog.doModal()
|
||||||
|
"""
|
||||||
|
window('emby_test', value="false")
|
||||||
|
|
||||||
def test_connect_login():
|
def test_connect_login():
|
||||||
from dialogs import LoginConnect
|
from dialogs import LoginConnect
|
||||||
|
|
Loading…
Reference in a new issue