Skip to content
Browse files

webinterface: fix AudioLibrary.GetAlbums call (fixes #12072)

  • Loading branch information...
1 parent 43e19a9 commit a41620d296c7772b055e98923e32ef3e1e703ba5 @Montellese Montellese committed Oct 12, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 addons/webinterface.default/js/MediaLibrary.js
View
2 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) {

0 comments on commit a41620d

Please sign in to comment.
Something went wrong with that request. Please try again.