Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
  • 1
  • 22
  • 23
  • 24(current)
  • 25
  • 26
  • 28
Release script.embuary.helper - a skin helper service / widgets alternative
Kodi's profile system is in a very bad shape and buggy. There's nothing I can do I guess.
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
(2020-04-28, 11:50)sualfred Wrote: Kodi's profile system is in a very bad shape and buggy. There's nothing I can do I guess.

Even if the 'freezing' is caused by the Helper Addon (script.embuary.helper) itself Huh?
May i spell something wrong.
So just to be sure ...

VIDEO PROOF - freeze JUST if the helper is enabled !!
https://streamable.com/k581yw

LOG
log:
2020-04-28 12:09:21.988 T:12000   ERROR: Previous line repeats 1899 times.
2020-04-28 12:08:51.204 T:1224  NOTICE: [ script.embuary.helper ] Service: Player monitor stopped
2020-04-28 12:08:51.204 T:1224  NOTICE: [ script.embuary.helper ] Service: Stopped
2020-04-28 12:09:06.266 T:14184   ERROR: CProfileManager: current profile index (2) is outside of the valid range (2)
2020-04-28 12:09:07.864 T:14184   ERROR: Previous line repeats 103 times.
2020-04-28 12:09:07.864 T:14184   ERROR: XFILE::CFile:Big Grinelete - Error deleting file C:\apps\Kodi Leia\portable_data\userdata\profiles\\addon_data\script.artwork.beef\processeditems.db
2020-04-28 12:09:07.864 T:14184   ERROR: XFILE::CFile:Big Grinelete - Error deleting file special://masterprofile/profiles//addon_data/script.artwork.beef/processeditems.db
2020-04-28 12:09:07.883 T:14184   ERROR: CProfileManager: current profile index (2) is outside of the valid range (2)
2020-04-28 12:09:21.988 T:12000   ERROR: Previous line repeats 1899 times.
2020-04-28 12:09:21.988 T:12000  NOTICE: [ script.embuary.helper ] Service: Started
2020-04-28 12:09:21.988 T:12000  NOTICE: [ script.embuary.helper ] Service: Player monitor started
2020-04-28 12:09:21.989 T:12000   ERROR: CProfileManager: current profile index (2) is outside of the valid range (2)

Reply
The helper does nothing with the profiles. It's a Kodi core thing. The service is correctly stopped and after 20s restarted because for whatever reason. That's not triggered by me.
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
@mardukL 

You can try the latest github version. It has a workaround removed to bypass issues with logins.
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
(2020-04-28, 12:45)sualfred Wrote: @mardukL 

You can try the latest github version. It has a workaround removed to bypass issues with logins.

Thanks, i will do .

I noticed, before testing - IF i disable service monitor within the script addon settings, i dint get a feeze.
Reply
(2020-04-28, 12:45)sualfred Wrote: @mardukL 

You can try the latest github version. It has a workaround removed to bypass issues with logins.

Tested -> https://github.com/sualfred/script.embua...67449c181c

Everything without issues now Big Grin

Thanks, for take look.
Reply
Grml. Ok. Anyway this function is not required for 18.7 and 19. Thanks for the report.
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
(2020-04-28, 13:00)sualfred Wrote: Grml. Ok. Anyway this function is not required for 18.7 and 19. Thanks for the report.

I have to thanks.

But just one additional Question.

I saw the thread here -> https://emby.media/community/index.php?/...ntry750277

So, is
xml:
<onload>Skin.SetBool(ReloadOnLogin)</onload>
  some 'deprecated' bool to let the helper force a ReloadSkin()

Could not find a matching KODI bool , also didnt noticed a difference using it or not.

Is there still some need to set them via skin?
Reply
Not required anymore with 19. And afaik it was or is going to be backported to 18.7
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
Dear @sualfred thanks for this great script.
I'm using your script as widget in artic.horizon skin. But i found that info about episode is not showed as other "Default Widget" for exemple, "recently episode added". check the image. It is possible show the same label as "default widget"?
I've talked with @jurialmunkey and said me that in this case is the addon which has to be modified. Could you tell me which part of the addon i have to mod to adapt to seasonXepisode?
Thanks! Regards.
Image
Reply
Try the github version. Should be changed now.
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
@sualfred

Using Matrix nightly (05.13.2019), appear error, it´s possible to fix, please.

Code:
020-05-13 23:06:07.530 T:10692   ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                   Error Type: <class 'AttributeError'>
                                                   Error Contents: 'PlayerMonitor' object has no attribute 'get_nextitem'
                                                   Traceback (most recent call last):
                                                     File "C:\Program Files\Kodi\addons\script.embuary.helper\resources\lib\player_monitor.py", line 70, in onNotification
                                                       self.get_nextitem(clear=True)
                                                   AttributeError: 'PlayerMonitor' object has no attribute 'get_nextitem'
                                                   -->End of Python script error report<--
MediaBrazil forum Website - Youtube Channel
MQ9-1.6.0.29 - 09.15.2023 - Aeon MQ Skin Team
MarcosQui Website Donate and support us.
Reply
Thx. My fault. Incomplete cleanup for Matrix.
PR for the repo is pending in a few minutes.

Edit:
PR merged. Update available in the next mirror cycle.
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
@sualfred 

Running on NVIDIA SHIELD with Android 7.0.0 API level 24, kernel: Linux ARM 32-bit version 3.18.24_hi3798cv2x

Received one log with an error when using the script in Android, with Kodi 19, any info about, missing lib, how solve, do you know?
Code:
                                                   ImportError: dlopen failed: library "./_imaging.cpython-37-x86_64-linux-gnu.so" not found
                                                   -->End of Python script error report<--

PS: Found the answer, solved today

https://github.com/xbmc/xbmc/pull/17890
MediaBrazil forum Website - Youtube Channel
MQ9-1.6.0.29 - 09.15.2023 - Aeon MQ Skin Team
MarcosQui Website Donate and support us.
Reply
Sualfred,

I am using the following as a hack to show the number of addon updates pending but the code has a minor problem.

Code:
<include name="AddonUpdated">
       <content target="addonbrowser">addons://outdated/</content>
</include>

Code:
        <!-- Hack to get number of pending updates -->
        <!-- Use $INFO[Container(12345).NumItems] for number of updates -->
        <control type="list" id="12345">
            <left>-100</left>
            <top>-100</top>
            <width>1</width>
            <height>1</height>
            <itemlayout/>
            <focusedlayout/>
            <include>AddonUpdated</include>
        </control>

Now it works fine, except it also counts the "Update All" entry in the count . So if there is one addon to update the count returned is two. While its not the end of the world, it does set off my OCD.

I thought of using an URL encoded content string might be the way to go, but can't figure out if this is possible for non media content and how to code the string if it is. Could you please
offer any comments on if possible and what I need to include in the string if it is.

Many thanks,
Wyrm (AppTV)
Reply
  • 1
  • 22
  • 23
  • 24(current)
  • 25
  • 26
  • 28

Logout Mark Read Team Forum Stats Members Help
script.embuary.helper - a skin helper service / widgets alternative3