Kodi Community Forum
Skin has Option to play video as Startup but it gets stuck.. - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
+---- Forum: Arctic: Zephyr - Reloaded (https://forum.kodi.tv/forumdisplay.php?fid=221)
+---- Thread: Skin has Option to play video as Startup but it gets stuck.. (/showthread.php?tid=364655)

Pages: 1 2


Skin has Option to play video as Startup but it gets stuck.. - Rushil - 2021-09-27

I can play video at startup using an option that appeared after installing a skin but after the startup video ends, the screen stays black and does not continue to the GUI..
The skin I am using is : Arctic: Zephyr - Reloaded
please apologize me if I have posted this issue at a wrong section, I am very new to this.

Please help me fix this issue on Kodi Android Tv


RE: Skin has Option to play video as Startup but it gets stuck.. - beatmasterrs - 2021-09-29

(2021-09-27, 14:52)Rushil Wrote: I can play video at startup using an option that appeared after installing a skin but after the startup video ends, the screen stays black and does not continue to the GUI..
The skin I am using is : Arctic: Zephyr - Reloaded
please apologize me if I have posted this issue at a wrong section, I am very new to this.

Please help me fix this issue on Kodi Android Tv

So that I can see what exactly is happening, please enable debugging in the skin settings and try to record the last few seconds of the video until it goes black. Thank you.


RE: Skin has Option to play video as Startup but it gets stuck.. - Rushil - 2021-09-29

(2021-09-29, 09:14)beatmasterrs Wrote:
(2021-09-27, 14:52)Rushil Wrote: I can play video at startup using an option that appeared after installing a skin but after the startup video ends, the screen stays black and does not continue to the GUI..
The skin I am using is : Arctic: Zephyr - Reloaded
please apologize me if I have posted this issue at a wrong section, I am very new to this.

Please help me fix this issue on Kodi Android Tv

So that I can see what exactly is happening, please enable debugging in the skin settings and try to record the last few seconds of the video until it goes black. Thank you.
Sure! I will record and post a video of the issue in the next reply, after sometime. Surprised and very happy to see your reply on my post.. I love Arctic Zephyr - Reloaded skin! 
Also I wanted to ask if it is possible to make the scroll up and down animation smoother? going left and right on the widget is very smooth but going up or down isn't..


RE: Skin has Option to play video as Startup but it gets stuck.. - DarrenHill - 2021-09-29

This would be better in the skin's section - moving it there.


RE: Skin has Option to play video as Startup but it gets stuck.. - Rushil - 2021-09-29

(2021-09-29, 14:45)DarrenHill Wrote: This would be better in the skin's section - moving it there.

Thanks!


RE: Skin has Option to play video as Startup but it gets stuck.. - Rushil - 2021-09-30

(2021-09-29, 09:14)beatmasterrs Wrote:
(2021-09-27, 14:52)Rushil Wrote: I can play video at startup using an option that appeared after installing a skin but after the startup video ends, the screen stays black and does not continue to the GUI..
The skin I am using is : Arctic: Zephyr - Reloaded
please apologize me if I have posted this issue at a wrong section, I am very new to this.

Please help me fix this issue on Kodi Android Tv

So that I can see what exactly is happening, please enable debugging in the skin settings and try to record the last few seconds of the video until it goes black. Thank you.
Here's the video.. Note that I have changed the splash screen to a different image. The home sections does comes when I press the back button (pressed it the the moment cursor is visible in the video) but It was supposed to be Automatic ig...

Recorded Video : 



RE: Skin has Option to play video as Startup but it gets stuck.. - Rushil - 2021-09-30

The framerate of the video is low and I couldn't change it, its not lag so dw


RE: Skin has Option to play video as Startup but it gets stuck.. - Hitcher - 2021-09-30

Looks like it's stuck on Custom_Startup.xml button 9000.

xml:
<control type="button" id="9000">
    <include>HiddenButton</include>
    <onfocus>AlarmClock(Check1,SetFocus(9002),00:01,silent)</onfocus>
    <onfocus condition="!String.IsEmpty(Skin.String(StartupPlaylist)) + !Player.HasMedia">AlarmClock(PlayStartupVideo,PlayMedia($ESCINFO[Skin.String(StartupPlaylist)],1),00:00,silent,false)</onfocus>
    <onback>ReplaceWindow($INFO[System.StartupWindow])</onback>
    <onback>Stop</onback>
</control>



RE: Skin has Option to play video as Startup but it gets stuck.. - Rushil - 2021-09-30

(2021-09-30, 11:34)Hitcher Wrote: Looks like it's stuck on Custom_Startup.xml button 9000.

xml:
<control type="button" id="9000">
    <include>HiddenButton</include>
    <onfocus>AlarmClock(Check1,SetFocus(9002),00:01,silent)</onfocus>
    <onfocus condition="!String.IsEmpty(Skin.String(StartupPlaylist)) + !Player.HasMedia">AlarmClock(PlayStartupVideo,PlayMedia($ESCINFO[Skin.String(StartupPlaylist)],1),00:00,silent,false)</onfocus>
    <onback>ReplaceWindow($INFO[System.StartupWindow])</onback>
    <onback>Stop</onback>
</control>
where is the Custom_Startup.xml located? Sorry for asking a dumb question..


RE: Skin has Option to play video as Startup but it gets stuck.. - Rushil - 2021-09-30

(2021-09-30, 11:34)Hitcher Wrote: Looks like it's stuck on Custom_Startup.xml button 9000.

xml:
<control type="button" id="9000">
    <include>HiddenButton</include>
    <onfocus>AlarmClock(Check1,SetFocus(9002),00:01,silent)</onfocus>
    <onfocus condition="!String.IsEmpty(Skin.String(StartupPlaylist)) + !Player.HasMedia">AlarmClock(PlayStartupVideo,PlayMedia($ESCINFO[Skin.String(StartupPlaylist)],1),00:00,silent,false)</onfocus>
    <onback>ReplaceWindow($INFO[System.StartupWindow])</onback>
    <onback>Stop</onback>
</control>

I checked the xml file and its the same so I think this isn't the code to fix something by replacing.. I hope BeatmasterRS finds the solution and post it here (or update the skin)

Also Automatic Theme changer script doesnt work, its missing (in extra addons section)


RE: Skin has Option to play video as Startup but it gets stuck.. - beatmasterrs - 2021-09-30

(2021-09-30, 13:49)Rushil Wrote:
(2021-09-30, 11:34)Hitcher Wrote: Looks like it's stuck on Custom_Startup.xml button 9000.

xml:
<control type="button" id="9000">
    <include>HiddenButton</include>
    <onfocus>AlarmClock(Check1,SetFocus(9002),00:01,silent)</onfocus>
    <onfocus condition="!String.IsEmpty(Skin.String(StartupPlaylist)) + !Player.HasMedia">AlarmClock(PlayStartupVideo,PlayMedia($ESCINFO[Skin.String(StartupPlaylist)],1),00:00,silent,false)</onfocus>
    <onback>ReplaceWindow($INFO[System.StartupWindow])</onback>
    <onback>Stop</onback>
</control>

I checked the xml file and its the same so I think this isn't the code to fix something by replacing.. I hope BeatmasterRS finds the solution and post it here (or update the skin)

Also Automatic Theme changer script doesnt work, its missing (in extra addons section)

If you are familiar with editing files, you could please test something:

[open]

Custom_Startup.xml

[search]

xml:
<control type="button" id="9000">
    <include>HiddenButton</include>
    <onfocus>AlarmClock(Check1,SetFocus(9002),00:01,silent)</onfocus>
    <onfocus condition="!String.IsEmpty(Skin.String(StartupPlaylist)) + !Player.HasMedia">AlarmClock(PlayStartupVideo,PlayMedia($ESCINFO[Skin.String(StartupPlaylist)],1),00:00,silent,false)</onfocus>
    <onback>ReplaceWindow($INFO[System.StartupWindow])</onback>
    <onback>Stop</onback>
</control>

[replace]

xml:
<control type="button" id="9000">
    <include>HiddenButton</include>
    <onfocus>ReplaceWindow($INFO[System.StartupWindow])</onfocus>
    <onfocus condition="!String.IsEmpty(Skin.String(StartupPlaylist)) + !Player.HasMedia">PlayMedia($ESCINFO[Skin.String(StartupPlaylist)])</onfocus>
</control>

after that, save the file and restart kodi for changes to take effect. Please backup your files!


RE: Skin has Option to play video as Startup but it gets stuck.. - Rushil - 2021-10-01

(2021-09-30, 20:45)beatmasterrs Wrote:
(2021-09-30, 13:49)Rushil Wrote:
(2021-09-30, 11:34)Hitcher Wrote: Looks like it's stuck on Custom_Startup.xml button 9000.

xml:
<control type="button" id="9000">
    <include>HiddenButton</include>
    <onfocus>AlarmClock(Check1,SetFocus(9002),00:01,silent)</onfocus>
    <onfocus condition="!String.IsEmpty(Skin.String(StartupPlaylist)) + !Player.HasMedia">AlarmClock(PlayStartupVideo,PlayMedia($ESCINFO[Skin.String(StartupPlaylist)],1),00:00,silent,false)</onfocus>
    <onback>ReplaceWindow($INFO[System.StartupWindow])</onback>
    <onback>Stop</onback>
</control>

I checked the xml file and its the same so I think this isn't the code to fix something by replacing.. I hope BeatmasterRS finds the solution and post it here (or update the skin)

Also Automatic Theme changer script doesnt work, its missing (in extra addons section)

If you are familiar with editing files, you could please test something:

[open]

Custom_Startup.xml

[search]

xml:
<control type="button" id="9000">
    <include>HiddenButton</include>
    <onfocus>AlarmClock(Check1,SetFocus(9002),00:01,silent)</onfocus>
    <onfocus condition="!String.IsEmpty(Skin.String(StartupPlaylist)) + !Player.HasMedia">AlarmClock(PlayStartupVideo,PlayMedia($ESCINFO[Skin.String(StartupPlaylist)],1),00:00,silent,false)</onfocus>
    <onback>ReplaceWindow($INFO[System.StartupWindow])</onback>
    <onback>Stop</onback>
</control>

[replace]

xml:
<control type="button" id="9000">
    <include>HiddenButton</include>
    <onfocus>ReplaceWindow($INFO[System.StartupWindow])</onfocus>
    <onfocus condition="!String.IsEmpty(Skin.String(StartupPlaylist)) + !Player.HasMedia">PlayMedia($ESCINFO[Skin.String(StartupPlaylist)])</onfocus>
</control>

after that, save the file and restart kodi for changes to take effect. Please backup your files!

I Edited the file and this is the video of startup..
PLEASE READ the Description of the video (IMPORTANT)
Startup Video



RE: Skin has Option to play video as Startup but it gets stuck.. - beatmasterrs - 2021-10-01

Quote:00:12 - It shows Homescreen for a second before Intro (NEED FIX).

It was just a try, but unfortunately it does not work well. And tbh, i have tested on my 2 test systems and cannot yet reproduce the original issue. Maybe someone has an idea?

Quote:00:13 - Intro Started (IT WAS A BIT LAGGY THIS TIME - NEED FIX).

Of course, this can happen if the system is slow: the video resolution/bitrate is too high, or many widgets are loaded in the background and/or the number of items in the widgets is too high.

Quote:00:26 - Intro Repeated (NEED FIX).

Unfortunately, I cannot reproduce this issue, nor is there any indication in the code that the video should be played 2x....

Quote:01:23 - Script.arctic.zephyr.mod.autocolors is unclickable (Repo link missing ig..), other Addons are working. (NEED FIX)

For that this repo is required: https://github.com/beatmasterRS/repository.matrix.beatmasterRS/blob/main/repository.matrix.beatmasterrs-1.1.zip?raw=true
 
Quote:I tried installing Astral addon (https://github.com/semool/script.arct...) but It didn't worked..

Please be more specific, thanks.

Quote:01:47 - The scroll animation is already kinda laggy as I said in my first reply.

System could be too slow...

Quote:bonus : If you make the corners of the widget little rounded then It will look extremely nice.. THANKS MATE!!.

If you take a closer look, then you can see, that there allready are rounded corners Wink

Thanks Smile


RE: Skin has Option to play video as Startup but it gets stuck.. - Rushil - 2021-10-02

(2021-10-01, 10:50)beatmasterrs Wrote: It was just a try, but unfortunately it does not work well. And tbh, i have tested on my 2 test systems and cannot yet reproduce the original issue. Maybe someone has an idea?
Hello Again! Sorry for stretching this issue so much but I noticed that Kodi crashes sometimes now.. it crashes right before the Intro starts. Its not very often but I am mentioning it since it maybe an issue with custom_startup.xml indeed.
 
Quote:Of course, this can happen if the system is slow: the video resolution/bitrate is too high, or many widgets are loaded in the background and/or the number of items in the widgets is too high.
I compressed the video from 39mb to 8mb and now it doesn't lags however it still repeats 2 times like before..
 
Quote:For that this repo is required: https://github.com/beatmasterRS/repository.matrix.beatmasterRS/blob/main/repository.matrix.beatmasterrs-1.1.zip?raw=true
Yay! it worked!.. but you need to fix this option in the skin so that others can also use it with no issue. Can there be option to replace default with darkest in the automatic change?
 
Quote:System could be too slow...
It is Sony A8H (2020).. to be specific
 
Quote:If you take a closer look, then you can see, that there already are rounded corners
Yes I have seen that but it I was asking if it could be more rounded (now it looks like 5px, I want it to be 20px+.. saying in terms of photoshopping a png file).. I will Do it myself if you could tell me where I can find that image and if it will not mess up the shadows.

 Smile Thanks!


RE: Skin has Option to play video as Startup but it gets stuck.. - beatmasterrs - 2021-10-02

(2021-10-02, 12:55)Rushil Wrote:
(2021-10-01, 10:50)beatmasterrs Wrote: It was just a try, but unfortunately it does not work well. And tbh, i have tested on my 2 test systems and cannot yet reproduce the original issue. Maybe someone has an idea?
Hello Again! Sorry for stretching this issue so much but I noticed that Kodi crashes sometimes now.. it crashes right before the Intro starts. Its not very often but I am mentioning it since it maybe an issue with custom_startup.xml indeed.
 
Quote:Of course, this can happen if the system is slow: the video resolution/bitrate is too high, or many widgets are loaded in the background and/or the number of items in the widgets is too high.
I compressed the video from 39mb to 8mb and now it doesn't lags however it still repeats 2 times like before..
 

Yay! it worked!.. but you need to fix this option in the skin so that others can also use it with no issue. Can there be option to replace default with darkest in the automatic change? 

As long as the addon is not in the offizial repo, there is nothing to fix. Maybe @semool whant's to submit his addon? Smile The setting for trying to keep theme/color/font is only available, if there is no startupimage/video set. There will be no additional setting.
 
Quote:Yes I have seen that but it I was asking if it could be more rounded (now it looks like 5px, I want it to be 20px+.. saying in terms of photoshopping a png file).. I will Do it myself if you could tell me where I can find that image and if it will not mess up the shadows.

There will be no changes, related to this, sorry.
Quote:Hello Again! Sorry for stretching this issue so much but I noticed that Kodi crashes sometimes now.. it crashes right before the Intro starts. Its not very often but I am mentioning it since it maybe an issue with custom_startup.xml indeed.

Please test version 1.1.56 an let me know, if that fixes the issue: https://github.com/beatmasterRS/skin.arctic.zephyr.mod/archive/refs/tags/1.1.56.zip