2019-10-20, 17:16
(2019-10-20, 16:50)annomatik Wrote: Hi! Switching from Kodi 17 to 18, my custom "System.logoff" entry in my menu has disappeared. I was logging in automatically in my Master profile (skipping the login screen) and used that command to exit back to the login screen.
After a long search, I found out, that this seems to be a feature -- not a bug. Still, If I comment out this part of datafunctions.py, everything works as before:
elif action == "system.logoff":
return "[System.HasLoginScreen | IntegerGreaterThan(System.ProfileCount,1)] + System.Loggedon"
Would it be possible to remove the visibility-statement for system.logoff so my use case would work again? I tried it with System.ProfileCount,1 only but for some reason, it still did not work -- I had to remove all three criterias ( HasLoginScreen, ProfileCount greater 1 and System.Loggedon).
Thanks!
2016-12-12 removed infobools
these old deprecated infobools have now been removed:
- StringCompare() (use String.IsEqual instead)
- SubString() (use String.Contains instead)
- IntegerGreaterThan() (use Integer.IsGreater instead)
- IsEmpty() (use String.IsEmpty instead)