Apply custom filtering to dynamic content?
#60
Hi, i got a question may someone is able to solve, or show off my failure.

I used the 'xsp' method to show results, based on last focused cast item in dialogvideoinfo

The issue is, that when i use the method to dont show duplicate (exclude the 'video' which i am in) 
with
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        

which is
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"}

I didnt get accurate results, means, on some movies the container remains empty.
Here is an example ,with the Movie 'Burke and Hare' https://streamable.com/xy8rs

If i tried that with including duplicate of actual movie, all is fine and is 100% accurate.
using
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"}

EDIT:

Also tried exclude using 'ListItem.Label' instead of 'ListItem.[Title/TVShowTitle]' for Movies and TV Show Info Content and just TVShowTitle for Episode Info Content,with same results.
Skins |  Titan M O D   •   S W A N (WIP)
Reply


Messages In This Thread
RE: Apply custom filtering to dynamic content? - by mardukL - 2019-07-18, 14:45
Logout Mark Read Team Forum Stats Members Help
Apply custom filtering to dynamic content?0