Merge pull request #98 from ZachMyers3/master
allow playlist query to follow preference limits
This commit is contained in:
commit
f96c6aa969
1 changed files with 1 additions and 2 deletions
|
|
@ -19,7 +19,6 @@ import java.util.List;
|
||||||
public class PlaylistUtil {
|
public class PlaylistUtil {
|
||||||
public static void getPlaylist(PlaylistItemQuery query, MediaCallback callback) {
|
public static void getPlaylist(PlaylistItemQuery query, MediaCallback callback) {
|
||||||
query.setUserId(App.getApiClient().getCurrentUserId());
|
query.setUserId(App.getApiClient().getCurrentUserId());
|
||||||
query.setLimit(100);
|
|
||||||
App.getApiClient().GetPlaylistItems(query, new Response<ItemsResult>() {
|
App.getApiClient().GetPlaylistItems(query, new Response<ItemsResult>() {
|
||||||
@Override
|
@Override
|
||||||
public void onResponse(ItemsResult result) {
|
public void onResponse(ItemsResult result) {
|
||||||
|
|
@ -97,4 +96,4 @@ public class PlaylistUtil {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue