Kodi Community Forum
Release script.embuary.helper - a skin helper service / widgets alternative - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+---- Forum: Skin helper addons (https://forum.kodi.tv/forumdisplay.php?fid=300)
+---- Thread: Release script.embuary.helper - a skin helper service / widgets alternative (/showthread.php?tid=345471)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28


RE: script.embuary.helper - a skin helper service / widgets alternative - roidy - 2020-07-26

@sualfred 

plugin://script.embuary.helper/?info=getnextup

How can I sort the returned list of episodes so the most recently viewed tv show's next episode is at the start of the list?

Is it even possible? At the moment the order seems to be random. Thanks


Problem fixed..... Don't know why but a reinstall of Kodi fixed the issue.


RE: script.embuary.helper - a skin helper service / widgets alternative - bsoriano - 2020-07-30

(2020-01-19, 17:40)bsoriano Wrote: @sualfred , would you consider adding a details_by_episode function to the script so that you can get tv show details info as window properties when what you have focused is an episode? I want to open an episode info window using the videodb:// path for the episode in a custom search dialog, but there is no ListItem info label for the tv show dbid, so I cannot build the full path videodb://tvshows/titles/<tv show dbid>/<season>/<episode dbid>?season=<season>&tvshowid=<tv show dbid>.  I have the season and the episode dbid, but not the tv show dbid.  Thanks for considering my request.

Regards,

Bart
@sualfred , did you have a chance to look at whether you would consider adding this to the script? I know that it is no longer necessary with Matrix, but I will not be upgrading to Matrix any time soon, and the majority of my users are still on Leia also.  Thanks for considering this request.

Regards,

Bart


RE: script.embuary.helper - a skin helper service / widgets alternative - Rijs43 - 2020-07-30

Hi @sualfred..

Are there any plans to have Trakt lists as well available rather than tmdb only (i.e. trending, popular, similar, watched, trending list etc?)

Thanks


RE: script.embuary.helper - a skin helper service / widgets alternative - manfeed - 2020-08-28

Just wanted to say that this script never ceases to amaze me, I keep using it more and more in the new version of my skin since it works great, thanks for sharing it with us!


RE: script.embuary.helper - a skin helper service / widgets alternative - Wanilton - 2020-10-11

@sualfred 

Matrix alpha 2, windows 64, if i request artist discography in info artist, I have this error, it´s  possible to fix, please.

Code:
2020-10-10 20:56:40.739 T:30852   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: 'PluginContent' object has no attribute 'discography'
                                                   Traceback (most recent call last):
                                                     File "C:\Program Files\Kodi\addons\script.embuary.helper\plugin.py", line 70, in <module>
                                                       Main()
                                                     File "C:\Program Files\Kodi\addons\script.embuary.helper\plugin.py", line 21, in __init__
                                                       self.getinfos()
                                                     File "C:\Program Files\Kodi\addons\script.embuary.helper\plugin.py", line 54, in getinfos
                                                       self._execute(plugin,self.info)
                                                     File "C:\Program Files\Kodi\addons\script.embuary.helper\plugin.py", line 62, in _execute
                                                       getattr(plugin,action.lower())()
                                                   AttributeError: 'PluginContent' object has no attribute 'discography'
                                                   -->End of Python script error report<--
                                                   



RE: script.embuary.helper - a skin helper service / widgets alternative - sualfred - 2020-10-11

This script has no audio widget stuff at all, because you can achieve nearly everything with xsp paths.


RE: script.embuary.helper - a skin helper service / widgets alternative - realcopacetic - 2020-10-13

Hi @sualfred how are you?

I'm using your script in my Copacetic skin primarily for calculations, but I wanted to give the widgets a go for a bit of added functionality over what I managed to figure out with xsp paths... In this case, it's providing mixed content results in a widget for the actor currently selected in the videoinfo dialog cast list.

Apologies if this is basic, but I'm having an issue with errors as a result of unsupported characters, but I think I've escaped the string correctly. Not sure where I'm going wrong...

<content target="videos" limit="20" sortby="year" sortorder="descending">plugin://script.embuary.helper/?info=getitemsbyactor&label='$ESCINFO[Container(50).ListItem.Label]'</content>

2020-10-12 23:13:01.557 T:123145370693632   ERROR: GetDirectory - Error getting plugin://script.embuary.helper/?info=getitemsbyactor&label='"Saïd Taghmaoui"'

xml:

2020-10-12 23:13:01.363 T:123145352458240   DEBUG: CAddonSettings[script.embuary.helper]: loading setting definitions
2020-10-12 23:13:01.363 T:123145352458240   DEBUG: CAddonSettings[script.embuary.helper]: trying to load setting definitions from old format...
2020-10-12 23:13:01.415 T:123145352458240   DEBUG: [ script.embuary.helper ] Items by actor Saïd Taghmaoui: No shows found
2020-10-12 23:13:01.419 T:123145352458240   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.UnicodeDecodeError'>
                                            Error Contents: 'ascii' codec can't decode byte 0xc3 in position 2: ordinal not in range(128)
                                            Traceback (most recent call last):
                                              File "/Users/ahekmat/Library/Application Support/Kodi/addons/script.embuary.helper/plugin.py", line 76, in <module>
                                                Main()
                                              File "/Users/ahekmat/Library/Application Support/Kodi/addons/script.embuary.helper/plugin.py", line 27, in __init__
                                                self.getinfos()
                                              File "/Users/ahekmat/Library/Application Support/Kodi/addons/script.embuary.helper/plugin.py", line 60, in getinfos
                                                self._execute(plugin,self.info)
                                              File "/Users/ahekmat/Library/Application Support/Kodi/addons/script.embuary.helper/plugin.py", line 68, in _execute
                                                getattr(plugin,action.lower())()
                                              File "/Users/ahekmat/Library/Application Support/Kodi/addons/script.embuary.helper/resources/lib/plugin_content.py", line 810, in getitemsbyactor
                                                plugin_category = ADDON.getLocalizedString(32030) + ' ' + actor
                                            UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 2: ordinal not in range(128)
                                            -->End of Python script error report<--



RE: script.embuary.helper - a skin helper service / widgets alternative - sualfred - 2020-10-13

Is this in Leia or Matrix?


RE: script.embuary.helper - a skin helper service / widgets alternative - olivier1984 - 2020-10-13

Hello from france, thank you for this awsome Skin, it is the better for me. 

i have a question:
I created menus for films, series, etc., associated with my sources.

Is it possible to have like native folder "Collections", the display of miniature covers contained in the folder "Collections"?

see my attachment

thank you!!!

Image


RE: script.embuary.helper - a skin helper service / widgets alternative - roidy - 2020-10-17

@sualfred  I'm running into the same problem as @"QuizKid" errors with names containing unicode characters.

Code:
2020-10-17 18:01:32.010 T:3922719616   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.UnicodeDecodeError'>
                                            Error Contents: 'ascii' codec can't decode byte 0xc3 in position 4: ordinal not in range(128)
                                            Traceback (most recent call last):
                                              File "/storage/.kodi/addons/script.embuary.helper/plugin.py", line 76, in <module>
                                                Main()
                                              File "/storage/.kodi/addons/script.embuary.helper/plugin.py", line 27, in __init__
                                                self.getinfos()
                                              File "/storage/.kodi/addons/script.embuary.helper/plugin.py", line 60, in getinfos
                                                self._execute(plugin,self.info)
                                              File "/storage/.kodi/addons/script.embuary.helper/plugin.py", line 68, in _execute
                                                getattr(plugin,action.lower())()
                                              File "/storage/.kodi/addons/script.embuary.helper/resources/lib/plugin_content.py", line 810, in getitemsbyactor
                                                plugin_category = ADDON.getLocalizedString(32030) + ' ' + actor
                                            UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 4: ordinal not in range(128)
                                            -->End of Python script error report<--
2020-10-17 18:01:32.309 T:3867976576   ERROR: GetDirectory - Error getting plugin://script.embuary.helper/?info=getitemsbyactor&label='"Synnøve Macody Lund"'

This is under Kodi 18.8 and Embuary helper version 1.4.8


RE: script.embuary.helper - a skin helper service / widgets alternative - sualfred - 2020-10-17

Does it happen on Matrix, too?


RE: script.embuary.helper - a skin helper service / widgets alternative - roidy - 2020-10-17

(2020-10-17, 19:31)sualfred Wrote: Does it happen on Matrix, too?
Let me quickly set up a matrix install and test.....


RE: script.embuary.helper - a skin helper service / widgets alternative - roidy - 2020-10-17

@sualfred Just tested under Matrix and it works fine. Embuary helper version is listed as 2.0.6


RE: script.embuary.helper - a skin helper service / widgets alternative - sualfred - 2020-10-17

k, thx. I'll take a look at it as soon as I have some time.


RE: script.embuary.helper - a skin helper service / widgets alternative - realcopacetic - 2020-10-18

(2020-10-17, 20:41)sualfred Wrote: k, thx. I'll take a look at it as soon as I have some time.

Thanks!