enigma2 icon indicating copy to clipboard operation
enigma2 copied to clipboard

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

Open biko-73 opened this issue 1 year ago • 31 comments

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

biko-73 avatar Jan 23 '25 22:01 biko-73

Please check the last change of skin.py

jbleyel avatar Jan 24 '25 10:01 jbleyel

Good after noon

dearest developer Thanks very much for your support i am very grateful New Directories.py fix all my problem and plugin back to work again Thanks very much

biko_73


From: jbleyel @.> Sent: Friday, January 24, 2025 12:42 PM To: openatv/enigma2 @.> Cc: biko-73 @.>; Author @.> Subject: Re: [openatv/enigma2] Team Nitro control center for change between team skin as pro additional skins not work now after last image update (Issue #3508)

Please check the last change of skin.py

— Reply to this email directly, view it on GitHubhttps://github.com/openatv/enigma2/issues/3508#issuecomment-2612215377, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANZR3QJJSTMTMERETHUSXUT2MIKLBAVCNFSM6AAAAABVYM7OYWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMJSGIYTKMZXG4. You are receiving this because you authored the thread.Message ID: @.***>

biko-73 avatar Jan 24 '25 13:01 biko-73

Please use this -> https://github.com/openatv/enigma2/blob/master/lib/python/skin.py and this -> https://github.com/openatv/enigma2/blob/master/lib/python/Tools/Directories.py

And test again.

jbleyel avatar Jan 24 '25 14:01 jbleyel

problem back again no change for skins by the nitro plugin control

first Directories file is ok

i used new skin.py https://github.com/openatv/enigma2/blob/master/lib/python/skin.py with first Directories file sent and it work great

but Directories on https://github.com/openatv/enigma2/blob/master/lib/python/Tools/Directories.py not work


From: jbleyel @.> Sent: Friday, January 24, 2025 4:21 PM To: openatv/enigma2 @.> Cc: biko-73 @.>; State change @.> Subject: Re: [openatv/enigma2] Team Nitro control center for change between team skin as pro additional skins not work now after last image update (Issue #3508)

Please use this -> https://github.com/openatv/enigma2/blob/master/lib/python/skin.py and this -> https://github.com/openatv/enigma2/blob/master/lib/python/Tools/Directories.py

And test again.

— Reply to this email directly, view it on GitHubhttps://github.com/openatv/enigma2/issues/3508#issuecomment-2612646861, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANZR3QKQ7JUWEBJI2RK5XPT2MJD7FAVCNFSM6AAAAABVYM7OYWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMJSGY2DMOBWGE. You are receiving this because you modified the open/close state.Message ID: @.***>

biko-73 avatar Jan 24 '25 15:01 biko-73

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

jbleyel avatar Jan 24 '25 17:01 jbleyel

Once user enter the plugin and select user skin.. It create a user skin file and save it to the etc/enigma2 folder. After restart the box user skin sync from the etc/enigma2 folder instead of usr/share/enigam2/cure_skin


From: jbleyel @.> Sent: Friday, January 24, 2025 7:43 PM To: openatv/enigma2 @.> Cc: biko-73 @.>; State change @.> Subject: Re: [openatv/enigma2] Team Nitro control center for change between team skin as pro additional skins not work now after last image update (Issue #3508)

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

— Reply to this email directly, view it on GitHubhttps://github.com/openatv/enigma2/issues/3508#issuecomment-2613070405, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANZR3QMT7G57JPPBS47KZAL2MJ3S7AVCNFSM6AAAAABVYM7OYWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMJTGA3TANBQGU. You are receiving this because you modified the open/close state.Message ID: @.***>

biko-73 avatar Jan 24 '25 18:01 biko-73

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

jbleyel avatar Jan 24 '25 19:01 jbleyel

we have more than 20 different skins and screen each skin has different name on path /usr/share/enigma2/AL_AYAM_FHD/allScreens/xtraEvent as xtraEvent_Brown.xml xtraEvent_Green.xml xtraEvent_Pink0_Xtra.xml xtraEvent_Pink1_Xtra.xml xtraEvent_Pink2_Xtra.xml xtraEvent_Pink3_Xtra.xml xtraEvent_Pink4_Xtra.xml xtraEvent_Pink5_Xtra.xml xtraEvent_Pink6_Xtra.xml xtraEvent_Pink7_Xtra.xml

&

/usr/share/enigma2/AL_AYAM_FHD/allScreens/TNPosterX as TNPosterX_Brown.xml TNPosterX_Green.xml TNPosterX_Pink1_X.xml TNPosterX_Pink2_X.xml TNPosterX_Pink3_X.xml TNPosterX_Pink4_X.xml TNPosterX_Pink5_X.xml TNPosterX_Pink6_X.xml TNPosterX_Pink7_X.xml

after user choose one of that skins which displayed on plugin by preview then it moved to etc/enigma by name skin_user_AL_AYAM_FHD.xml then to path /usr/share/enigma2/AL_AYAM_FHD after restart enigma by name skin.xml

are you suggest other way to do that !


From: jbleyel @.> Sent: Friday, January 24, 2025 9:37 PM To: openatv/enigma2 @.> Cc: biko-73 @.>; State change @.> Subject: Re: [openatv/enigma2] Team Nitro control center for change between team skin as pro additional skins not work now after last image update (Issue #3508)

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

— Reply to this email directly, view it on GitHubhttps://github.com/openatv/enigma2/issues/3508#issuecomment-2613249678, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANZR3QL6JVQF6LWXMX6VHO32MKI6DAVCNFSM6AAAAABVYM7OYWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMJTGI2DSNRXHA. You are receiving this because you modified the open/close state.Message ID: @.***>

biko-73 avatar Jan 24 '25 20:01 biko-73

Enable debug log, use this:

Directories.py.zip

And then send me the debug log file.

jbleyel avatar Jan 24 '25 21:01 jbleyel

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 avatar Jan 24 '25 22:01 biko-73

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

biko-73 avatar Jan 25 '25 14:01 biko-73

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

jbleyel avatar Jan 26 '25 18:01 jbleyel

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

biko-73 avatar Jan 26 '25 18:01 biko-73

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.

jbleyel avatar Jan 26 '25 18:01 jbleyel

all error will be fixed it some error about missing icon are name on screen

i will try your suggestion /etc/enigma2/skin_user_AL_AYAM_FHD.xml and feed you back


From: jbleyel @.> Sent: Sunday, January 26, 2025 8:44 PM To: openatv/enigma2 @.> Cc: biko-73 @.>; State change @.> Subject: Re: [openatv/enigma2] Team Nitro control center for change between team skin as pro additional skins not work now after last image update (Issue #3508)

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.

— Reply to this email directly, view it on GitHubhttps://github.com/openatv/enigma2/issues/3508#issuecomment-2614544309, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANZR3QP3TOXDCAOPOXC4V2D2MUUKNAVCNFSM6AAAAABVYM7OYWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMJUGU2DIMZQHE. You are receiving this because you modified the open/close state.Message ID: @.***>

biko-73 avatar Jan 26 '25 18:01 biko-73

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.

jbleyel avatar Jan 26 '25 19:01 jbleyel

that way we used to save backup from new skin moved to ok i will change plugin codes, change the path to skin folder instead of using etc/enigma2 if that are the problem


From: jbleyel @.> Sent: Sunday, January 26, 2025 9:04 PM To: openatv/enigma2 @.> Cc: biko-73 @.>; State change @.> Subject: Re: [openatv/enigma2] Team Nitro control center for change between team skin as pro additional skins not work now after last image update (Issue #3508)

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.

— Reply to this email directly, view it on GitHubhttps://github.com/openatv/enigma2/issues/3508#issuecomment-2614550680, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANZR3QPLMVXRWMKP5MEZTRT2MUWVHAVCNFSM6AAAAABVYM7OYWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMJUGU2TANRYGA. You are receiving this because you modified the open/close state.Message ID: @.***>

biko-73 avatar Jan 26 '25 19:01 biko-73

Do you have fixed the issue?

Here is a similar problem.

https://github.com/openatv/enigma2/commit/2c4698d0e8f703b3cd401314dd374c54bf18d38c#commitcomment-151855705

You may can contact @fairbird and help him.

jbleyel avatar Jan 28 '25 17:01 jbleyel

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')

fairbird avatar Jan 28 '25 18:01 fairbird

Compromize:

Directories.py.zip

jbleyel avatar Jan 28 '25 18:01 jbleyel

https://github.com/openatv/enigma2/commit/2c4698d0e8f703b3cd401314dd374c54bf18d38c#commitcomment-151866363

fairbird avatar Jan 28 '25 19:01 fairbird

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 avatar Jan 28 '25 23:01 biko-73

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

biko-73 avatar Jan 28 '25 23:01 biko-73

You only need to close Channelselection.

jbleyel avatar Jan 29 '25 04:01 jbleyel

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

biko-73 avatar Jan 29 '25 12:01 biko-73

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

jbleyel avatar Jan 29 '25 14:01 jbleyel

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 avatar Jan 29 '25 21:01 biko-73

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

biko-73 avatar Jan 29 '25 21:01 biko-73

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

jbleyel avatar Jan 29 '25 21:01 jbleyel

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 avatar Feb 01 '25 15:02 biko-73