2011-10-16, 12:22
Montellese Wrote:I have already done some work on this which will allow to call something like VideoLibrary.SetMovieDetails() and provide some fields and values which should be changed. It's not completely ready yet as we don't know yet how to make certain that nothing goes sideways if an application executes a call that will set invalid data, but this is something we want to make available soon after Eden has been released.Great, I look forward to seeing this.
Montellese Wrote:"Custom" db queries through jsonrpc have been requested a few times already. The problem is that XBMC itself doesn't really support this (apart from browsing by year, director etc). So json-rpc would have to hack around the lack in xbmc core which isn't a very good solution IMO.Yeah, we are moving to a fully cached system in TU, which should hopefully make TU act closer to the way XBMC expects, this should reduce or eliminate our major need for this, the real reason we currently use this is when we want to play an item and we know:
- That is is in the db
- The imdb id, title & year (We currently only support this for movies)
But what I'm trying to say is that future versions of TU will probably not need custom queries, but it would be helpful to do basic filtering of requests like, getMovies.