添加更多BT日志打印
修复!刷BT指令无效的BUG BT下载支持过滤Enable字段
This commit is contained in:
@@ -44,6 +44,9 @@ public class BTDownloadManager implements ApplicationContextAware {
|
||||
AnimationData data = new AnimationData();
|
||||
Log.i("BT","启动BT检测,总数:"+list.size());
|
||||
for (BangumiItem item : list) {
|
||||
if(item.getEnable()==0){
|
||||
continue;
|
||||
}
|
||||
item.setAuthor(data.nameToValue(item.getAuthor(), true) + "");
|
||||
item.setCategories(data.nameToValue(item.getCategories(), false) + "");
|
||||
String url = getRSSUrl(item);
|
||||
@@ -92,7 +95,11 @@ public class BTDownloadManager implements ApplicationContextAware {
|
||||
} else {
|
||||
onSend(null, item);
|
||||
}
|
||||
}else{
|
||||
Log.i("BT","添加到下载器失败:"+item.getString("title"));
|
||||
}
|
||||
}else{
|
||||
Log.i("BT","已下载过:"+item.getString("title"));
|
||||
}
|
||||
}
|
||||
}else{
|
||||
|
||||
Reference in New Issue
Block a user