2012-08-29, 15:17
And an annoying bug with GetArtists, the total field is not correctly filed it's value is set to end.
So no way to know the number or artists.
Seems from code that it misses a few lines :
should be
And even if I don't use limits on GetGenre from code too I suppose limits are not applied to them.
So no way to know the number or artists.
Seems from code that it misses a few lines :
Code:
HandleFileItemList("artistid", false, "artists", items, param, result, false);
should be
Code:
int size = items.Size();
if (items.HasProperty("total") && items.GetProperty("total").asInteger() > size)
size = (int)items.GetProperty("total").asInteger();
HandleFileItemList("artistid", true, "artists", items, parameterObject, result, size, false);
And even if I don't use limits on GetGenre from code too I suppose limits are not applied to them.