Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with hidden menus and ratings in additional profiles #15393

Open
1 of 7 tasks
gsantosoliver opened this issue Feb 1, 2019 · 9 comments
Open
1 of 7 tasks

Problem with hidden menus and ratings in additional profiles #15393

gsantosoliver opened this issue Feb 1, 2019 · 9 comments
Labels

Comments

@gsantosoliver
Copy link

Bug report

Describe the bug

Here is a clear and concise description of what the problem is:

I am using Leia v18.0 in Shield. My setup is like this:

  • Android main Profile

    • Kodi Admin Profile
    • Kodi Guest Profile
  • Android Restricted Profile

    • Kodi Admin Profile
    • Kodi Guest Profile

I am trying to display ONLY the menus Movies, Video and Whether on "Android Restricted Profile/Kodi Guest Profile". I set it up BUT whenever I choose Power/Exit the menus all come back when I log in "Android Restricted Profile/Kodi Guest Profile" AND the ratings information vanish. The menus will stay hidden and the ratings will persist if I choose Power/Log off Kodi Guest Profile

Expected Behavior

Here is a clear and concise description of what was expected to happen:

To show only the menu items are set up in the Interface settings before exiting.

Actual Behavior

Whenever I choose Power/Exit the menus there are hidden as per the interface settings all come back when I log in "Android Restricted Profile/Kodi Guest Profile"

Possible Fix

The possible fix is to load the skin menu items as set up before in the interface settings.

To Reproduce

Steps to reproduce the behavior:

  1. Open Kodi in the restricted Android TV profile in Shield
  2. Set a password for the master profile and create a second profile (lets call it SP) without any password
  3. Log off main profile and login with SP (make sure the SP profile has some movies in Library already scrapped and displayed).
  4. Go to the interface settings and hide all the menu items except for Movies, Videos, Weather - set to show ratings and avatar picture.
  5. Get out the settings interface and note the menus and ratings are appearing correctly.
  6. Log off the SP profile and log back in - the menus and ratings are still appearing correctly.
  7. Exit Kodi, open it again and log back in using the SP profile
  8. All the once hidden menus now show up in the left hand navigation and the ratings do not show anymore

Debuglog

The debuglog can be found here:
https://paste.kodi.tv/asazajirol.kodi

Screenshots

Here are some links or screenshots to help explain the problem:

Login settings
0

Master Profile
0 1

SP Profile
0 2

Interface General Settings
1

Interface Main Menu Settings
2

Home Screen after Main Menu Settings
3

SP profile log off
4

Kodi Login screen
5

Home Screen after Login WIHOUT exit
6

Kodi Exit Screen
7

Home Screen after exit
8

Interface General Settings after exit
9

Interface Main Menu Settings after exit
10

Interface Artwork Settings after exit
11

Additional context or screenshots (if appropriate)

Here is some additional context or explanation that might help:

Your Environment

Used Operating system:

  • Android

  • iOS

  • Linux

  • OSX

  • Raspberry-Pi

  • Windows

  • Windows UWP

  • Operating system version/name:

    • Shield Android TV SW Version: 7.2.2(30.7.130.7)
    • Build: OPR6.170623.010.3664093_1378.1894
  • Kodi version: Build Kodi 18.0 Git:20190128-d81c34c Compiled 2019-01-28

  • Extra Shield information

    • Model Shield Android TV
    • Model Number: P2897
    • Version: 8.0.0

note: Once the issue is made we require you to update it with new information or Kodi versions should that be required.
Team Kodi will consider your problem report however, we will not make any promises the problem will be solved.

@DaVukovic
Copy link
Member

You have banned add-ons and repositories installed. Make sure you remove them all (repositories and add-ons) and provide a new debublog.

If no new debuglog is submitted within 3 days we will close this issue. I'll mark it as invalid for the time being.

@DaVukovic DaVukovic added the Ignored rules issue that does not follow the rules (no template, missing debug log, ...) label Feb 1, 2019
@gsantosoliver
Copy link
Author

You have banned add-ons and repositories installed. Make sure you remove them all (repositories and add-ons) and provide a new debublog.

If no new debuglog is submitted within 3 days we will close this issue. I'll mark it as invalid for the time being.

@DaVukovic - I've uninstalled and installed it from scratch - there is no additional repositories nor add-ons. The error still persists as reported initially.

Please find the new debug log here -> https://paste.kodi.tv/upubulimos.kodi

Please let me know if you need any further details.

@DaVukovic DaVukovic removed the Ignored rules issue that does not follow the rules (no template, missing debug log, ...) label Feb 2, 2019
@Jelmerb
Copy link

Jelmerb commented Feb 11, 2019

Same problem here, but even more severe. If you need screenshots or logs, let me know. Using Kodi v18 on Nvidia Shield TV with Android Oreo

@ellite
Copy link

ellite commented Feb 21, 2019

This issue occurs the moment you setup profiles. Even after a complete fresh install.
Happens on at least Windows. Linux (Libreelec) and Android and is very very easy to reproduce.
Install/Open Kodi -> Set a new profile -> Set to show the login screen -> Close Kodi -> Open Kodi -> Login -> 80% (just a guess) of the strings on the skin are gone.
It started with one of the nightlies in June, made it to the final release and now to 18.1. Guess no one uses Profiles, because this one would be hard to miss otherwise.

Edit: Started on Build: 18.0-ALPHA2 Git:593949a if it helps.

@DaVukovic
Copy link
Member

DaVukovic commented Feb 21, 2019

@ellite

Missing texts when using profiles is kind of different to this issue here. Please use the forums to discuss that as we also have workarounds for that. It's a known issue, true, but I guess not related to this one.

A workaround for you will be:

  • create a autoexec.py file at the userdata folder and under each <profile-name> folder under userdata -> profiles -> <profile-name>
  • fill the files with the following content:
import xbmc
xbmc.executebuiltin('ReloadSkin()')

That will cause a skin reload at every profile switch. Depending on your hardware in use you mostly won't even notice it and all your texts will be there again.

Edit: Typo fixed

@ellite
Copy link

ellite commented Feb 21, 2019

Thanks.
There's a "(" missing in your code. ('ReloadSkin**(**)');
The workaround, although not perfect, does the job.
Thank you again.

@Jelmerb
Copy link

Jelmerb commented Mar 9, 2019

how can I achieve this on a non-rooted Nvidia SHIELD TV?

@ellite
Copy link

ellite commented Mar 9, 2019 via email

@Jelmerb
Copy link

Jelmerb commented Mar 9, 2019

Thanks 🙂
It works. I hope they will find a proper fix in time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants