Version bump 3.0.27a

This commit is contained in:
angelblue05 2018-06-09 00:20:56 -05:00
parent 4b2baa9165
commit 55c467afa0
3 changed files with 5 additions and 16 deletions

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.video.emby"
name="Emby"
version="3.0.26a"
version="3.0.27a"
provider-name="Emby.media">
<requires>
<import addon="xbmc.python" version="2.25.0"/>

View file

@ -73,20 +73,6 @@ class ContextMenu(xbmcgui.WindowXMLDialog):
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
def _add_listitem(cls, label):
return xbmcgui.ListItem(label)

View file

@ -112,7 +112,7 @@ def doMainListing():
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("Manual server dialog", "plugin://plugin.video.emby/?mode=manualserver")
#addDirectoryItem("Connect servers dialog", "plugin://plugin.video.emby/?mode=connectservers")
@ -135,11 +135,14 @@ def doMainListing():
#xbmcplugin.endOfDirectory(int(sys.argv[1]))
def test_manual_login():
"""
from dialogs import LoginManual
dialog = LoginManual("script-emby-connect-login-manual.xml", *XML_PATH)
dialog.set_server("Test server")
dialog.set_user("Test user")
dialog.doModal()
"""
window('emby_test', value="false")
def test_connect_login():
from dialogs import LoginConnect