2022-10-12, 00:53
(2022-10-11, 23:58)kcook_shield Wrote: I am trying to get a call to work by searching on the "path" for movies.
...
However, I need to have the path include a question mark (which does exist for all Movies in my case), so exactly the same as above, but with additional character at the end of the path:
http://127.0.0.1:8080/jsonrpc?request={
"jsonrpc": "2.0",
"method": "VideoLibrary.GetMovies",
"params": {
"filter": {"field": "path", "operator": "startswith", "value": "plugin://plugin.video.plexkodiconnect.movies/?"},
"sort": { "order": "ascending", "method": "label" },
"properties": ["title"]
},
"id": 1
}
This gives no error, but also no results, which is incorrect, as all Movie paths do contain the question mark.
I've tried many variations on encoding the question mark, but I just can't seem to get the expected matches.
Any hints here?
Which operating system and file system are you using? A majority of file systems consider a question mark to be a wildcard character, so I'm surprised at your question. With HTTP paths, a question mark normally denotes that a variable and its value are about to follow. Have you tried using "%3F" (sans quotes)?