aboutsummaryrefslogtreecommitdiff
path: root/addons/webinterface.default
diff options
context:
space:
mode:
authormontellese <montellese@xbmc.org>2011-10-12 17:47:30 +0200
committermontellese <montellese@xbmc.org>2011-10-12 17:49:32 +0200
commita41620d296c7772b055e98923e32ef3e1e703ba5 (patch)
tree7a8cf26875f64b9d00c8128f447a3cf108c64ee4 /addons/webinterface.default
parent43e19a932ae400395823f34fb1801aed7ea48326 (diff)
webinterface: fix AudioLibrary.GetAlbums call (fixes #12072)
Diffstat (limited to 'addons/webinterface.default')
-rwxr-xr-xaddons/webinterface.default/js/MediaLibrary.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/webinterface.default/js/MediaLibrary.js b/addons/webinterface.default/js/MediaLibrary.js
index 81ba4fa0aa..bed6cc53fa 100755
--- a/addons/webinterface.default/js/MediaLibrary.js
+++ b/addons/webinterface.default/js/MediaLibrary.js
@@ -265,7 +265,7 @@ MediaLibrary.prototype = {
libraryContainer.attr('id', 'libraryContainer')
.addClass('contentContainer');
$('#content').append(libraryContainer);
- jQuery.post(JSON_RPC + '?GetAlbums', '{"jsonrpc": "2.0", "method": "AudioLibrary.GetAlbums", "params": { "limits": { "start": 0 }, "properties": ["description", "theme", "mood", "style", "type", "label", "artist", "genre", "rating", "title", "year", "thumbnail"], "sort": { "method": "artist" } }, "id": 1}', jQuery.proxy(function(data) {
+ jQuery.post(JSON_RPC + '?GetAlbums', '{"jsonrpc": "2.0", "method": "AudioLibrary.GetAlbums", "params": { "limits": { "start": 0 }, "properties": ["description", "theme", "mood", "style", "type", "albumlabel", "artist", "genre", "rating", "title", "year", "thumbnail"], "sort": { "method": "artist" } }, "id": 1}', jQuery.proxy(function(data) {
if (data && data.result && data.result.albums) {
this.albumList = data.result.albums;
$.each($(this.albumList), jQuery.proxy(function(i, item) {