reset focus to the main menu on user switch

This commit is contained in:
Shaun
2019-06-10 15:23:22 +10:00
parent 781c0f8f8a
commit 8c666f653a
3 changed files with 2 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.video.embycon"
name="EmbyCon"
version="1.9.7"
version="1.9.8"
provider-name="Team B">
<requires>
<import addon="xbmc.python" version="2.25.0"/>

View File

@@ -374,4 +374,5 @@ def checkServer(force=False, change_user=False, notify=False):
du.authenticate()
du.getUserId()
xbmc.executebuiltin("ActivateWindow(Home)")
xbmc.executebuiltin("SetFocus(9000, 0, absolute)")
xbmc.executebuiltin("ReloadSkin()")

View File

@@ -1,8 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<window>
<onunload>ClearProperty(first_load_done, 10000)</onunload>
<!--<onload>SetFocus(9000,99,absolute)</onload>-->
<onload>SetFocus(9000)</onload>
<defaultcontrol>9000</defaultcontrol>
<backgroundcolor>background</backgroundcolor>
<controls>