2011-11-11, 11:54
OK I checked the code.
The lowest possible ID of a database item is 1 so Library.Id works the way it should.
works perfectly fine for me. It returns the last added movie i.e. the movie with the highest "movieid". The SQL query runs "ORDER BY movieid DESC" so that should really be fine.
The lowest possible ID of a database item is 1 so Library.Id works the way it should.
Code:
{ "jsonrpc": "2.0", "method": "VideoLibrary.GetRecentlyAddedMovies", "params": { "limits": { "end": 1 } }, "id": 1 }