add filter to only get active downloads on service startup

This commit is contained in:
Akinwale Ariwodola 2020-01-20 18:55:02 +01:00
parent 6aa44d8a9e
commit ae9364ad7e
2 changed files with 3 additions and 3 deletions

2
app

@ -1 +1 @@
Subproject commit df3a9587c04a7730338d835b2ecad066855ca1af Subproject commit 32c1770c34ecc5e80c5542aeb64ff11312704cea

View file

@ -212,8 +212,8 @@ public class LbrynetService extends PythonService {
if (streamManagerReady) { if (streamManagerReady) {
Map<String, Object> params = new HashMap<String, Object>(); Map<String, Object> params = new HashMap<String, Object>();
params.put("page_size", 100); params.put("page_size", 100);
params.put("reverse", true); params.put("status", "stopped");
params.put("sort", "added_on"); params.put("comparison", "ne");
String fileList = Utils.sdkCall("file_list", params); String fileList = Utils.sdkCall("file_list", params);
if (fileList != null) { if (fileList != null) {