2019-03-22, 10:19
SH is slow because of the caching + live scraping stuff incl. the metadatautils module. And the service monitor does the rest. That's too much of everything.
xml:videodb://movies/titles/?xsp={"rules":{"and":[{"field":"actor","operator":"is","value":["IslaFisher"]}]},"type":"movies"}
plugin://script.embuary.helper?info=getcast&type=movie&title='$ESCINFO[ListItem.Title]'
plugin://script.embuary.helper?info=getcast&type=movie&dbid=$INFO[ListItem.DBID]
(2019-04-06, 23:37)manfeed Wrote: [ -> ]Thanks sualfred! I was becoming mad trying different options to make it work to no avail...
(2019-04-08, 14:41)mardukL Wrote: [ -> ](2019-04-06, 23:37)manfeed Wrote: [ -> ]Thanks sualfred! I was becoming mad trying different options to make it work to no avail...
Hi, im unsure if script is faster, but cast is huge "content" to check
I Use a xsp for that, no script
here is the playlist
xml:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="movies">
<name>Cast Test</name>
<rule field="actor" operator="contains">
<value>$INFO[Skin.String(SearchTerm)]</value>
</rule>
<limit>250</limit>
<group>actors</group>
</smartplaylist>
Here the content for panel
<content target="videos">special://skin/playlists/video/casttest.xsp</content>
Needs time to go trough but workin
@sualfred
... im usure if
{"group":{"actors"}
will work with the json api, but maybe you can test
https://kodi.wiki/view/Smart_playlists#Grouping
(2019-04-08, 15:31)cartman.dos Wrote: [ -> ](2019-04-08, 14:41)mardukL Wrote: [ -> ](2019-04-06, 23:37)manfeed Wrote: [ -> ]Thanks sualfred! I was becoming mad trying different options to make it work to no avail...
Hi, im unsure if script is faster, but cast is huge "content" to check
I Use a xsp for that, no script
here is the playlist
xml:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="movies">
<name>Cast Test</name>
<rule field="actor" operator="contains">
<value>$INFO[Skin.String(SearchTerm)]</value>
</rule>
<limit>250</limit>
<group>actors</group>
</smartplaylist>
Here the content for panel
<content target="videos">special://skin/playlists/video/casttest.xsp</content>
Needs time to go trough but workin
@sualfred
... im usure if
{"group":{"actors"}
will work with the json api, but maybe you can test
https://kodi.wiki/view/Smart_playlists#Grouping
the infolabel inside the xsp is actually working?
that could be pretty powerful...and easy to use...
(2019-04-19, 19:16)sualfred Wrote: [ -> ]
Honestly... do what you want ¯\_(ツ)_/¯ We are here for sharing.
(2019-04-19, 17:21)bsoriano Wrote: [ -> ]@jurialmunkey , @sualfred , would you guys be OK with me adapting the code in your skins that does this awesome search without addons for the Amber for Leia skin? I think it would be a wonderful addition which will keep the skin being really fast. I would of course provide the credit to you.Yes please do! The more skins with great features, the better Kodi is.
Thanks in advance.
Regards,
Bart
xml:<!-- MOVIE -->
%7B%22order%22%3A%7B%22direction%22%3A%22ascending%22%2C%22ignorefolders%22%3A0%2C%22method%22%3A%22sorttitle%22%7D%2C%22rules%22%3A%7B%22and%22%3A%5B%7B%22field%22%3A%22actor%22%2C%22operator%22%3A%22contains%22%2C%22value%22%3A%5B%22$INFO[Container(8601).ListItem.Label]%22%5D%7D%2C%7B%22field%22%3A%22title%22%2C%22operator%22%3A%22isnot%22%2C%22value%22%3A%5B%22$INFO[ListItem.Title]%22%5D%7D%5D%7D%2C%22type%22%3A%22movies%22%7D
!--TV SHOW -->
%7B%22order%22%3A%7B%22direction%22%3A%22ascending%22%2C%22ignorefolders%22%3A0%2C%22method%22%3A%22sorttitle%22%7D%2C%22rules%22%3A%7B%22and%22%3A%5B%7B%22field%22%3A%22actor%22%2C%22operator%22%3A%22contains%22%2C%22value%22%3A%5B%22$INFO[Container(8601).ListItem.Label]%22%5D%7D%2C%7B%22field%22%3A%22title%22%2C%22operator%22%3A%22isnot%22%2C%22value%22%3A%5B%22$INFO[ListItem.TVShowTitle]%22%5D%7D%5D%7D%2C%22type%22%3A%22tvshows%22%7D
xml:movie
{"order":{"direction":"ascending","ignorefolders":0,"method":"sorttitle"},"rules":{"and":[{"field":"actor","operator":"contains","value":["$INFO[Container(8601).ListItem.Label]"]},{"field":"title","operator":"isnot","value":["$INFO[ListItem.Title]"]}]},"type":"movies"}
tv show
{"order":{"direction":"ascending","ignorefolders":0,"method":"sorttitle"},"rules":{"and":[{"field":"actor","operator":"contains","value":["$INFO[Container(8601).ListItem.Label]"]},{"field":"title","operator":"isnot","value":["$INFO[ListItem.TVShowTitle]"]}]},"type":"tvshows"}
xml:<!-- MOVIE -->
%7B%22order%22%3A%7B%22direction%22%3A%22ascending%22%2C%22ignorefolders%22%3A0%2C%22method%22%3A%22sorttitle%22%7D%2C%22rules%22%3A%7B%22and%22%3A%5B%7B%22field%22%3A%22actor%22%2C%22operator%22%3A%22contains%22%2C%22value%22%3A%5B%22$INFO[Container(8601).ListItem.Label]%22%5D%7D%5D%7D%2C%22type%22%3A%22movies%22%7D
<!-- SHOW -->
%7B%22order%22%3A%7B%22direction%22%3A%22ascending%22%2C%22ignorefolders%22%3A0%2C%22method%22%3A%22sorttitle%22%7D%2C%22rules%22%3A%7B%22and%22%3A%5B%7B%22field%22%3A%22actor%22%2C%22operator%22%3A%22contains%22%2C%22value%22%3A%5B%22$INFO[Container(8601).ListItem.Label]%22%5D%7D%5D%7D%2C%22type%22%3A%22tvshows%22%7D
xml:movie
{"order":{"direction":"ascending","ignorefolders":0,"method":"sorttitle"},"rules":{"and":[{"field":"actor","operator":"contains","value":["$INFO[Container(8601).ListItem.Label]"]}]},"type":"movies"}
show
{"order":{"direction":"ascending","ignorefolders":0,"method":"sorttitle"},"rules":{"and":[{"field":"actor","operator":"contains","value":["$INFO[Container(8601).ListItem.Label]"]}]},"type":"tvshows"}