2021-06-23, 12:03
2021-06-23, 12:31
(2021-06-23, 12:03)shkop Wrote:(2021-06-23, 11:14)redglory Wrote:(2021-06-23, 11:10)shkop Wrote: hello, why I have nothing in the ALL categories?Can you put your debug log (wiki) ?
debug log
Code:
2021-06-23 11:42:25.144 T:7252 WARNING <general>: script.skin.helper.widgets --> Exception details: Type: AttributeError Value: 'Media' object has no attribute 'forgenre' Traceback: Traceback (most recent call last):
File "C:\Users\rital\AppData\Roaming\Kodi\addons\script.skin.helper.widgets\resources\lib\main.py", line 177, in show_widget_listing
all_items = getattr(media_class, action)()
AttributeError: 'Media' object has no attribute 'forgenre'
The problem points to script.skin.helper.widgets module on the show_widget_listing method.
media_type "Media" doesn't have action "forgenre" implemented. This action is only present on the "movies" and "tvshows" media types.
Either you change your widget to define as movies or tvshows media types or this script must be updated.
2021-06-23, 15:01
(2021-06-23, 12:31)redglory Wrote:how do i change my widget as movie media type?(2021-06-23, 12:03)shkop Wrote:(2021-06-23, 11:14)redglory Wrote: Can you put your debug log (wiki) ?
debug log
Code:2021-06-23 11:42:25.144 T:7252 WARNING <general>: script.skin.helper.widgets --> Exception details: Type: AttributeError Value: 'Media' object has no attribute 'forgenre' Traceback: Traceback (most recent call last):
File "C:\Users\rital\AppData\Roaming\Kodi\addons\script.skin.helper.widgets\resources\lib\main.py", line 177, in show_widget_listing
all_items = getattr(media_class, action)()
AttributeError: 'Media' object has no attribute 'forgenre'
The problem points to script.skin.helper.widgets module on the show_widget_listing method.
media_type "Media" doesn't have action "forgenre" implemented. This action is only present on the "movies" and "tvshows" media types.
Either you change your widget to define as movies or tvshows media types or this script must be updated.
this script is already in last version
2021-06-23, 16:01
(2020-07-24, 19:43)AchillesPunks Wrote:I suppose this only applies to Home widgets (where you have movies and tvshows mixed).(2020-07-24, 19:41)3500 Wrote:did you download the skin from the github yet?(2020-07-24, 17:08)AchillesPunks Wrote: I will have to look into this. Generally would like to keep everything as light as possible. This is already a heavy skin. I may at sometime make some changes and create a smaller landscape, but no promises.
from first i tried, from BINGIE OG, this skin heavy is because addons script.skin.helper.service and script.module.cherrypy
but almost that make it heavy is script.skin.helper.service
i must downgrade it the version of those 2 addons to make the skin is light movement for scrolling and changing every menu that i press
You can edit Custom_1117_Categories_Hub.xml and replace mediatype=media to mediatype=movies
Code:
<!-- GENRES -->
<include content="Category_Widget" condition="String.IsEqual(Window(Home).Property(category),drama)">
<param name="content" value="plugin://script.skin.helper.widgets/?action=forgenre&mediatype=media&genre=drama&limit=100&reload=$INFO[Window(Home).Property(widgetreload)]" />
<param name="sortBy" value="dateadded" />
<param name="sortOrder" value="descending" />
</include>
<include content="Category_Widget" condition="String.IsEqual(Window(Home).Property(category),crime)">
<param name="content" value="plugin://script.skin.helper.widgets/?action=forgenre&mediatype=media&genre=crime&limit=100&reload=$INFO[Window(Home).Property(widgetreload)]" />
<param name="sortBy" value="dateadded" />
<param name="sortOrder" value="descending" />
</include>
<include content="Category_Widget" condition="String.IsEqual(Window(Home).Property(category),thriller)">
<param name="content" value="plugin://script.skin.helper.widgets/?action=forgenre&mediatype=media&genre=thriller&limit=100&reload=$INFO[Window(Home).Property(widgetreload)]" />
<param name="sortBy" value="dateadded" />
<param name="sortOrder" value="descending" />
</include>
<include content="Category_Widget" condition="String.IsEqual(Window(Home).Property(category),action)">
<param name="content" value="plugin://script.skin.helper.widgets/?action=forgenre&mediatype=media&genre=action&limit=100&reload=$INFO[Window(Home).Property(widgetreload)]" />
<param name="sortBy" value="dateadded" />
<param name="sortOrder" value="descending" />
</include>
<include content="Category_Widget" condition="String.IsEqual(Window(Home).Property(category),comedy)">
<param name="content" value="plugin://script.skin.helper.widgets/?action=forgenre&mediatype=media&genre=comedy&limit=100&reload=$INFO[Window(Home).Property(widgetreload)]" />
<param name="sortBy" value="dateadded" />
<param name="sortOrder" value="descending" />
</include>
<include content="Category_Widget" condition="String.IsEqual(Window(Home).Property(category),adventure)">
<param name="content" value="plugin://script.skin.helper.widgets/?action=forgenre&mediatype=media&genre=adventure&limit=100&reload=$INFO[Window(Home).Property(widgetreload)]" />
<param name="sortBy" value="dateadded" />
<param name="sortOrder" value="descending" />
</include>
<include content="Category_Widget" condition="String.IsEqual(Window(Home).Property(category),western)">
<param name="content" value="plugin://script.skin.helper.widgets/?action=forgenre&mediatype=media&genre=western&limit=100&reload=$INFO[Window(Home).Property(widgetreload)]" />
<param name="sortBy" value="dateadded" />
<param name="sortOrder" value="descending" />
</include>
<include content="Category_Widget" condition="String.IsEqual(Window(Home).Property(category),horror)">
<param name="content" value="plugin://script.skin.helper.widgets/?action=forgenre&mediatype=media&genre=horror&limit=100&reload=$INFO[Window(Home).Property(widgetreload)]" />
<param name="sortBy" value="dateadded" />
<param name="sortOrder" value="descending" />
</include>
<include content="Category_Widget" condition="String.IsEqual(Window(Home).Property(category),science fiction)">
<param name="content" value="plugin://script.skin.helper.widgets/?action=forgenre&mediatype=media&genre=science fiction&limit=100&reload=$INFO[Window(Home).Property(widgetreload)]" />
<param name="sortBy" value="dateadded" />
<param name="sortOrder" value="descending" />
</include>
<include content="Category_Widget" condition="String.IsEqual(Window(Home).Property(category),family)">
<param name="content" value="plugin://script.skin.helper.widgets/?action=forgenre&mediatype=media&genre=family&limit=100&reload=$INFO[Window(Home).Property(widgetreload)]" />
<param name="sortBy" value="dateadded" />
<param name="sortOrder" value="descending" />
</include>
<include content="Category_Widget" condition="String.IsEqual(Window(Home).Property(category),animation)">
<param name="content" value="plugin://script.skin.helper.widgets/?action=forgenre&mediatype=media&genre=animation&limit=100&reload=$INFO[Window(Home).Property(widgetreload)]" />
<param name="sortBy" value="dateadded" />
<param name="sortOrder" value="descending" />
</include>
<include content="Category_Widget" condition="String.IsEqual(Window(Home).Property(category),mystery)">
<param name="content" value="plugin://script.skin.helper.widgets/?action=forgenre&mediatype=media&genre=mystery&limit=100&reload=$INFO[Window(Home).Property(widgetreload)]" />
<param name="sortBy" value="dateadded" />
<param name="sortOrder" value="descending" />
</include>
<include content="Category_Widget" condition="String.IsEqual(Window(Home).Property(category),romance)">
<param name="content" value="plugin://script.skin.helper.widgets/?action=forgenre&mediatype=media&genre=romance&limit=100&reload=$INFO[Window(Home).Property(widgetreload)]" />
<param name="sortBy" value="dateadded" />
<param name="sortOrder" value="descending" />
</include>
<include content="Category_Widget" condition="String.IsEqual(Window(Home).Property(category),documentary)">
<param name="content" value="plugin://script.skin.helper.widgets/?action=forgenre&mediatype=media&genre=documentary&limit=100&reload=$INFO[Window(Home).Property(widgetreload)]" />
<param name="sortBy" value="dateadded" />
<param name="sortOrder" value="descending" />
</include>
<include content="Category_Widget" condition="String.IsEqual(Window(Home).Property(category),fantasy)">
<param name="content" value="plugin://script.skin.helper.widgets/?action=forgenre&mediatype=media&genre=fantasy&limit=100&reload=$INFO[Window(Home).Property(widgetreload)]" />
<param name="sortBy" value="dateadded" />
<param name="sortOrder" value="descending" />
</include>
and on IncludesBingie.xml
Code:
<value condition="String.Contains(Container.FolderPath, genre) | String.StartsWith(Container.FolderPath, plugin://script.skin.helper.widgets/?action=forgenre&mediatype=media)">$INFO[Window(Home).Property(ListItem.Label)]</value>
I would recommend for you to try or ask for changes on script.skin.helper.widgets to include forgenre for mediatype=media.
2021-06-23, 16:18
(2021-06-23, 16:01)redglory Wrote:Just updated the GitHub with the changes to Custom_1117_Categories_Hub.xml. Not sure what needs to be changed for skin helper... I don't understand Py when I look at it...(2020-07-24, 19:43)AchillesPunks Wrote:I suppose this only applies to Home widgets (where you have movies and tvshows mixed).(2020-07-24, 19:41)3500 Wrote: from first i tried, from BINGIE OG, this skin heavy is because addons script.skin.helper.service and script.module.cherrypydid you download the skin from the github yet?
but almost that make it heavy is script.skin.helper.service
i must downgrade it the version of those 2 addons to make the skin is light movement for scrolling and changing every menu that i press
You can edit Custom_1117_Categories_Hub.xml and replace mediatype=media to mediatype=movies
Code:<!-- GENRES -->
<include content="Category_Widget" condition="String.IsEqual(Window(Home).Property(category),drama)">
<param name="content" value="plugin://script.skin.helper.widgets/?action=forgenre&mediatype=media&genre=drama&limit=100&reload=$INFO[Window(Home).Property(widgetreload)]" />
<param name="sortBy" value="dateadded" />
<param name="sortOrder" value="descending" />
</include>
<include content="Category_Widget" condition="String.IsEqual(Window(Home).Property(category),crime)">
<param name="content" value="plugin://script.skin.helper.widgets/?action=forgenre&mediatype=media&genre=crime&limit=100&reload=$INFO[Window(Home).Property(widgetreload)]" />
<param name="sortBy" value="dateadded" />
<param name="sortOrder" value="descending" />
</include>
<include content="Category_Widget" condition="String.IsEqual(Window(Home).Property(category),thriller)">
<param name="content" value="plugin://script.skin.helper.widgets/?action=forgenre&mediatype=media&genre=thriller&limit=100&reload=$INFO[Window(Home).Property(widgetreload)]" />
<param name="sortBy" value="dateadded" />
<param name="sortOrder" value="descending" />
</include>
<include content="Category_Widget" condition="String.IsEqual(Window(Home).Property(category),action)">
<param name="content" value="plugin://script.skin.helper.widgets/?action=forgenre&mediatype=media&genre=action&limit=100&reload=$INFO[Window(Home).Property(widgetreload)]" />
<param name="sortBy" value="dateadded" />
<param name="sortOrder" value="descending" />
</include>
<include content="Category_Widget" condition="String.IsEqual(Window(Home).Property(category),comedy)">
<param name="content" value="plugin://script.skin.helper.widgets/?action=forgenre&mediatype=media&genre=comedy&limit=100&reload=$INFO[Window(Home).Property(widgetreload)]" />
<param name="sortBy" value="dateadded" />
<param name="sortOrder" value="descending" />
</include>
<include content="Category_Widget" condition="String.IsEqual(Window(Home).Property(category),adventure)">
<param name="content" value="plugin://script.skin.helper.widgets/?action=forgenre&mediatype=media&genre=adventure&limit=100&reload=$INFO[Window(Home).Property(widgetreload)]" />
<param name="sortBy" value="dateadded" />
<param name="sortOrder" value="descending" />
</include>
<include content="Category_Widget" condition="String.IsEqual(Window(Home).Property(category),western)">
<param name="content" value="plugin://script.skin.helper.widgets/?action=forgenre&mediatype=media&genre=western&limit=100&reload=$INFO[Window(Home).Property(widgetreload)]" />
<param name="sortBy" value="dateadded" />
<param name="sortOrder" value="descending" />
</include>
<include content="Category_Widget" condition="String.IsEqual(Window(Home).Property(category),horror)">
<param name="content" value="plugin://script.skin.helper.widgets/?action=forgenre&mediatype=media&genre=horror&limit=100&reload=$INFO[Window(Home).Property(widgetreload)]" />
<param name="sortBy" value="dateadded" />
<param name="sortOrder" value="descending" />
</include>
<include content="Category_Widget" condition="String.IsEqual(Window(Home).Property(category),science fiction)">
<param name="content" value="plugin://script.skin.helper.widgets/?action=forgenre&mediatype=media&genre=science fiction&limit=100&reload=$INFO[Window(Home).Property(widgetreload)]" />
<param name="sortBy" value="dateadded" />
<param name="sortOrder" value="descending" />
</include>
<include content="Category_Widget" condition="String.IsEqual(Window(Home).Property(category),family)">
<param name="content" value="plugin://script.skin.helper.widgets/?action=forgenre&mediatype=media&genre=family&limit=100&reload=$INFO[Window(Home).Property(widgetreload)]" />
<param name="sortBy" value="dateadded" />
<param name="sortOrder" value="descending" />
</include>
<include content="Category_Widget" condition="String.IsEqual(Window(Home).Property(category),animation)">
<param name="content" value="plugin://script.skin.helper.widgets/?action=forgenre&mediatype=media&genre=animation&limit=100&reload=$INFO[Window(Home).Property(widgetreload)]" />
<param name="sortBy" value="dateadded" />
<param name="sortOrder" value="descending" />
</include>
<include content="Category_Widget" condition="String.IsEqual(Window(Home).Property(category),mystery)">
<param name="content" value="plugin://script.skin.helper.widgets/?action=forgenre&mediatype=media&genre=mystery&limit=100&reload=$INFO[Window(Home).Property(widgetreload)]" />
<param name="sortBy" value="dateadded" />
<param name="sortOrder" value="descending" />
</include>
<include content="Category_Widget" condition="String.IsEqual(Window(Home).Property(category),romance)">
<param name="content" value="plugin://script.skin.helper.widgets/?action=forgenre&mediatype=media&genre=romance&limit=100&reload=$INFO[Window(Home).Property(widgetreload)]" />
<param name="sortBy" value="dateadded" />
<param name="sortOrder" value="descending" />
</include>
<include content="Category_Widget" condition="String.IsEqual(Window(Home).Property(category),documentary)">
<param name="content" value="plugin://script.skin.helper.widgets/?action=forgenre&mediatype=media&genre=documentary&limit=100&reload=$INFO[Window(Home).Property(widgetreload)]" />
<param name="sortBy" value="dateadded" />
<param name="sortOrder" value="descending" />
</include>
<include content="Category_Widget" condition="String.IsEqual(Window(Home).Property(category),fantasy)">
<param name="content" value="plugin://script.skin.helper.widgets/?action=forgenre&mediatype=media&genre=fantasy&limit=100&reload=$INFO[Window(Home).Property(widgetreload)]" />
<param name="sortBy" value="dateadded" />
<param name="sortOrder" value="descending" />
</include>
and on IncludesBingie.xml
Code:<value condition="String.Contains(Container.FolderPath, genre) | String.StartsWith(Container.FolderPath, plugin://script.skin.helper.widgets/?action=forgenre&mediatype=media)">$INFO[Window(Home).Property(ListItem.Label)]</value>
I would recommend for you to try or ask for changes on script.skin.helper.widgets to include forgenre for mediatype=media.
2021-06-23, 16:26
(2021-06-23, 16:01)redglory Wrote: [quote="AchillesPunks" pid='2965459' dateline='1595612628']
[quote="3500" pid='2965458' dateline='1595612465']
and on IncludesBingie.xml
Code:<value condition="String.Contains(Container.FolderPath, genre) | String.StartsWith(Container.FolderPath, plugin://script.skin.helper.widgets/?action=forgenre&mediatype=media)">$INFO[Window(Home).Property(ListItem.Label)]</value>
Why do you suggest I change mediatype=media to mediatype=movies in includesbingie?
2021-06-23, 16:31
(2021-06-23, 16:01)redglory Wrote:(2020-07-24, 19:43)AchillesPunks Wrote:(2020-07-24, 19:41)3500 Wrote: from first i tried, from BINGIE OG, this skin heavy is because addons script.skin.helper.service and script.module.cherrypydid you download the skin from the github yet?
but almost that make it heavy is script.skin.helper.service
i must downgrade it the version of those 2 addons to make the skin is light movement for scrolling and changing every menu that i press
I would recommend for you to try or ask for changes on script.skin.helper.widgets to include forgenre for mediatype=media.
@Angelinas do you think you can look into this for us?
2021-06-23, 16:44
(2021-06-23, 16:26)AchillesPunks Wrote:(2021-06-23, 16:01)redglory Wrote:(2020-07-24, 19:43)AchillesPunks Wrote:(2020-07-24, 19:41)3500 Wrote: and on IncludesBingie.xml
Code:<value condition="String.Contains(Container.FolderPath, genre) | String.StartsWith(Container.FolderPath, plugin://script.skin.helper.widgets/?action=forgenre&mediatype=media)">$INFO[Window(Home).Property(ListItem.Label)]</value>
Why do you suggest I change mediatype=media to mediatype=movies in includesbingie?
Just because you'll never get any results based on the fact that there is no forgenre method for the media mediatype. that entry will return empty results.
2021-06-23, 17:10
with the latest GitHub update it works, but I still don't have anything in the "critically aclamaid movies" categories; "popular"; "new release";
2021-06-23, 21:41
(2021-06-23, 16:31)AchillesPunks Wrote: @Angelinas do you think you can look into this for us?I will try to add forgenre.... for media
2021-06-23, 21:50
Apologies if this has been requested and already turned down, but when using a custom home spotlight item, could there be the option to change the sorting on it like how widgets have? ie random?
2021-06-23, 22:26
(2021-06-23, 16:44)redglory Wrote:Yes but changing only the Custom_1117_Categories_Hub.xml fixes the genre widget. Similar on home is already working. I'm not sure what that one is doing.(2021-06-23, 16:26)AchillesPunks Wrote:(2021-06-23, 16:01)redglory Wrote:
Just because you'll never get any results based on the fact that there is no forgenre method for the media mediatype. that entry will return empty results.
2021-06-23, 22:27
(2021-06-23, 21:41)Angelinas Wrote:Thanks(2021-06-23, 16:31)AchillesPunks Wrote: @Angelinas do you think you can look into this for us?I will try to add forgenre.... for media
2021-06-23, 22:29
(2021-06-23, 21:50)Logs22 Wrote: Apologies if this has been requested and already turned down, but when using a custom home spotlight item, could there be the option to change the sorting on it like how widgets have? ie random?Not at this time.
2021-06-23, 22:31
(2021-06-21, 18:52)fsurfer Wrote:https://forum.kodi.tv/showthread.php?tid...pid3044712(2021-06-21, 17:42)Blackysb Wrote:(2021-06-21, 14:43)matke Wrote: Wait, are you talking about episodes, seasons or a complete tv show? It only doesn’t work for episodes but in episodes it shows thumb images (landscape) not posters.https://i.imgur.com/DekphxV.png
https://i.imgur.com/h00KGNS.png
First image, no artwork, second image you can see the season poster. I've checked and all named ok. Images show up in other skins.
This is an area I am having difficulty with
Clearly im not the only one with the issue. Could someone tell me if this is a skin wide issue or a local one?