From 0d7672930292cb06f43b443034a55b857c72fece Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Fri, 5 Feb 2016 14:30:32 -0600 Subject: [PATCH] Fix tag contains to tag is --- resources/lib/entrypoint.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/lib/entrypoint.py b/resources/lib/entrypoint.py index e31a889e..c30a2384 100644 --- a/resources/lib/entrypoint.py +++ b/resources/lib/entrypoint.py @@ -706,7 +706,7 @@ def getNextUpEpisodes(tagname, limit): 'filter': { 'and': [ {'operator': "true", 'field': "inprogress", 'value': ""}, - {'operator': "contains", 'field': "tag", 'value': "%s" % tagname} + {'operator': "is", 'field': "tag", 'value': "%s" % tagname} ]}, 'properties': ['title', 'studio', 'mpaa', 'file', 'art'] } @@ -804,7 +804,7 @@ def getInProgressEpisodes(tagname, limit): 'filter': { 'and': [ {'operator': "true", 'field': "inprogress", 'value': ""}, - {'operator': "contains", 'field': "tag", 'value': "%s" % tagname} + {'operator': "is", 'field': "tag", 'value': "%s" % tagname} ]}, 'properties': ['title', 'studio', 'mpaa', 'file', 'art'] } @@ -872,7 +872,7 @@ def getRecentEpisodes(tagname, limit): 'params': { 'sort': {'order': "descending", 'method': "dateadded"}, - 'filter': {'operator': "contains", 'field': "tag", 'value': "%s" % tagname}, + 'filter': {'operator': "is", 'field': "tag", 'value': "%s" % tagname}, 'properties': ["title","sorttitle"] } }