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

Team Nitro control center for change between team skin as pro additional skins not work now after last image update #3508

Open
biko-73 opened this issue Jan 23, 2025 · 31 comments

Comments

@biko-73
Copy link

biko-73 commented Jan 23, 2025

would team help about what are done on last update related to skin on image v_7.5.1, 7.5.2

i have plugin for change between my skin.xml screens which have different InfoBar, second InfoBar, channel selection, and more by several xml

after update done today plugin can't change between my skin.xml and only default are work
i faced that issue on openatv 7.5.2 too

Normal are when apply the new team skin from skin control plugin it automatically change from skin_user.xml which sent to etc/enigma2 folder to skin_al_ayam_fhd on path /usr/share/enigma2/AL_AYAM_FHD and have the new screens for new skin chosen

but that not happened now as the skin_user.xml file exist in etc/enigma2 but no change and replaced done

plugin work normally on other openatv 7.4
and other images

s1

s2

s3

s4

s5

would you help by tilling me what are changed on update cause that

my plugin link are
https://github.com/biko-73/TeamNitro/blob/main/skins/TeamNitro.tar.gz

Thanks on advance

@jbleyel
Copy link
Contributor

jbleyel commented Jan 24, 2025

Please check the last change of skin.py

@biko-73
Copy link
Author

biko-73 commented Jan 24, 2025 via email

@biko-73 biko-73 closed this as completed Jan 24, 2025
@jbleyel
Copy link
Contributor

jbleyel commented Jan 24, 2025

@biko-73
Copy link
Author

biko-73 commented Jan 24, 2025 via email

@jbleyel
Copy link
Contributor

jbleyel commented Jan 24, 2025

Why do you have skin files in /etc/enigma2 ?

@biko-73
Copy link
Author

biko-73 commented Jan 24, 2025 via email

@jbleyel
Copy link
Contributor

jbleyel commented Jan 24, 2025

Then you should use /etc/enigma2/<skin_name>/ ... and not /etc/enigma2/... for all files.

@biko-73
Copy link
Author

biko-73 commented Jan 24, 2025 via email

@jbleyel
Copy link
Contributor

jbleyel commented Jan 24, 2025

Enable debug log, use this:

Directories.py.zip

And then send me the debug log file.

@biko-73
Copy link
Author

biko-73 commented Jan 24, 2025

transferred the Directories.py then Enable debug
i used the plugin to change the skin and restart
not complete boot as i init

Debug_Lvl_4.zip

@biko-73
Copy link
Author

biko-73 commented Jan 25, 2025

Good morning
any New update to files skin.py, Directories.py on feed fix issue we talked about to users

@jbleyel
Copy link
Contributor

jbleyel commented Jan 26, 2025

You have send 3 logs, this is not helpful.

I need one log using this ->

https://github.com/openatv/enigma2/blob/master/lib/python/skin.py

and this ->

Directories.py.zip

@biko-73
Copy link
Author

biko-73 commented Jan 26, 2025

yes that what i am do and attach log3 on last post
and now do it again
log file is attached
after choose new skin from plugin and restart enigma
enigma not start until init 3

xx.log


before i use for debug
ENIGMA_DEBUG_LVL=4 enigma2 >/tmp/xx.log 2>&1

Now used image debug

20250126-202908-enigma2-debug.log
20250126-203035-enigma2-debug.log
20250126-203121-enigma2-debug.log

Plugin are work ok and skins change great

@jbleyel
Copy link
Contributor

jbleyel commented Jan 26, 2025

Why don't you use this:

/etc/enigma2/AL_AYAM_FHD/skin.xml
instead of this:

/etc/enigma2/skin_user_AL_AYAM_FHD.xml

?

And I have found a lot of skin errors in your log.

@biko-73
Copy link
Author

biko-73 commented Jan 26, 2025 via email

@jbleyel
Copy link
Contributor

jbleyel commented Jan 26, 2025

You may also think about to use symbolic links inside of /lib/share/enigma2/ .... instead of copying files into /etc/enigma2.
Because /etc/enigma2 is mainly designed for user data and not for skin components.

@biko-73
Copy link
Author

biko-73 commented Jan 26, 2025 via email

@jbleyel
Copy link
Contributor

jbleyel commented Jan 28, 2025

Do you have fixed the issue?

Here is a similar problem.

2c4698d#commitcomment-151855705

You may can contact @fairbird and help him.

jbleyel referenced this issue Jan 28, 2025
- Improve the efficiency of the resolveFilename() method by eliminating non-existent directories from the list.
- Tidy up some code.
- Correct and/or improve some comments.

Developed by @jbleyel with a little help from @IanSav.
@fairbird
Copy link
Contributor

fairbird commented Jan 28, 2025

From my side already I have fixed the Skin/plugin
from this

user_skin_file=resolveFilename(SCOPE_CONFIG, 'skin_user_' + cur_skin + '.xml')
to

if not path.exists("/etc/enigma2/iFlatFHD"):
mkdir("/etc/enigma2/iFlatFHD")
user_skin_file=resolveFilename(SCOPE_CONFIG, 'iFlatFHD/' + 'skin_user_' + cur_skin + '.xml')

@jbleyel
Copy link
Contributor

jbleyel commented Jan 28, 2025

Compromize:

Directories.py.zip

@fairbird
Copy link
Contributor

@biko-73
Copy link
Author

biko-73 commented Jan 28, 2025

Thanks very much jbleyel
after follow your suggestion know problem are resolved
Nitro plugin work on all 7.5.1, 7.5.2 with image default skin.py and Directories.py
No need now to any workaround

@biko-73 biko-73 reopened this Jan 28, 2025
@biko-73
Copy link
Author

biko-73 commented Jan 28, 2025

i have other questions can i ask here or open new issue
i want to know more about how i add index for eRectangle on template file
what will code line look i try a several and it not work

i need more explanation if you please about template

i add vertical, horizontal, 2L, circle, more than grid when change between templates from channel setting function it need restart enigma to take effect
could that improved to save and change between different templates as we press save without need to restart

Image

Thank you on advance
i know i ask too much

@jbleyel
Copy link
Contributor

jbleyel commented Jan 29, 2025

You only need to close Channelselection.

@biko-73
Copy link
Author

biko-73 commented Jan 29, 2025

You only need to close Channelselection.

Not clear to me what need to do
What's meaning about close channel selection

Is that mean when need to change between templates
I have to close the function as default and reopen it on new template choice and save then it will take effect without need restarting enigma2

@jbleyel
Copy link
Contributor

jbleyel commented Jan 29, 2025

Press down to open Channelselection
Press menu to change the style
Press green to save.
Press exit to close Channelselection

Press down to open Channelselection

@biko-73
Copy link
Author

biko-73 commented Jan 29, 2025

is that easy
Thanks so much i follow your suggestion and it work smoothly

what i used before
Menu ---> setup ---> usage & gui ---> channel selection settings --> chose template and screen ----> save
and not change until do restart
Now by your way it's great as effect done immediately as save

Thanks again

@biko-73
Copy link
Author

biko-73 commented Jan 29, 2025

last thing if could you share all about what index supported on image for templates and how can used
more than what available by matrix.skin
i will be very grateful

That EX. for 1_ch selection preview done by template
i am done with vertical, horizontal, 2L, circle, 1_ch
and want control and add more new

Image

@jbleyel
Copy link
Contributor

jbleyel commented Jan 29, 2025

There is already a documentation from Ian.
Let me ask him to finish.

@biko-73
Copy link
Author

biko-73 commented Feb 1, 2025

waiting for that important documentation

Thanks for your always support
now new released from AL AYAM FHD

https://www.linuxsat-support.com/thread/159695-skin-al-ayam-fhd-from-nitro-team/?postID=849638#post849638

@biko-73
Copy link
Author

biko-73 commented Feb 6, 2025

any new news about documentation

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

No branches or pull requests

3 participants