2012-08-20, 11:22
(2012-08-19, 23:51)Montellese Wrote:I've just created a pull request which contains the following two changes: a new method Files.GetFileDetails and the possibility to retrieve resume point, lastplayed and playcount for video items that are not part of the video library (no special action required by the client apart from specifying "media": "video" as a parameter).(2012-08-16, 23:45)Mizaki Wrote: Am I right in saying there is no way to retrieve the resume point of a file? I use GetFooDetails for movies and TV but am I missing a way to do it when the file is played and not in the library?Yup that's probably not possible. I'll have a look if I can add an extra call to retrieve that information if requested by the client.
(2012-08-19, 23:51)Montellese Wrote:I've extended the PR with the possibility to specify a single filter rule directly in the "filter" object. Furthermore it is now also possible to use the extended filtering in AudioLibrary.GetArtists.(2012-08-19, 01:21)Mizaki Wrote: Sorry if I've missed something but can I not do a smart playlist type filter with a single item? For example:Seems like I forgot about the case of a single filter where it is a bit of a pain to just define an "and" or an "or" property containing the actual rule. Will see that I can get it in. Thanks for the hint.
Code:{"jsonrpc": "2.0", "method": "VideoLibrary.GetMovies", "params": { "filter": { "field": "title", "operator": "startswith", "value": "A" } }, "id": 1}