2018-03-13, 22:46
Pages: 1 2
2018-03-14, 18:15
(2018-03-13, 22:46)Karellen Wrote: [ -> ]Where is the Profile Login/Logout button?
Is visible in power menu if more than one profile exist.
2018-03-14, 22:22
Thanks @skybird1980. That is what I thought, but it does not show up. I have 2 profiles (default + 1 additional). It shows up with the other skins I use- Estuary, Transparency and Aeon Nox, but not in Rapier.
2018-03-14, 23:06
That makes absolutely no sense to me.
I just created 2 test profiles and that made the button show up (id=7).
The visible conditions for the skins you mention are almost identical.
I just created 2 test profiles and that made the button show up (id=7).
The visible conditions for the skins you mention are almost identical.
2018-03-14, 23:18
2018-03-22, 20:01
Hi Karellen.
Does it work in Transparency for Kodi 18?
It uses the exact same visible condition as Rapier for that function.
Does it work in Transparency for Kodi 18?
It uses the exact same visible condition as Rapier for that function.
2018-03-22, 22:39
Hi Gade
I don't have v18 installed on my main HTPC in the lounge room, which is where I experience the issue.
I'll install Rapier on my test machine and see if I can reproduce. Then I will try v18 Transparency! and see what happens.
I'll be in touch
I don't have v18 installed on my main HTPC in the lounge room, which is where I experience the issue.
I'll install Rapier on my test machine and see if I can reproduce. Then I will try v18 Transparency! and see what happens.
I'll be in touch
2018-03-23, 06:32
Actually, there's no need for that.
I can see that the code is the same for Kodi 17 and 18. So if you say it's working in Transparency for Kodi 17, it should work for Rapier as well.
I'll look further into this.
I can see that the code is the same for Kodi 17 and 18. So if you say it's working in Transparency for Kodi 17, it should work for Rapier as well.
I'll look further into this.
2018-03-23, 07:14
With Transparency!, I have to enable the button first by going into Settings>Skin Settings>Shutdown Menu
Is there a similar setting in Rapier? I am guessing not as it hasn't been mentioned..
---Edit---
I just tested this on my test machine. Fresh start. Only thing added is Rapier and Transparency! skins. I created a new profile while in Estuary. When I swap over to Rapier, there is no way for me to change profiles. Is there a setting I am overlooking somewhere? I have checked the Menus Settings and there is no option for Profile logoff.
I can zip my /roaming/Kodi folder and upload it for you.
Is there a similar setting in Rapier? I am guessing not as it hasn't been mentioned..
---Edit---
I just tested this on my test machine. Fresh start. Only thing added is Rapier and Transparency! skins. I created a new profile while in Estuary. When I swap over to Rapier, there is no way for me to change profiles. Is there a setting I am overlooking somewhere? I have checked the Menus Settings and there is no option for Profile logoff.
I can zip my /roaming/Kodi folder and upload it for you.
2018-03-23, 18:24
DialogButtonMenu.xml
Working for me, but need remove some adds in code "System.Loggedon".
Real boolean condition is""System.IsLoggedon" but if you leave this condition need to be "!System.IsLoggedOn"
https://kodi.wiki/view/List_of_boolean_conditions
remove visible condition and see if button "7" is visible.
Edit:
Gade
Seams to be wrong code in wiki System.IsLoggedOn is always "false" ...yours working ?!?
Working for me, but need remove some adds in code "System.Loggedon".
Real boolean condition is""System.IsLoggedon" but if you leave this condition need to be "!System.IsLoggedOn"
https://kodi.wiki/view/List_of_boolean_conditions
remove visible condition and see if button "7" is visible.
Edit:
Gade
Seams to be wrong code in wiki System.IsLoggedOn is always "false" ...yours working ?!?
Code:
<control type="button" id="7">
<description>Log Off</description>
<include>ContextMenuBtn</include>
<label>$LOCALIZE[20126] $INFO[system.profilename]</label>
<onclick>Dialog.Close(all,true)</onclick>
<onclick>System.LogOff</onclick>
<visible>[System.HasLoginScreen | Integer.IsGreater(System.ProfileCount,1)] + System.LoggedOn</visible>
</control>
2018-03-23, 23:58
@Angelinas
I added your edits into DialogButtonMenu.xml and tested. It works. I now have the logoff option and am able to switch profiles.
Thank you!!
cpp:<control type="button" id="7">
<description>Log Off</description>
<include>ContextMenuBtn</include>
<label>$LOCALIZE[20126] $INFO[system.profilename]</label>
<onclick>Dialog.Close(all,true)</onclick>
<onclick>System.LogOff</onclick>
<visible>[System.HasLoginScreen | Integer.IsGreater(System.ProfileCount,1)] + System.LoggedOn</visible>
</control>
I added your edits into DialogButtonMenu.xml and tested. It works. I now have the logoff option and am able to switch profiles.
Thank you!!
2018-03-24, 12:50
(2018-03-23, 18:24)Angelinas Wrote: [ -> ]Edit:
Gade
Seams to be wrong code in wiki System.IsLoggedOn is always "false" ...yours working ?!?
Code:<control type="button" id="7">
<description>Log Off</description>
<include>ContextMenuBtn</include>
<label>$LOCALIZE[20126] $INFO[system.profilename]</label>
<onclick>Dialog.Close(all,true)</onclick>
<onclick>System.LogOff</onclick>
<visible>[System.HasLoginScreen | Integer.IsGreater(System.ProfileCount,1)] + System.LoggedOn</visible>
</control>
Yup, System.LoggedOn works perfectly.
The same code is used by Estuary, Confluence, Aeon Nox and Transparency.
2018-03-24, 12:53
(2018-03-23, 23:58)Karellen Wrote: [ -> ]@Angelinas
cpp:<control type="button" id="7">
<description>Log Off</description>
<include>ContextMenuBtn</include>
<label>$LOCALIZE[20126] $INFO[system.profilename]</label>
<onclick>Dialog.Close(all,true)</onclick>
<onclick>System.LogOff</onclick>
<visible>[System.HasLoginScreen | Integer.IsGreater(System.ProfileCount,1)] + System.LoggedOn</visible>
</control>
I added your edits into DialogButtonMenu.xml and tested. It works. I now have the logoff option and am able to switch profiles.
Thank you!!
I'm lost here.
Which edits did you add to get it working?
The code above is exactly similar to the one currently used by Rapier.
Only difference is System.Loggedon vs. System.LoggedOn
Estuary and Aeon Nox use System.Loggedon
Transparency uses System.LoggedOn
2018-03-24, 15:55
You could try this code instead, although it absolutely shouldn't make any difference at all. Just trying to rule anything out.
cpp:
<control type="button" id="7">
<description>Log Off</description>
<include>ContextMenuBtn</include>
<label>$LOCALIZE[20126] $INFO[system.profilename]</label>
<onclick>Dialog.Close(all,true)</onclick>
<onclick>System.LogOff</onclick>
<visible>System.HasLoginScreen | Integer.IsGreater(System.ProfileCount,1)</visible>
<visible>System.LoggedOn</visible>
</control>
2018-03-24, 23:10
Hi @Gade,
This is the original code snippet from "DialogButtonMenu.xml" which does not show the Login option
I then replaced that portion with the following from the post by Angelinas, which then revealed the login option...
I can now swap between the original xml file and the updated xml file, and the issue is repeatable. The original code won't show the login option, but the second code will show it.
I tried your code and it also reveals the login option. Again, this is repeatable if I swap between the original file and the file modified with the below code...
This is the original code snippet from "DialogButtonMenu.xml" which does not show the Login option
cpp:<control type="button" id="7">
<description>Log Off</description>
<include>ContextMenuBtn</include>
<label>$LOCALIZE[20126]</label>
<onclick>Dialog.Close(all,true)</onclick>
<onclick>System.LogOff</onclick>
<visible>System.HasLoginScreen + System.Loggedon</visible>
</control>
I then replaced that portion with the following from the post by Angelinas, which then revealed the login option...
cpp:<control type="button" id="7">
<description>Log Off</description>
<include>ContextMenuBtn</include>
<label>$LOCALIZE[20126] $INFO[system.profilename]</label>
<onclick>Dialog.Close(all,true)</onclick>
<onclick>System.LogOff</onclick>
<visible>[System.HasLoginScreen | Integer.IsGreater(System.ProfileCount,1)] + System.LoggedOn</visible>
</control>
I can now swap between the original xml file and the updated xml file, and the issue is repeatable. The original code won't show the login option, but the second code will show it.
I tried your code and it also reveals the login option. Again, this is repeatable if I swap between the original file and the file modified with the below code...
CPP:<control type="button" id="7">
<description>Log Off</description>
<include>ContextMenuBtn</include>
<label>$LOCALIZE[20126] $INFO[system.profilename]</label>
<onclick>Dialog.Close(all,true)</onclick>
<onclick>System.LogOff</onclick>
<visible>System.HasLoginScreen | Integer.IsGreater(System.ProfileCount,1)</visible>
<visible>System.LoggedOn</visible>
</control>
Pages: 1 2