mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 10:16:11 +00:00
Fix tag contains to tag is
This commit is contained in:
parent
5f2e378c13
commit
0d76729302
1 changed files with 3 additions and 3 deletions
|
@ -706,7 +706,7 @@ def getNextUpEpisodes(tagname, limit):
|
||||||
'filter': {
|
'filter': {
|
||||||
'and': [
|
'and': [
|
||||||
{'operator': "true", 'field': "inprogress", 'value': ""},
|
{'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']
|
'properties': ['title', 'studio', 'mpaa', 'file', 'art']
|
||||||
}
|
}
|
||||||
|
@ -804,7 +804,7 @@ def getInProgressEpisodes(tagname, limit):
|
||||||
'filter': {
|
'filter': {
|
||||||
'and': [
|
'and': [
|
||||||
{'operator': "true", 'field': "inprogress", 'value': ""},
|
{'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']
|
'properties': ['title', 'studio', 'mpaa', 'file', 'art']
|
||||||
}
|
}
|
||||||
|
@ -872,7 +872,7 @@ def getRecentEpisodes(tagname, limit):
|
||||||
'params': {
|
'params': {
|
||||||
|
|
||||||
'sort': {'order': "descending", 'method': "dateadded"},
|
'sort': {'order': "descending", 'method': "dateadded"},
|
||||||
'filter': {'operator': "contains", 'field': "tag", 'value': "%s" % tagname},
|
'filter': {'operator': "is", 'field': "tag", 'value': "%s" % tagname},
|
||||||
'properties': ["title","sorttitle"]
|
'properties': ["title","sorttitle"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue