修复下载扫描未过滤开关的bug
This commit is contained in:
@@ -46,6 +46,9 @@ public class BTDownloadManager implements ApplicationContextAware {
|
||||
List<BangumiItem> list = bangumiService.getAllBangumi();
|
||||
AnimationData data = new AnimationData();
|
||||
Log.i("BT","启动BT检测,总数:"+list.size());
|
||||
for (BangumiItem item : list) {
|
||||
System.out.println("item.getTitle() = " + item.getTitle());
|
||||
}
|
||||
File path=new File(DownloadHomePath);
|
||||
if(!path.exists()){
|
||||
Log.i("BT","下载目录已离线,取消扫描");
|
||||
@@ -127,6 +130,8 @@ public class BTDownloadManager implements ApplicationContextAware {
|
||||
}
|
||||
|
||||
public boolean download(String title, String url) {
|
||||
if(true)
|
||||
return false;
|
||||
try {
|
||||
String exec = String.format("transmission-remote -n yutou:34864394 -w \"%sanim/%s\" -a \"%s\" "
|
||||
,DownloadHomePath
|
||||
|
||||
Reference in New Issue
Block a user