Hi all
I’m looking for a way to display pictures (png/jpg) in a table in a angularJS open source remote.
The remote: https://github.com/gabriel-detassigny/kodi-angular
There’s lists created already in the remote and I wanted to use the code structure to create a simular list for pictures.
However, I can’t seem to find the proper methods on: http://kodi.wiki/view/JSON-RPC_API/v6 to do the trick.
There’s some working code for Music, taken from the remote:
artists: function(artistNum, size) {
var deferred = $q.defer();
KodiWS.send('AudioLibrary.GetArtists', { properties: ['genre'], sort: { method: 'artist' }, limits: { start: artistNum, end: artistNum + size }}).then(function(data) {
deferred.resolve(data);
});
return deferred.promise;
},
However, I’m not finding any examples for Pictures here: http://kodi.wiki/view/JSON-RPC_API/Examp…libraries.
Or anywhere else… Tried to achieve something simular via the http://kodi.wiki/view/JSON-RPC_API/v6#Fi…ileDetails method, but alas, no success.
So yeah, if anyone could offer any pointers here, that would be just great.
Thanks in advance.