Quantcast
Channel: Kodi Community Forum - All Forums
Viewing all articles
Browse latest Browse all 84005

lastplayed in VideoLibrary.GetMovie* always empty

$
0
0
Dear XBMC-Community,
I am trying to write an addon to create a list of watched movies.
I am getting all movies via JSON-RPC with
Code:
{"jsonrpc": "2.0", "method": "VideoLibrary.GetMovies", "params": {"properties": ["title", "imdbnumber", "lastplayed", "playcount"], "sort": { "order": "ascending", "method": "title" }, "filter": {"field": "playcount", "operator": "greaterthan", "value": "0"}}, "id": 1}
The result is a long list of movies like
Code:
... {"imdbnumber":"tt0322259","label":"2 Fast 2 Furious","lastplayed":"","movieid":2892,"playcount":1,"title":"2 Fast 2 Furious"} ...
My problem is, that the field "lastplayed" is always empty, even if there is a timestamp in the mysql-table myvideos75/files ("2012-10-12 10:57:51.0").
The query with VideoLibrary.GetMovieDetails also gives the empty lastplayed-entry
Code:
{"jsonrpc": "2.0", "method": "VideoLibrary.GetMovieDetails", "params": {"movieid": 2892, "properties": ["imdbnumber", "lastplayed"]}, "id": 1}

does someone have a clue? Huh
thanks

Viewing all articles
Browse latest Browse all 84005

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>