2020-04-28, 11:50
2020-04-28, 12:13
(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 ?
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:elete - 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:elete - 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)
2020-04-28, 12:41
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.
2020-04-28, 12:45
@mardukL
You can try the latest github version. It has a workaround removed to bypass issues with logins.
You can try the latest github version. It has a workaround removed to bypass issues with logins.
2020-04-28, 12:49
2020-04-28, 12:54
(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
Thanks, for take look.
2020-04-28, 13:00
Grml. Ok. Anyway this function is not required for 18.7 and 19. Thanks for the report.
2020-04-28, 13:18
(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
some 'deprecated' bool to let the helper force a ReloadSkin()xml:<onload>Skin.SetBool(ReloadOnLogin)</onload>
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?
2020-04-28, 13:25
Not required anymore with 19. And afaik it was or is going to be backported to 18.7
2020-05-03, 21:24
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.
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.
2020-05-05, 21:05
Try the github version. Should be changed now.
2020-05-14, 14:54
@sualfred
Using Matrix nightly (05.13.2019), appear error, it´s possible to fix, please.
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<--
2020-05-14, 15:09
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.
PR for the repo is pending in a few minutes.
Edit:
PR merged. Update available in the next mirror cycle.
2020-05-20, 14:33
@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?
PS: Found the answer, solved today
https://github.com/xbmc/xbmc/pull/17890
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
2020-07-11, 17:24
Sualfred,
I am using the following as a hack to show the number of addon updates pending but the code has a minor problem.
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)
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)